/* ============================================================
   BSCABINET — style.css
   업종: 뷰티샵세면대장시공
   PRIMARY: #6B4C8A  ACCENT: #B5517C  SECONDARY: #F8F4FC
   ============================================================ */

/* ============================================================
   1. CSS Custom Properties
   ============================================================ */
:root {
  --primary:        #6B4C8A;
  --primary-dark:   #4E3466;
  --primary-light:  #9B7ABE;
  --secondary:      #F8F4FC;
  --accent:         #B5517C;
  --accent-dark:    #8F3D5F;
  --bg:             #ffffff;
  --bg-cream:       #FDF9FF;
  --bg-sand:        #F8F4FC;
  --bg-beige:       #F2EEF7;
  --text-dark:      #1A1025;
  --text-body:      #3D2D4E;
  --text-light:     #7A6A8A;
  --border:         rgba(107,76,138,.12);
  --radius:         0px;
  --shadow-sm:      0 2px 8px rgba(107,76,138,.06);
  --shadow:         0 4px 24px rgba(107,76,138,.10);
  --shadow-lg:      0 8px 48px rgba(107,76,138,.16);
  --transition:     all .35s cubic-bezier(.4,0,.2,1);
  --font:           'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
  --font-display:   'Pretendard', -apple-system, sans-serif;
  --max-w:          1100px;
  --header-h:       64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

ul, ol {
  list-style: none;
}

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

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

/* ============================================================
   3. Scroll Progress Bar
   ============================================================ */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 9999;
  width: 0%;
  transition: width .1s linear;
}

/* ============================================================
   4. Layout
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.container-sm {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section {
  padding-block: clamp(3rem,8vw,6rem);
}

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

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

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

.section-head {
  margin-bottom: clamp(2rem,5vw,3.5rem);
}

.section-head--center {
  text-align: center;
}

.kicker {
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: block;
  margin-bottom: .5rem;
  font-family: var(--font);
}

.section-title {
  font-size: clamp(1.6rem,4vw,2.4rem);
  font-family: var(--font-display);
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  margin-bottom: .75rem;
}

.section-desc {
  font-size: clamp(.95rem,2vw,1.05rem);
  color: var(--text-light);
  max-width: 560px;
}

.section-head--center .section-desc {
  margin-inline: auto;
}

/* ============================================================
   5. Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: var(--primary);
  z-index: 200;
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.site-header.scrolled {
  background: #fff;
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: .9rem;
  flex-shrink: 0;
}

.logo-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  font-family: var(--font-display);
  transition: color .3s;
  line-height: 1.2;
}

.logo-sub {
  display: block;
  font-size: .65rem;
  font-weight: 500;
  opacity: .8;
  letter-spacing: .05em;
}

.site-header.scrolled .logo-name {
  color: var(--primary);
}

.gnb {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.gnb-link {
  padding: .5rem .8rem;
  font-size: .9rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  transition: var(--transition);
  position: relative;
}

.gnb-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: .8rem;
  right: .8rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .3s;
}

.gnb-link:hover {
  color: #fff;
}

.gnb-link:hover::after {
  transform: scaleX(1);
}

.site-header.scrolled .gnb-link {
  color: var(--text-body);
}

.site-header.scrolled .gnb-link:hover {
  color: var(--primary);
}

.gnb-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem 1.2rem;
  background: var(--accent);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
  transition: var(--transition);
  flex-shrink: 0;
}

.gnb-cta:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   6. Hamburger & Mobile Menu
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 301;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: var(--transition);
  transform-origin: center;
}

.site-header.scrolled .hamburger span {
  background: var(--primary);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  display: none;
  z-index: 299;
}

.mobile-overlay.show {
  display: block;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(300px, 80vw);
  height: 100vh;
  background: #fff;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  z-index: 300;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

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

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--primary);
}

.mobile-menu-logo {
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  font-family: var(--font-display);
}

.mobile-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-menu-list {
  flex: 1;
  padding: .5rem 0;
}

.mobile-menu-list li {
  border-bottom: 1px solid var(--border);
}

.mobile-link {
  display: block;
  padding: 1rem 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: .95rem;
  transition: background .2s;
}

.mobile-link:hover {
  background: var(--secondary);
  color: var(--primary);
}

.mobile-cta {
  display: block;
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 1rem 1.5rem;
  font-weight: 700;
  margin: 1rem;
  transition: background .2s;
}

.mobile-cta:hover {
  background: var(--accent-dark);
}

/* ============================================================
   7. Breadcrumb
   ============================================================ */
.breadcrumb-bar {
  border-bottom: 1px solid var(--border);
  padding: .75rem 0;
  background: var(--bg);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: .2rem .4rem;
  font-size: .82rem;
  color: var(--text-light);
}

.breadcrumb-list li {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.breadcrumb-list li + li::before {
  content: "/";
  color: var(--text-light);
  opacity: .5;
}

.breadcrumb-list a {
  color: var(--text-light);
  transition: color .2s;
}

.breadcrumb-list a:hover {
  color: var(--primary);
}

.breadcrumb-list li:last-child {
  color: var(--primary);
  font-weight: 600;
}

/* ============================================================
   8. Buttons
   ============================================================ */
.btn-primary,
.btn-outline,
.btn-secondary,
.btn-white,
.btn-cta-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: .95rem;
  padding: .9rem 2rem;
  transition: var(--transition);
  cursor: pointer;
  line-height: 1;
  border: 2px solid transparent;
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(181,81,124,.35);
}

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107,76,138,.25);
}

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

.btn-white:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-cta-main {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
}

.btn-cta-main:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(181,81,124,.4);
}

/* ============================================================
   9. Keyframe Animations
   ============================================================ */
@keyframes kenburns {
  0%   { transform: scale(1.07); }
  100% { transform: scale(1); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(181,81,124,.5); }
  70%  { box-shadow: 0 0 0 12px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   10. Hero Section
   ============================================================ */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenburns 5s ease forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.52) 0%, rgba(0,0,0,.08) 45%, transparent 72%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
  padding-block: 6rem 4rem;
  width: 100%;
  color: #fff;
}

.hero-eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 1rem;
  padding: .3rem .8rem;
  border: 1px solid rgba(155,122,190,.4);
}

.hero-title {
  font-size: clamp(2.2rem,7vw,5rem);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -.02em;
}

.hero-title em {
  font-style: normal;
  color: var(--primary-light);
}

.hero-desc {
  font-size: clamp(1rem,2vw,1.2rem);
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-note {
  font-size: .82rem;
  color: rgba(255,255,255,.55);
  margin-top: .5rem;
}


.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  z-index: 3;
  width: 0%;
  transition: width .1s linear;
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.trust-badge-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.2);
  font-size: .85rem;
  color: var(--primary-light);
  font-weight: 700;
  flex-shrink: 0;
}

.trust-badge-hl {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.trust-badge-cap {
  display: block;
  font-size: .75rem;
  color: rgba(255,255,255,.55);
  margin-top: .1rem;
}

/* Fade in up */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}

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

.fade-in-up:nth-child(2) { transition-delay: .1s; }
.fade-in-up:nth-child(3) { transition-delay: .2s; }
.fade-in-up:nth-child(4) { transition-delay: .3s; }
.fade-in-up:nth-child(5) { transition-delay: .4s; }

/* RV Reveal */
.rv {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}

.rv.in {
  opacity: 1;
  transform: translateY(0);
}

.rv:nth-child(2) { transition-delay: .1s; }
.rv:nth-child(3) { transition-delay: .2s; }
.rv:nth-child(4) { transition-delay: .3s; }
.rv:nth-child(5) { transition-delay: .4s; }
.rv:nth-child(6) { transition-delay: .5s; }

/* ============================================================
   11. Service Cards Section
   ============================================================ */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.svc-card {
  position: relative;
  overflow: hidden;
  height: 340px;
  transition: var(--transition);
  cursor: pointer;
}

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

.svc-card-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.svc-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}

.svc-card:hover .svc-card-bg img {
  transform: scale(1.05);
}

.svc-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,16,37,.85) 0%, rgba(26,16,37,.3) 50%, transparent 100%);
  z-index: 1;
}

.svc-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.5rem;
  color: #fff;
}

.svc-card-num {
  display: block;
  font-size: .75rem;
  letter-spacing: .12em;
  color: var(--primary-light);
  font-weight: 700;
  margin-bottom: .5rem;
  text-transform: uppercase;
}

.svc-card-title {
  font-size: clamp(1.1rem,2.5vw,1.3rem);
  font-weight: 700;
  font-family: var(--font-display);
  margin-bottom: .4rem;
  line-height: 1.3;
}

.svc-card-desc {
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  margin-bottom: .75rem;
}

.svc-card-arrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--primary-light);
  font-weight: 600;
  transition: gap .2s;
}

.svc-card:hover .svc-card-arrow {
  gap: .7rem;
}

/* ============================================================
   12. Trust Numbers Section
   ============================================================ */
.trust-section {
  background: var(--primary);
  color: #fff;
  padding-block: clamp(3rem,8vw,5rem);
}

.trust-section .kicker {
  color: var(--primary-light);
}

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

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.trust-item {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid rgba(255,255,255,.12);
  transition: var(--transition);
}

.trust-item:hover {
  background: rgba(255,255,255,.06);
  transform: translateY(-4px);
}

.trust-num {
  display: block;
  font-size: clamp(2.5rem,6vw,3.5rem);
  font-weight: 800;
  font-family: var(--font-display);
  color: #fff;
  line-height: 1;
}

.trust-suffix {
  font-size: clamp(1.2rem,3vw,1.8rem);
  font-weight: 700;
  color: var(--primary-light);
  margin-left: .1rem;
}

.trust-label {
  display: block;
  font-size: .88rem;
  color: rgba(255,255,255,.65);
  margin-top: .75rem;
  line-height: 1.4;
}

/* ============================================================
   13. FAQ Accordion
   ============================================================ */
.faq-section {
  background: var(--bg-cream);
}

.faq-list {
  max-width: 760px;
  margin-inline: auto;
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  cursor: pointer;
  gap: 1rem;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  color: var(--text-dark);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  transition: color .2s;
}

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

.faq-q-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.faq-icon {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .3s ease, background .2s;
  font-size: .8rem;
  color: var(--primary);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}

.faq-item.open .faq-a {
  max-height: 400px;
}

.faq-answer,
.faq-answer-inner {
  font-size: .95rem;
  color: var(--text-body);
  line-height: 1.8;
}

.faq-answer {
  padding: 0 0 1.2rem 2.5rem;
  font-size: .95rem;
  color: var(--text-body);
  line-height: 1.8;
}

/* ============================================================
   14. Regions Grid
   ============================================================ */

/* ============================================================
   15. NSEO Cards
   ============================================================ */
.nseo-section {
  background: var(--bg-beige);
}

.nseo-grid {
  display: grid;
  gap: 1rem;
}

.nseo-grid--row {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.nseo-card {
  position: relative;
  background: var(--bg-cream);
  border: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-dark);
  display: block;
  overflow: hidden;
}

.nseo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.nseo-card.is-main {
  border: 2px solid var(--accent);
}

.nseo-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.nseo-card-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

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

.nseo-card-body {
  padding: 1rem;
}

.nseo-card-title {
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-dark);
  margin-bottom: .3rem;
  line-height: 1.4;
}

.nseo-card-label {
  font-size: .85rem;
  color: var(--text-light);
}

.nseo-badge {
  position: absolute;
  top: .75rem;
  left: .75rem;
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .55rem;
  background: var(--primary);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.nseo-badge--main {
  background: var(--accent);
}

/* ============================================================
   16. Gallery Grid
   ============================================================ */
.gallery-section {
  background: var(--bg);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}

.gallery-filter-btn {
  padding: .45rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  background: #fff;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary-light);
}

.gallery-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.gallery-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.gallery-thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transform: scale(1);
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

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

.gallery-info {
  padding: 1rem;
}

.gallery-cat {
  font-size: .75rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  display: block;
  margin-bottom: .3rem;
  letter-spacing: .08em;
}

.gallery-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .4rem;
  color: var(--text-dark);
  line-height: 1.4;
}

.gallery-location {
  font-size: .85rem;
  color: var(--text-light);
  margin-bottom: .5rem;
  display: flex;
  align-items: center;
  gap: .3rem;
}

.gallery-more {
  font-size: .82rem;
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  transition: gap .2s;
}

.gallery-card:hover .gallery-more {
  gap: .55rem;
}

.empty-msg {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-light);
  font-size: 1rem;
}

/* ============================================================
   17. Portfolio Detail
   ============================================================ */
.detail-hero {
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.detail-hero-img {
  position: absolute;
  inset: 0;
}

.detail-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,16,37,.85) 0%, rgba(26,16,37,.4) 60%, transparent 100%);
  z-index: 1;
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  padding: 3rem 1.5rem;
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
  color: #fff;
}

.detail-hero-title {
  font-size: clamp(1.8rem,5vw,3rem);
  font-family: var(--font-display);
  color: #fff;
  margin-bottom: .75rem;
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-block: 2rem;
}

.compare-fig {
  margin: 0;
}

.compare-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.compare-img-wrap img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.compare-label {
  display: block;
  text-align: center;
  padding: .6rem;
  font-size: .82rem;
  font-weight: 700;
}

.compare-label-before {
  background: #f0f0f0;
  color: #555;
}

.compare-label-after {
  background: var(--primary);
  color: #fff;
}

.summary-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-block: 2rem;
}

.summary-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  text-align: center;
  background: var(--bg-cream);
}

.summary-label {
  display: block;
  font-size: .78rem;
  color: var(--text-light);
  margin-bottom: .5rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.summary-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.detail-proc-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-block: 1.5rem;
}

.detail-proc-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-cream);
  border: 1px solid var(--border);
}

.proc-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
  font-size: .9rem;
}

.proc-text {
  font-size: .95rem;
  color: var(--text-body);
  padding-top: .4rem;
  line-height: 1.6;
}

.detail-pagination {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.detail-page-link {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  max-width: 45%;
}

.detail-page-link:hover {
  border-color: var(--primary);
  background: var(--secondary);
}

.detail-page-prev {
  align-items: flex-start;
}

.detail-page-next {
  align-items: flex-end;
}

.detail-page-list {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1.2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  font-size: .9rem;
}

.detail-page-list:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.detail-page-dir {
  display: block;
  font-size: .75rem;
  color: var(--text-light);
  margin-bottom: .3rem;
}

.detail-page-title {
  display: block;
  font-weight: 700;
  font-size: .9rem;
  color: var(--text-dark);
  line-height: 1.4;
}

/* ============================================================
   18. Service Page Components
   ============================================================ */
.svc-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
}

.svc-hero-img {
  position: absolute;
  inset: 0;
}

.svc-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(78,52,102,.9) 0%, rgba(78,52,102,.5) 60%, rgba(78,52,102,.2) 100%);
  z-index: 1;
}

.svc-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 4rem 1.5rem;
  width: 100%;
  color: #fff;
}

.svc-hero-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 1.5rem;
}

.svc-hero-breadcrumb a {
  color: rgba(255,255,255,.65);
  transition: color .2s;
}

.svc-hero-breadcrumb a:hover {
  color: #fff;
}

.svc-hero-breadcrumb span {
  opacity: .45;
}

.svc-hero-kicker {
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary-light);
  font-weight: 700;
  display: block;
  margin-bottom: .75rem;
}

.svc-hero-title {
  font-size: clamp(1.8rem,5vw,3.2rem);
  font-family: var(--font-display);
  color: #fff;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.svc-hero-rule {
  width: 3rem;
  height: 3px;
  background: var(--accent);
  margin-block: 1.25rem;
  border: none;
}

.svc-hero-sub {
  font-size: clamp(.95rem,2vw,1.1rem);
  color: rgba(255,255,255,.8);
  max-width: 560px;
  line-height: 1.8;
}

/* Intro */
.intro-section {
  background: var(--bg);
}

.intro-block {
  max-width: 760px;
  margin-inline: auto;
}

.intro-accent-bar {
  width: 3rem;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1.5rem;
  border: none;
}

.intro-statement {
  padding: 2rem;
  border-left: 4px solid var(--accent);
  background: var(--bg-cream);
  margin-block: 2rem;
}

.intro-statement-text {
  font-size: clamp(1.1rem,2.5vw,1.4rem);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.6;
  font-family: var(--font-display);
}

/* Feature Cards */
.feat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.feat-card {
  padding: 1.5rem;
  border-top: 3px solid var(--accent);
  background: var(--bg-cream);
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  transition: var(--transition);
}

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

.feat-card-icon {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
  font-family: var(--font-display);
  line-height: 1;
}

.feat-card-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: .5rem;
  color: var(--text-dark);
}

.feat-card-desc {
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* Symptom Section */
.symp-section {
  background: var(--primary);
  color: #fff;
  padding-block: clamp(3rem,8vw,6rem);
}

.symp-kicker {
  color: var(--primary-light);
}

.symp-title {
  color: #fff;
}

.symp-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.symp-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.symp-icon {
  min-width: 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255,255,255,.15);
  font-size: .85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--primary-light);
  border: 1px solid rgba(255,255,255,.2);
}

.symp-head {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .3rem;
}

.symp-body {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
}

.intro-body-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.intro-body-para {
  font-size: .97rem;
  color: var(--text-body);
  line-height: 1.85;
}

.proc-content {
  flex: 1;
}

/* Process Section */
.process-section {
  background: var(--bg-cream);
}

.proc-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 680px;
  margin-inline: auto;
}

.proc-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.proc-step:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}

.proc-step .proc-num {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
}

.proc-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .3rem;
}

.proc-desc {
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* Method Cards */
.method-section {
  background: var(--bg);
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.method-card {
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  background: #fff;
}

.method-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.method-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--border);
}

.method-pros,
.method-cons {
  list-style: none;
  margin-top: .75rem;
}

.method-pros li,
.method-cons li {
  font-size: .9rem;
  color: var(--text-body);
  padding: .3rem 0 .3rem 1.4rem;
  position: relative;
  line-height: 1.5;
}

.method-pros li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .55rem;
  width: .6rem;
  height: .35rem;
  border-left: 2px solid #2A9D5C;
  border-bottom: 2px solid #2A9D5C;
  transform: rotate(-45deg);
}

.method-cons li::before {
  content: "\2014";
  position: absolute;
  left: 0;
  top: .3rem;
  color: var(--text-light);
  font-size: .85rem;
}

.method-pros-label,
.method-cons-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 1rem;
  margin-bottom: .25rem;
  color: var(--text-light);
}

/* Service Gallery */
.svc-gallery-section {
  background: var(--bg-beige);
}

.svc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.svc-gallery-item {
  overflow: hidden;
}

.svc-gallery-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.svc-gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.4,0,.2,1);
}

.svc-gallery-item:hover .svc-gallery-img img {
  transform: scale(1.05);
}

.svc-gallery-caption {
  padding: .6rem .75rem;
  font-size: .82rem;
  color: var(--text-light);
  background: #fff;
  border: 1px solid var(--border);
  border-top: none;
}

/* ============================================================
   19. Region Page Components
   ============================================================ */
.rg-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
}

.rg-hero-img {
  position: absolute;
  inset: 0;
}

.rg-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rg-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,16,37,.88) 0%, rgba(26,16,37,.5) 60%, rgba(26,16,37,.15) 100%);
  z-index: 1;
}

.rg-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 4rem 1.5rem;
  width: 100%;
  color: #fff;
}

.rg-hero-kicker {
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary-light);
  font-weight: 700;
  display: block;
  margin-bottom: .75rem;
}

.rg-hero-title {
  font-size: clamp(1.8rem,5vw,3.2rem);
  font-family: var(--font-display);
  color: #fff;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.rg-hero-sub {
  font-size: clamp(.95rem,2vw,1.1rem);
  color: rgba(255,255,255,.8);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.rg-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.rg-stat {
  text-align: left;
}

.rg-stat-value {
  display: block;
  font-size: clamp(1.6rem,4vw,2.2rem);
  font-weight: 800;
  font-family: var(--font-display);
  color: #fff;
  line-height: 1.1;
}

.rg-stat-label {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  margin-top: .2rem;
}

/* Region Why */
.rg-why-section {
  background: var(--bg-cream);
}

.rg-why-inner {
  max-width: 760px;
  margin-inline: auto;
}

.rg-why-label {
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  display: block;
  margin-bottom: .5rem;
}

.rg-why-title {
  font-size: clamp(1.4rem,3.5vw,2rem);
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.rg-why-body {
  font-size: .95rem;
  color: var(--text-body);
  line-height: 1.85;
}

/* Region Area */
.rg-area-section {
  background: var(--bg);
}

.rg-district-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.rg-district-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--bg-cream);
  transition: var(--transition);
}

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

.rg-district-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .5rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--accent);
}

.rg-district-desc {
  font-size: .88rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.rg-apt-group {
  margin-top: .75rem;
}

.rg-apt-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .4rem;
}

.rg-dong-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}

.rg-dong-tag {
  font-size: .78rem;
  padding: .2rem .55rem;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
  border: 1px solid var(--border);
}

/* Region Checklist */
.rg-checklist-section {
  background: var(--primary);
  color: #fff;
  padding-block: clamp(3rem,8vw,6rem);
}

.rg-checklist-inner {
  max-width: 680px;
  margin-inline: auto;
}

.rg-checklist-title {
  font-size: clamp(1.4rem,3.5vw,2rem);
  font-family: var(--font-display);
  color: #fff;
  font-weight: 800;
  margin-bottom: .75rem;
}

.rg-checklist-lead {
  color: rgba(255,255,255,.75);
  margin-bottom: 2rem;
  font-size: .95rem;
}

.rg-checklist-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rg-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  font-size: .95rem;
  color: rgba(255,255,255,.9);
  line-height: 1.6;
}

.rg-check-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: .8rem;
  flex-shrink: 0;
}

/* Region Related */
.rg-related-section {
  background: var(--bg-beige);
}

.rg-related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.rg-related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-dark);
  font-size: .9rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.rg-related-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ============================================================
   20. CTA Section
   ============================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
  background: var(--primary);
}

.cta-bg-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.65);
  z-index: 1;
}

.cta-body {
  flex: 1;
}

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

.cta-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-block: clamp(3rem,8vw,6rem);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.cta-title {
  font-size: clamp(1.8rem,5vw,3rem);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta-title em {
  font-style: normal;
  color: var(--accent);
}

.cta-desc {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.cta-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 600;
}

.cta-trust-item::before { content: none; }

.cta-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: .5rem;
  margin-bottom: 2rem;
}

.cta-step {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.8);
  font-size: .88rem;
}

.cta-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  background: var(--accent);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
}

.cta-step-text {
  font-weight: 600;
}

.cta-step-arrow {
  color: rgba(255,255,255,.4);
  font-size: .85rem;
}

.cta-btn-wrap {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ============================================================
   21. Footer
   ============================================================ */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.7);
}

.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding-block: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.footer-logo-text {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1.2;
}

.footer-tagline {
  color: var(--primary-light);
  font-size: .85rem;
  line-height: 1.6;
}

.footer-address {
  font-style: normal;
  font-size: .82rem;
  line-height: 1.8;
  color: rgba(255,255,255,.55);
}

.footer-hours {
  color: rgba(255,255,255,.5);
  font-size: .78rem;
  line-height: 1.7;
}

.footer-nav-title {
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .75rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.footer-nav ul li a {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  transition: color .2s;
  text-decoration: none;
}

.footer-nav ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 1.5rem;
  font-size: .78rem;
  text-align: center;
  color: rgba(255,255,255,.4);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.footer-bottom a {
  color: rgba(255,255,255,.55);
  transition: color .2s;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ============================================================
   22. Floating CTA + Back to Top
   ============================================================ */
.floating-cta {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(181,81,124,.4);
  text-decoration: none;
  animation: pulse 2s infinite;
  transition: transform .2s;
  font-size: 1.3rem;
}

.floating-cta:hover {
  animation: none;
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(181,81,124,.6);
}

.back-to-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 100;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  color: var(--primary);
  font-size: 1rem;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* ============================================================
   23. Page Hero (small)
   ============================================================ */
.page-hero {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42,30,53,.72);
  z-index: 1;
}

.page-hero-sm {
  padding-block: 4rem;
}

.page-hero-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
  text-align: center;
  color: #fff;
  position: relative;
  z-index: 2;
}

.page-hero-kicker {
  font-size: .78rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary-light);
  font-weight: 700;
  display: block;
  margin-bottom: .75rem;
}

.page-title {
  font-size: clamp(1.8rem,5vw,3rem);
  font-family: var(--font-display);
  color: #fff;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: .75rem;
}

.page-desc {
  color: rgba(255,255,255,.75);
  font-size: clamp(.9rem,2vw,1rem);
  max-width: 520px;
  margin-inline: auto;
}

/* ============================================================
   24. Consult Page
   ============================================================ */
.consult-section {
  background: var(--bg);
}

.consult-intro {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3rem;
}

.consult-intro-text {
  font-size: clamp(.95rem,2vw,1.05rem);
  color: var(--text-body);
  line-height: 1.8;
}

.consult-cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 420px;
  margin-inline: auto;
}

.btn-consult {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-sms {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-sms:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(181,81,124,.3);
}

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

.btn-tel:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(107,76,138,.25);
}

.btn-consult-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255,255,255,.2);
  flex-shrink: 0;
  font-size: 1.1rem;
}

.btn-tel .btn-consult-icon {
  background: var(--secondary);
}

.btn-consult-text {
  flex: 1;
  text-align: left;
}

.btn-consult-label {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  opacity: .75;
  line-height: 1.2;
  margin-bottom: .15rem;
}

.btn-consult-val {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
}

.consult-guide {
  max-width: 560px;
  margin-inline: auto;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--bg-cream);
  border: 1px solid var(--border);
}

.consult-guide-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--accent);
}

.consult-guide-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.consult-guide-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.6;
}

.guide-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  background: var(--accent);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: .1rem;
}

.consult-info-box {
  max-width: 560px;
  margin-inline: auto;
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: #fff;
}

.consult-info-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .5rem 1.5rem;
  font-size: .9rem;
}

.consult-info-dl dt {
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.consult-info-dl dd {
  color: var(--text-body);
}

/* ============================================================
   25. Sitemap
   ============================================================ */
.sitemap-section {
  background: var(--bg);
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}

.sitemap-group {
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: var(--bg-cream);
}

.sitemap-group-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--accent);
  margin-bottom: .75rem;
}

.sitemap-list {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.sitemap-item a {
  font-size: .9rem;
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: .4rem;
  transition: color .2s;
  text-decoration: none;
  padding: .25rem 0;
}

.sitemap-item a::before {
  content: '';
  display: inline-block;
  width: .4rem;
  height: .4rem;
  background: var(--accent);
  flex-shrink: 0;
}

.sitemap-item a:hover {
  color: var(--primary);
}

/* ============================================================
   26. 404 Page
   ============================================================ */
.not-found-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-cream);
}

.not-found-inner {
  text-align: center;
  padding: 4rem 1.5rem;
  max-width: 560px;
  margin-inline: auto;
}

.not-found-code {
  display: block;
  font-size: clamp(6rem,20vw,12rem);
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--border);
  line-height: 1;
  margin-bottom: 1rem;
  -webkit-text-stroke: 2px var(--primary-light);
}

.not-found-title {
  font-size: clamp(1.4rem,4vw,2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .75rem;
}

.not-found-desc {
  font-size: .95rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.not-found-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* ============================================================
   27. Admin
   ============================================================ */
.admin-body {
  background: #f4f6f9;
  min-height: 100vh;
}

.admin-wrap {
  max-width: 1100px;
  margin-inline: auto;
  padding: 2rem 1.5rem;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.admin-title {
  font-size: clamp(1.3rem,3vw,1.8rem);
  font-weight: 800;
  color: var(--text-dark);
  font-family: var(--font-display);
}

.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-cream);
}

.admin-login-box {
  width: 100%;
  max-width: 400px;
  padding: 2.5rem;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.admin-login-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
  font-family: var(--font-display);
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.2rem;
}

.admin-form-group label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-dark);
}

.admin-form-group input,
.admin-form-group textarea,
.admin-form-group select {
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  font-size: .95rem;
  width: 100%;
  transition: border-color .2s;
  background: #fff;
  color: var(--text-dark);
}

.admin-form-group input:focus,
.admin-form-group textarea:focus,
.admin-form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.admin-submit {
  width: 100%;
  padding: .85rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

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

.admin-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.admin-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-stat {
  background: #fff;
  border: 1px solid var(--border);
  padding: 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.admin-stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: .3rem;
}

.admin-stat-label {
  display: block;
  font-size: .8rem;
  color: var(--text-light);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.admin-table th {
  background: var(--bg-beige);
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.admin-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: var(--bg-cream);
}

.admin-badge {
  display: inline-block;
  padding: .2rem .6rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.admin-badge.queue {
  background: #FFF3CD;
  color: #7D5500;
}

.admin-badge.pub {
  background: #D4EDDA;
  color: #155724;
}

.admin-action-btn {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .35rem .75rem;
  font-size: .78rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
}

.admin-action-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.admin-action-btn.danger {
  color: #C0392B;
  border-color: #C0392B;
}

.admin-action-btn.danger:hover {
  background: #C0392B;
  color: #fff;
}

.admin-action-btn.accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.admin-action-btn.accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.admin-msg {
  padding: .75rem 1rem;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.admin-msg.ok {
  background: #D4EDDA;
  color: #155724;
  border-left: 4px solid #28A745;
}

.admin-msg.err {
  background: #F8D7DA;
  color: #721C24;
  border-left: 4px solid #DC3545;
}

.admin-logout {
  font-size: .85rem;
  color: var(--text-light);
  font-weight: 600;
  padding: .45rem .9rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  cursor: pointer;
  background: #fff;
}

.admin-logout:hover {
  background: #C0392B;
  color: #fff;
  border-color: #C0392B;
}

/* ============================================================
   28. Utility
   ============================================================ */
.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.d-none   { display: none; }
.d-flex   { display: flex; }
.d-grid   { display: grid; }
.d-block  { display: block; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.w-full { width: 100%; }

.color-primary { color: var(--primary); }
.color-accent  { color: var(--accent); }
.color-light   { color: var(--text-light); }
.color-white   { color: #fff; }
.bg-primary    { background: var(--primary); }
.bg-accent     { background: var(--accent); }
.bg-cream      { background: var(--bg-cream); }
.bg-sand       { background: var(--bg-sand); }

/* ============================================================
   29. Dividers & Decorative
   ============================================================ */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: 2rem;
}

.accent-line {
  width: 3rem;
  height: 3px;
  background: var(--accent);
  margin-bottom: 1.25rem;
  border: none;
}

.accent-line--center {
  margin-inline: auto;
}

/* ============================================================
   30. Responsive 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .gnb {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .gnb-cta {
    display: none;
  }

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

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

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

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

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

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

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

/* ============================================================
   31. Responsive 768px
   ============================================================ */
@media (max-width: 768px) {
  .service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .compare-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content {
    padding-block: 5rem 3rem;
  }

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

  .symp-list {
    grid-template-columns: 1fr;
  }

  .feat-cards {
    grid-template-columns: 1fr;
  }

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

  .svc-gallery-grid {
    grid-template-columns: 1fr;
  }

  .rg-hero-stats {
    gap: 1rem;
  }

  .cta-steps {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .detail-pagination {
    flex-direction: column;
  }

  .detail-page-link {
    max-width: 100%;
  }

  .nseo-grid--row {
    grid-template-columns: 1fr;
  }

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

  .breadcrumb-list {
    font-size: .75rem;
  }

  .trust-badges {
    gap: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: .75rem;
  }
}

/* ============================================================
   32. Responsive 560px
   ============================================================ */
@media (max-width: 560px) {
  .service-cards {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero-title {
    font-size: clamp(1.8rem,8vw,2.8rem);
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .trust-item {
    padding: 1.25rem .75rem;
  }

  .trust-num {
    font-size: clamp(2rem,8vw,2.8rem);
  }

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

  .rg-district-grid {
    grid-template-columns: 1fr;
  }

  .rg-related-list {
    grid-template-columns: 1fr;
  }

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

  .admin-stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .summary-cards {
    grid-template-columns: 1fr;
  }

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

  .footer-inner {
    gap: 1.5rem;
  }

  .floating-cta {
    width: 50px;
    height: 50px;
    bottom: 1rem;
    right: 1rem;
  }

  .back-to-top {
    bottom: 4.5rem;
    right: 1rem;
    width: 38px;
    height: 38px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-white,
  .btn-outline,
  .btn-cta-main {
    width: 100%;
    justify-content: center;
  }

  .cta-btn-wrap {
    flex-direction: column;
  }

  .consult-cta-wrap {
    max-width: 100%;
  }

  .not-found-nav {
    flex-direction: column;
    gap: .75rem;
  }
}


/* ============================================================
   34. NSEO grid columns + current page state
   ============================================================ */
.nseo-grid--row {
  grid-template-columns: repeat(4, 1fr) !important;
}

.nseo-badge--cur {
  background: #888;
}

.nseo-card.is-current {
  opacity: .72;
  cursor: default;
  pointer-events: none;
}

.nseo-card.is-current:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

/* ============================================================
   35. Service page — quick gallery after hero
   ============================================================ */
.svc-quick-gallery {
  background: var(--bg-cream, #faf9f7);
  padding-block: 2rem;
}

.svc-quick-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.svc-quick-gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.svc-quick-gallery-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .5s ease;
}

.svc-quick-gallery-item:hover img {
  transform: scale(1.05);
}

/* ============================================================
   36. Main page banner (서비스 페이지 중간 유도)
   ============================================================ */
.main-banner {
  background: var(--secondary, #F8F4FC);
  border: 1px solid var(--primary-light, #9b7abe);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-block: 2.5rem 0;
}

.main-banner-text {
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary, #6B4C8A);
}

.main-banner-desc {
  font-size: .83rem;
  color: var(--text-body, #444);
  margin-top: .2rem;
}

/* ============================================================
   37. Service related pages
   ============================================================ */
.svc-related-section {
  background: var(--bg-soft, #f4f2f8);
  padding-block: 2rem;
  border-top: 1px solid var(--border, #e5e1ec);
}

.svc-related-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.svc-related-label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-light, #888);
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.svc-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.svc-related-link {
  display: inline-block;
  padding: .5rem 1rem;
  border: 1px solid var(--border, #e5e1ec);
  background: #fff;
  color: var(--text-dark, #2A1E35);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.svc-related-link:hover {
  background: var(--primary, #6B4C8A);
  color: #fff;
  border-color: var(--primary, #6B4C8A);
}

/* ============================================================
   38. Nav dropdown
   ============================================================ */
.gnb-has-sub {
  position: relative;
}

.gnb-sub {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 170px;
  box-shadow: 0 6px 24px rgba(0,0,0,.14);
  border-top: 2px solid var(--primary, #6B4C8A);
  display: none;
  z-index: 200;
  list-style: none;
}

.gnb-has-sub:hover .gnb-sub,
.gnb-has-sub:focus-within .gnb-sub {
  display: block;
}

.gnb-sub li {
  border-bottom: 1px solid #f0edf6;
}

.gnb-sub-link {
  display: block;
  padding: .6rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-dark, #2A1E35);
  text-decoration: none;
  transition: background .15s;
  white-space: nowrap;
}

.gnb-sub-link:hover {
  background: var(--secondary, #F8F4FC);
  color: var(--primary, #6B4C8A);
}

.gnb-link.gnb-has-sub-trigger::after {
  content: ' ▾';
  font-size: .7em;
  opacity: .6;
}

/* ============================================================
   39. Sitemap category filter
   ============================================================ */
.sitemap-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2rem;
}

.sitemap-filter-btn {
  padding: .45rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  border: 1px solid var(--border, #e5e1ec);
  background: #fff;
  color: var(--text-body, #444);
  cursor: pointer;
  transition: var(--transition);
}

.sitemap-filter-btn:hover,
.sitemap-filter-btn.active {
  background: var(--primary, #6B4C8A);
  color: #fff;
  border-color: var(--primary, #6B4C8A);
}

/* ============================================================
   Cases / Services / Shared Section helpers (메인 누락분)
   ============================================================ */
.cases-section {
  background: #fff;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-cta-row {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

.services-section {
  background: #2A1E35;
  padding-block: var(--section-py);
}

.services-section .kicker {
  color: rgba(255,255,255,.6);
}

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

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

/* ============================================================
   Marquee Gallery (메인 시공사례)
   ============================================================ */
.marquee-wrap {
  overflow: hidden;
  width: 100%;
  padding-block: 1rem;
}

.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  flex: 0 0 280px;
  display: block;
  text-decoration: none;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.10);
  transition: transform .25s ease, box-shadow .25s ease;
}

.marquee-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
}

.marquee-item img {
  display: block;
  width: 280px;
  height: 200px;
  object-fit: cover;
}

.marquee-cap {
  padding: .55rem .85rem .65rem;
  font-size: .82rem;
  font-weight: 600;
  color: #2A1E35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   Responsive overrides for new components
   ============================================================ */
@media (max-width: 768px) {
  .gnb-has-sub .gnb-sub { display: none !important; }

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

  .main-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nseo-grid--row {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .svc-quick-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nseo-grid--row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ============================================================
   EDITORIAL DESIGN SYSTEM — 레퍼런스 리디자인 (컬러 유지)
   Primary: #6B4C8A / Accent: #B5517C / Dark: #2A1E35
   ============================================================ */

/* ── Body 배경: 연보라 크림 ── */
body { background: #F8F4FC; }

/* ── 헤더 에디토리얼 재설계 (style.css 기존 sticky 규칙 덮어쓰기) ── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #2A1E35;
  height: auto;
  box-shadow: none;
  transition: background 500ms cubic-bezier(.16,1,.3,1), box-shadow 300ms;
}
.site-header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
}
/* 기존 로고 클래스 reset (새 .header-logo-* 사용하므로 색상 충돌 방지) */
.site-header.scrolled .logo-name { color: var(--primary); }
/* 모바일 풀스크린 오버레이 메뉴 (기존 slide-panel 덮어쓰기) */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #2A1E35;
  z-index: 999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  width: 100%;
  height: 100%;
  right: auto;
  top: 0;
  transition: none;
}
.mobile-menu.open { display: flex; right: auto; }

/* ── page-hero 상단 패딩 (fixed header 72px 보정) ── */
.page-hero { padding-top: calc(72px + 3rem); }
.page-hero-sm { padding-top: calc(72px + 2rem); }

/* ── Hero Section 에디토리얼 재설계 ── */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #2A1E35;
}
.hero-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.52) 0%, rgba(0,0,0,.08) 45%, transparent 72%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 48px 120px;
  color: #fff;
}
.hero-line {
  width: 48px;
  height: 2px;
  background: #fff;
  margin-bottom: 28px;
  animation: heroLineIn 1.2s cubic-bezier(.16,1,.3,1) both;
}
@keyframes heroLineIn {
  from { transform: scaleX(0); transform-origin: left; }
  to   { transform: scaleX(1); transform-origin: left; }
}
.hero-eyebrow-wrap { overflow: hidden; margin-bottom: 12px; }
.hero-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  padding: 0;
  border: none;
  animation: heroClipIn 1.2s cubic-bezier(.16,1,.3,1) .1s both;
}
@keyframes heroClipIn {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}
.hero-title-wrap { overflow: hidden; margin-bottom: 20px; }
.hero-title {
  font-family: 'Pretendard', -apple-system, sans-serif;
  font-size: clamp(40px, 7vw, 96px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.05em;
  line-height: .95;
  animation: heroClipIn 1.4s cubic-bezier(.16,1,.3,1) .05s both;
}
.hero-desc {
  font-size: clamp(14px, 1.8vw, 18px);
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 36px;
  animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) .3s both;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
  animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) .45s both;
}
.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #2A1E35;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 250ms, color 250ms;
}
.hero-btn-primary:hover { background: #B5517C; color: #fff; }
.hero-btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff;
  padding: 14px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.35);
  transition: background 250ms, border-color 250ms;
}
.hero-btn-outline:hover { background: #fff; color: #2A1E35; border-color: #fff; }
.hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #B5517C;
  z-index: 3;
  width: 0%;
  transition: width .1s linear;
}
#hero-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #B5517C;
  z-index: 3;
  width: 0%;
  transition: width .1s linear;
}
@media (max-width: 768px) {
  .hero-content {
    padding: 0 24px 80px;
    padding-bottom: max(120px, calc(90px + env(safe-area-inset-bottom, 0px)));
  }
  .hero-title { font-size: clamp(32px, 8vw, 56px); }
  .hero-btn-primary,
  .hero-btn-outline {
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }
  .hero-cta-group {
    flex-direction: column;
    gap: 10px;
  }
}

/* ── 에디토리얼 공통 레이블/제목 ── */
.ed-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #B5517C;
  margin-bottom: 16px;
}
.ed-title {
  font-family: 'Pretendard', -apple-system, sans-serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.1;
  color: #2A1E35;
  margin-bottom: 12px;
}
.ed-title.white { color: #fff; }
.ed-desc { font-size: 15px; color: #7A6A8A; line-height: 1.8; margin-bottom: 20px; }
.ed-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #B5517C;
  text-decoration: none;
  transition: opacity .2s;
}
.ed-link:hover { opacity: .7; }

/* ── 시공사례 에디토리얼 그리드 ── */
.cases-editorial {
  background: #2A1E35;
  padding-top: 0;
}
.cases-editorial-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px 48px 64px;
}
.cases-editorial-header {
  margin-bottom: 40px;
}
.cases-editorial-header .ed-label { color: rgba(255,255,255,.4); }
.cases-editorial-header .ed-title { color: #fff; }
.cases-editorial-header .ed-desc  { color: rgba(255,255,255,.45); }
.cases-editorial-header .ed-link  { color: rgba(255,255,255,.6); }
.cases-editorial-header .ed-link:hover { color: #fff; }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 6px;
  list-style: none;
}
.cases-grid-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.cases-grid-item:nth-child(4) { grid-column: span 2; }
.cases-grid-item {
  position: relative;
  overflow: hidden;
  background: #1A0E28;
  cursor: pointer;
}
.cases-grid-link {
  display: block;
  position: relative;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.cases-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .7;
  filter: grayscale(10%);
  transition: transform 1.8s cubic-bezier(.16,1,.3,1), opacity .5s, filter .5s;
}
.cases-grid-item:hover img { transform: scale(1.07); opacity: 1; filter: grayscale(0); }
.cases-grid-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.2) 55%, transparent 100%);
}
.cases-grid-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  transform: translateY(4px);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.cases-grid-item:hover .cases-grid-info { transform: translateY(0); }
.cases-grid-loc {
  display: inline-block;
  background: #fff;
  color: #2A1E35;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 4px 10px;
  margin-bottom: 8px;
}
.cases-grid-title {
  font-family: 'Pretendard', -apple-system, sans-serif;
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 700;
  color: #fff;
  letter-spacing: -.03em;
  line-height: 1.3;
}
.cases-grid-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: #fff;
  color: #2A1E35;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 12px;
  opacity: 0;
  transition: opacity .3s;
}
.cases-grid-item:hover .cases-grid-badge { opacity: 1; }
@media (max-width: 768px) {
  .cases-editorial-inner { padding: 48px 20px 40px; }
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 200px 160px 160px;
  }
  .cases-grid-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .cases-grid-item:nth-child(4) { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 480px) {
  .cases-grid { grid-template-rows: 180px 140px 140px; }
}

/* ── 서비스 에디토리얼 그리드 ── */
.svc-editorial {
  background: #F8F4FC;
  padding: 96px 48px;
}
.svc-editorial-inner { max-width: 1200px; margin: 0 auto; }
.svc-editorial-header { margin-bottom: 56px; }
.svc-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}
.svc-ed-item:nth-child(4),
.svc-ed-item:nth-child(5) {
  grid-column: auto;
}
.svc-editorial-grid:has(.svc-ed-item:nth-child(5):last-child) {
  grid-template-columns: repeat(6, 1fr);
}
.svc-editorial-grid:has(.svc-ed-item:nth-child(5):last-child) .svc-ed-item:nth-child(1) { grid-column: 1 / 3; }
.svc-editorial-grid:has(.svc-ed-item:nth-child(5):last-child) .svc-ed-item:nth-child(2) { grid-column: 3 / 5; }
.svc-editorial-grid:has(.svc-ed-item:nth-child(5):last-child) .svc-ed-item:nth-child(3) { grid-column: 5 / 7; }
.svc-editorial-grid:has(.svc-ed-item:nth-child(5):last-child) .svc-ed-item:nth-child(4) { grid-column: 2 / 4; }
.svc-editorial-grid:has(.svc-ed-item:nth-child(5):last-child) .svc-ed-item:nth-child(5) { grid-column: 4 / 6; }
.svc-ed-item {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.svc-ed-img {
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 3px solid transparent;
  transition: border-color .3s;
}
.svc-ed-item:hover .svc-ed-img { border-color: #6B4C8A; }
.svc-ed-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.8s cubic-bezier(.16,1,.3,1);
}
.svc-ed-item:hover .svc-ed-img img { transform: scale(1.05); }
.svc-ed-info {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svc-ed-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.svc-ed-num {
  font-family: 'Pretendard', -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: #B5517C;
}
.svc-ed-rule {
  flex: 1;
  height: 1px;
  background: rgba(107,76,138,.15);
}
.svc-ed-title {
  font-family: 'Pretendard', -apple-system, sans-serif;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 800;
  letter-spacing: -.04em;
  color: #2A1E35;
  line-height: 1.25;
  transition: color .25s;
}
.svc-ed-item:hover .svc-ed-title { color: #6B4C8A; }
.svc-ed-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #7A6A8A;
  transition: color .2s, gap .2s;
}
.svc-ed-item:hover .svc-ed-arrow { color: #6B4C8A; gap: 10px; }
@media (max-width: 960px) {
  .svc-editorial-grid,
  .svc-editorial-grid:has(.svc-ed-item:nth-child(5):last-child) {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px 28px;
  }
  .svc-editorial-grid:has(.svc-ed-item:nth-child(5):last-child) .svc-ed-item { grid-column: auto; }
}
@media (max-width: 600px) {
  .svc-editorial { padding: 56px 20px; }
  .svc-editorial-grid,
  .svc-editorial-grid:has(.svc-ed-item:nth-child(5):last-child) {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .svc-editorial-grid:has(.svc-ed-item:nth-child(5):last-child) .svc-ed-item { grid-column: auto; }
}

/* ── 신뢰 수치 에디토리얼 ── */
.trust-editorial {
  background: #2A1E35;
}
.trust-ed-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-ed-item {
  padding: 72px 40px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
}
.trust-ed-item:last-child { border-right: none; }
.trust-ed-num {
  font-family: 'Pretendard', -apple-system, sans-serif;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.05em;
  line-height: 1;
  margin-bottom: 8px;
}
.trust-ed-unit {
  font-size: 13px;
  font-weight: 600;
  color: #B5517C;
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.trust-ed-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  color: rgba(255,255,255,.3);
  text-transform: uppercase;
}
@media (max-width: 900px) {
  .trust-ed-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-ed-item { border-bottom: 1px solid rgba(255,255,255,.07); }
  .trust-ed-item:nth-child(even) { border-right: none; }
}
@media (max-width: 480px) {
  .trust-ed-grid { grid-template-columns: 1fr; }
  .trust-ed-item { border-right: none; padding: 48px 24px; }
  .trust-ed-item:last-child { border-bottom: none; }
}

/* ── FAQ 섹션 재설계 ── */
.faq-section {
  background: #F8F4FC;
}
.faq-item {
  border-top: none;
  border-bottom: 1px solid rgba(107,76,138,.15);
}
.faq-item:first-of-type { border-top: 1px solid rgba(107,76,138,.15); }
.faq-question {
  width: 100%;
  padding: 22px 0;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.faq-question span {
  font-size: 16px;
  font-weight: 600;
  color: #2A1E35;
  letter-spacing: -.02em;
  line-height: 1.5;
}
.faq-icon {
  flex-shrink: 0;
  color: #B5517C;
  transition: transform .3s;
  font-size: 22px;
  font-weight: 300;
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .38s cubic-bezier(.4,0,.2,1);
}
.faq-item.open .faq-a { max-height: 600px; }
.faq-a p {
  padding: 0 0 22px;
  font-size: 15px;
  color: #7A6A8A;
  line-height: 1.85;
}

/* ── 지역 카드 섹션 ── */
.regions-section {
  background: #fff;
}
.regions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 2.5rem;
}
.region-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  background: #F8F4FC;
  border: 1.5px solid transparent;
  text-decoration: none;
  color: #2A1E35;
  transition: background .22s, border-color .22s, transform .22s, box-shadow .22s;
}
.region-card:hover {
  background: #fff;
  border-color: #6B4C8A;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(107,76,138,.10);
}
.region-card-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: rgba(107,76,138,.08);
  color: #6B4C8A;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .22s, color .22s;
}
.region-card:hover .region-card-icon {
  background: #6B4C8A;
  color: #fff;
}
.region-card-icon--more {
  background: rgba(181,81,124,.08);
  color: #B5517C;
}
.region-card--more:hover .region-card-icon--more {
  background: #B5517C;
  color: #fff;
}
.region-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.region-card-name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: #2A1E35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color .22s;
}
.region-card:hover .region-card-name { color: #6B4C8A; }
.region-card--more:hover .region-card-name { color: #B5517C; }
.region-card-area {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  color: #9A8AB0;
  text-transform: uppercase;
}
.region-card-arrow {
  flex-shrink: 0;
  color: #9A8AB0;
  transition: transform .22s, color .22s;
}
.region-card:hover .region-card-arrow {
  transform: translateX(4px);
  color: #6B4C8A;
}
.region-card--more {
  border-style: dashed;
  border-color: rgba(181,81,124,.3);
  background: rgba(181,81,124,.04);
}
.region-card--more:hover {
  border-color: #B5517C;
  border-style: solid;
  background: #fff;
  box-shadow: 0 6px 24px rgba(181,81,124,.10);
}
.region-card--more:hover .region-card-arrow { color: #B5517C; }
@media (max-width: 900px) {
  .regions-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}
@media (max-width: 480px) {
  .regions-grid { grid-template-columns: 1fr; gap: 8px; }
  .region-card { padding: 16px 18px; }
}

/* ── CTA 에디토리얼 ── */
.cta-editorial {
  background: #2A1E35;
  padding: 100px 48px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-ed-deco {
  position: absolute;
  top: -40%;
  right: -8%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(181,81,124,.1), transparent 70%);
  pointer-events: none;
}
.cta-ed-inner {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}
.cta-ed-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 20px;
}
.cta-ed-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  color: rgba(255,255,255,.4);
  margin-bottom: 48px;
}
.cta-ed-steps span[aria-hidden] { color: rgba(255,255,255,.2); font-size: 16px; }
.cta-ed-title {
  font-family: 'Pretendard', -apple-system, sans-serif;
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.04em;
  line-height: 1.15;
  margin-bottom: 20px;
}
.cta-ed-title em { font-style: normal; color: #B5517C; }
.cta-ed-desc {
  font-size: 16px;
  color: rgba(255,255,255,.55);
  line-height: 1.8;
  margin-bottom: 40px;
}
.cta-ed-actions { margin-bottom: 32px; }
.cta-ed-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #B5517C;
  color: #fff;
  padding: 16px 48px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s, transform .2s;
  box-shadow: 0 4px 24px rgba(181,81,124,.35);
}
.cta-ed-btn:hover { background: #9B3D64; transform: translateY(-2px); }
.cta-ed-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  color: rgba(255,255,255,.3);
}
.cta-ed-tags span[aria-hidden] { color: rgba(255,255,255,.15); }
@media (max-width: 768px) {
  .cta-editorial { padding: 72px 20px 100px; }
}

/* ── Footer 에디토리얼 ── */
.site-footer-ed {
  background: #2A1E35;
  color: rgba(255,255,255,.6);
}
.footer-ed-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 48px 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
.footer-ed-logo {
  font-family: 'Pretendard', -apple-system, sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 6px;
}
.footer-ed-logo span { font-size: .82em; letter-spacing: .03em; }
.footer-ed-tagline {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 20px;
}
.footer-ed-address {
  font-style: normal;
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,.4);
}
.footer-ed-nav-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 16px;
}
.footer-ed-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-ed-nav a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s;
}
.footer-ed-nav a:hover { color: #fff; }
.footer-ed-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 48px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,.25);
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .footer-ed-inner { grid-template-columns: 1fr; padding: 48px 20px 40px; gap: 36px; }
  .footer-ed-bottom { padding: 20px; flex-direction: column; align-items: flex-start; }
}

/* ── Floating CTA 에디토리얼 ── */
.floating-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}
.floating-top {
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid rgba(107,76,138,.15);
  display: none;
  align-items: center;
  justify-content: center;
  color: #2A1E35;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: transform .2s;
}
.floating-top.visible { display: flex; }
.floating-top:hover { transform: translateY(-2px); }
.floating-cta-ed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #B5517C;
  color: #fff;
  padding: 12px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  min-height: 46px;
  box-shadow: 0 4px 20px rgba(181,81,124,.35);
  transition: background .2s, transform .2s;
}
.floating-cta-ed:hover { background: #9B3D64; transform: translateY(-2px); }
@media (max-width: 768px) { .floating-wrap { display: none; } }

/* ── 모바일 하단 고정 바 ── */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: #fff;
  border-top: 1px solid rgba(107,76,138,.12);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-bottom-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 8px 16px 0;
  font-size: 10px;
  font-weight: 600;
  color: #aaa;
  letter-spacing: .06em;
}
.mobile-bottom-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #B5517C;
  color: #fff;
  padding: 16px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-decoration: none;
  transition: background .2s;
}
.mobile-bottom-cta-btn:active { background: #9B3D64; }
@media (max-width: 768px) { .mobile-bottom-bar { display: block; } }

/* ── back-to-top JS compat ── */
.floating-top { }

/* ── SVG 인라인 아이콘 컬러 픽스 (stroke 계열) ── */
.cta-trust-item svg,
.btn-cta-main svg {
  fill: none;
  stroke: currentColor;
  flex-shrink: 0;
  width: 1.1em;
  height: 1.1em;
}

/* ── 서브페이지 page-hero 레이아웃 보정 ── */
main#main > .breadcrumb-bar:first-child,
main#main > section:first-child {
  scroll-margin-top: 72px;
}
.breadcrumb-bar {
  padding-top: 72px;
  background: #F8F4FC;
}

/* ============================================================
   Prefers Reduced Motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  html {
    scroll-behavior: auto;
  }

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

  .rv {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   정보·가이드 아티클 페이지
   ============================================================ */
.info-article {
  max-width: 780px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.info-section {
  padding-block: 2.5rem;
  border-top: 1px solid var(--border);
}
.info-section:first-child { border-top: none; }

.info-h2 {
  font-size: clamp(1.2rem,3vw,1.5rem);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  word-break: keep-all;
}

.info-para {
  font-size: .975rem;
  color: var(--text-body);
  line-height: 1.9;
  margin-bottom: 1rem;
  word-break: keep-all;
}
.info-para:last-child { margin-bottom: 0; }

.info-list {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding-left: 0;
  list-style: none;
  margin-bottom: 1rem;
}
.info-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  font-size: .95rem;
  color: var(--text-body);
  line-height: 1.7;
  word-break: keep-all;
}
.info-list li::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: .55em;
  flex-shrink: 0;
}

.info-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.info-point-card {
  background: var(--bg-cream);
  border: 1px solid var(--border);
  padding: 1.25rem;
}

.info-point-num {
  font-size: .75rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: .1em;
  display: block;
  margin-bottom: .4rem;
}

.info-point-head {
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .4rem;
  word-break: keep-all;
}

.info-point-body {
  font-size: .88rem;
  color: var(--text-body);
  line-height: 1.7;
  word-break: keep-all;
}

.info-tip {
  background: #F8F4FC;
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  margin-block: 1.5rem;
}

.info-tip-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: .08em;
  display: block;
  margin-bottom: .35rem;
}

.info-tip p {
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.75;
  word-break: keep-all;
  margin: 0;
}

.info-table-wrap {
  overflow-x: auto;
  margin-block: 1.5rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.info-table th {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: .65rem 1rem;
  text-align: left;
  word-break: keep-all;
}

.info-table td {
  padding: .6rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  line-height: 1.6;
  word-break: keep-all;
  vertical-align: top;
}

.info-table tr:last-child td { border-bottom: none; }
.info-table tr:nth-child(even) td { background: var(--bg-cream); }

.info-tag {
  display: inline-block;
  padding: .2rem .6rem;
  background: rgba(107,76,138,.1);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  border-radius: 2px;
  margin-bottom: .5rem;
}

@media (max-width: 768px) {
  .info-points-grid { grid-template-columns: 1fr 1fr; }
  .info-table th, .info-table td { padding: .5rem .75rem; }
}
