/* style.css — High-End Monochrome Editorial
 * 바모스 들뜬타일수리 | ft.standardhomerepair.com
 */

/* ── Variables ─────────────────────────────────────────────────────────── */
:root {
  --dark:          #18130F;   /* warm near-black */
  --text-dark:     #1C1714;
  --text-mid:      #6B5F58;
  --text-light:    #9E8E84;
  --bg:            #F6F1EC;   /* warm cream */
  --bg-cream:      #FFFFFF;
  --bg-sand:       #EDE5DC;
  --bg-beige:      #F6F1EC;
  --white:         #FFFFFF;
  --border:        #DDD4CB;   /* warm taupe border */
  --accent:        #C0622B;   /* burnt sienna / terracotta */
  --accent-dark:   #9E4F22;
  --primary:       #5C3D2E;   /* dark warm brown */
  --primary-dark:  #3E2920;
  --primary-light: #7A5242;
  --secondary:     #18130F;   /* backward compat */

  /* Type */
  --font-display: 'Sora', sans-serif;

  /* Shadow */
  --shadow-sm: 0 1px 4px rgba(0,0,0,.04), 0 2px 8px rgba(0,0,0,.04);
  --shadow:    0 4px 12px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.04);
  --shadow-lg: 0 8px 24px rgba(0,0,0,.08), 0 16px 48px rgba(0,0,0,.06);

  --radius:    0px;
  --radius-sm: 0px;
  --radius-md: 0px;
  --transition: all .35s cubic-bezier(.4,0,.2,1);
}

/* ── Reset & Base ──────────────────────────────────────────────────────── */
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(15px, 1.5vw, 16px);
  line-height: 1.8;
  letter-spacing: -.01em;
  color: var(--text-dark);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
ol, ul { list-style: none; }

/* ── Container ─────────────────────────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* ── Sections ──────────────────────────────────────────────────────────── */
.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.dark-section { background: var(--dark); }

/* ── Typography ─────────────────────────────────────────────────────────── */
.section-kicker,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.section-kicker::before,
.kicker::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: currentColor;
  flex-shrink: 0;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -.04em;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: var(--text-mid);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn-primary,
.btn-outline,
.btn-sm,
.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .8rem 2rem;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: clamp(.75rem, 1.2vw, .85rem);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .25s, color .25s, border-color .25s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--dark);
  border-color: var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
}
.btn-sm { padding: .45rem 1rem; font-size: .75rem; }

/* ── Header (Critical CSS in header.php inline) ─────────────────────────── */
.site-header .nav-link.active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ── Editorial Hero ─────────────────────────────────────────────────────── */
.editorial-hero {
  background: var(--dark);
  padding-top: 80px; /* header height */
  overflow: hidden;
}
.hero-header {
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 4vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--accent);
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 8vw, 108px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -.05em;
  line-height: 1;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.hero-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-notice {
  font-size: clamp(.85rem, 1.3vw, .95rem);
  color: rgba(255,255,255,.5);
  line-height: 1.7;
  max-width: 380px;
}
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #fff;
  color: var(--dark);
  padding: 1rem 2.5rem;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  flex-shrink: 0;
  transition: background .25s, color .25s;
}
.hero-cta-btn:hover {
  background: var(--accent);
  color: #fff;
}

/* ── Editorial Gallery Grid ─────────────────────────────────────────────── */
.gallery-hero-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 6px;
}
.gallery-hero-grid .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-hero-grid .gallery-item:nth-child(4) { grid-column: span 2; }
.gallery-item {
  position: relative;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 2000ms cubic-bezier(.16,1,.3,1), opacity 500ms, filter 500ms;
  opacity: .65; filter: grayscale(20%);
}
.gallery-item:hover img { transform: scale(1.06); opacity: 1; filter: grayscale(0); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 55%, transparent 100%);
}
/* hero grid only — card context reset below */
.gallery-item .gallery-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px;
  transform: translateY(4px);
  transition: transform 400ms cubic-bezier(.16,1,.3,1);
}
.gallery-item:hover .gallery-info { transform: translateY(0); }
.gallery-item .gallery-loc {
  display: inline-block;
  background: #fff; color: var(--dark);
  font-family: var(--font-display);
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; margin-bottom: 8px;
}
.gallery-item .gallery-title {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.4vw, 17px);
  font-weight: 700;
  color: #fff; letter-spacing: -.02em; line-height: 1.3;
}
.gallery-badge {
  position: absolute; top: 14px; right: 14px;
  background: #fff; color: var(--dark);
  font-family: var(--font-display);
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 12px; z-index: 5;
  opacity: 0; transition: opacity 300ms;
}
.gallery-item:hover .gallery-badge { opacity: 1; }

@media (max-width: 768px) {
  .gallery-hero-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 180px);
  }
  .gallery-hero-grid .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-hero-grid .gallery-item:nth-child(4) { grid-column: span 2; }
}
@media (max-width: 480px) {
  .gallery-hero-grid { grid-template-rows: repeat(3, 150px); }
}

/* ── Before/After Slider ─────────────────────────────────────────────────── */
.ba-slider {
  position: relative; width: 100%; height: 60vh; min-height: 360px;
  overflow: hidden; cursor: ew-resize;
  user-select: none; -webkit-user-select: none;
  background: #111;
}
.ba-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.ba-after {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0ms;
}
.ba-line {
  position: absolute; top: 0; bottom: 0;
  width: 2px; background: #fff; z-index: 10; left: 50%;
  box-shadow: 0 0 20px rgba(0,0,0,.4);
  pointer-events: none; transform: translateX(-50%);
}
.ba-handle {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px; background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  z-index: 11; pointer-events: none;
  color: var(--dark);
}
.ba-badge-b, .ba-badge-a {
  position: absolute; top: 18px; z-index: 5;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 14px;
}
.ba-badge-b { left: 18px; background: rgba(0,0,0,.75); color: #fff; }
.ba-badge-a { right: 18px; background: rgba(255,255,255,.92); color: var(--dark); }
.ba-hint {
  position: absolute; bottom: 22px; left: 50%;
  transform: translateX(-50%); z-index: 10;
  background: #fff; color: var(--dark);
  font-family: var(--font-display);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  padding: 9px 22px;
  white-space: nowrap; pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
  animation: hintBounce 1.6s ease-in-out infinite;
  transition: opacity 400ms;
}
@keyframes hintBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%        { transform: translateX(-50%) translateY(-6px); }
}

/* ── Trust Numbers (dark) ────────────────────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.trust-item {
  padding: 64px 40px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.08);
}
.trust-item:last-child { border-right: none; }
.trust-num {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 80px);
  font-weight: 900; color: #fff;
  letter-spacing: -.05em; line-height: 1;
  margin-bottom: 12px;
}
.trust-num-unit { font-size: .4em; font-weight: 400; opacity: .5; margin-left: 2px; }
.trust-label {
  font-family: var(--font-display);
  font-size: 10px; font-weight: 700; letter-spacing: .18em;
  color: rgba(255,255,255,.35); text-transform: uppercase;
}
@media (max-width: 768px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item {
    padding: 44px 28px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .trust-item:last-child { border-bottom: none; }
  .trust-num { font-size: clamp(40px, 10vw, 64px); }
}

/* ── Portfolio Gallery (cards) ──────────────────────────────────────────── */
.gallery-section { background: var(--bg); }
.gallery-grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.gallery-card {
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.gallery-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.gallery-card a { text-decoration: none; color: inherit; }
.gallery-thumb {
  position: relative; overflow: hidden; aspect-ratio: 4/3;
}
.gallery-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s ease;
}
.gallery-card:hover .gallery-thumb img { transform: scale(1.05); }
.gallery-card .gallery-info {
  position: static;
  padding: 1.25rem;
  background: #fff;
  transform: none;
}
.gallery-cat {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px; font-weight: 700;
  color: var(--accent);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: .5rem;
}
.gallery-title {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 700;
  color: var(--text-dark); margin-bottom: .25rem; line-height: 1.4;
}
.gallery-loc { font-size: .85rem; color: var(--text-mid); margin-bottom: .75rem; }

/* ── Service Grid (editorial) ────────────────────────────────────────────── */
.service-editorial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2.5rem;
}
.service-editorial-item {
  background: #fff;
  padding: 2rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  text-decoration: none;
  color: var(--text-dark);
  transition: background .2s;
}
.service-editorial-item:hover { background: var(--bg); }
.service-editorial-item:hover .sei-arrow { color: var(--dark); transform: rotate(-45deg); }
.sei-body { flex: 1; }
.sei-label {
  font-family: var(--font-display);
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .5rem; display: block;
}
.sei-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 800; letter-spacing: -.04em;
  color: var(--text-dark); margin-bottom: .5rem;
  line-height: 1.3;
  transition: color .2s;
}
.service-editorial-item:hover .sei-title { color: var(--dark); }
.sei-desc { font-size: .88rem; color: var(--text-mid); line-height: 1.7; }
.sei-arrow {
  flex-shrink: 0; margin-top: .25rem;
  width: 24px; height: 24px;
  color: var(--border);
  transition: color .25s, transform .3s;
}
@media (max-width: 640px) {
  .service-editorial-grid { grid-template-columns: 1fr; }
}

/* ── Legacy Service Cards (keep for potential other pages) ───────────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 1.75rem 1.25rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: border-color .25s, transform .25s;
  display: block;
}
.service-card:hover { border-color: var(--dark); transform: translateY(-3px); }
.service-icon { width: 44px; height: 44px; margin: 0 auto 1rem; color: var(--accent); }
.service-card h3 {
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 700; line-height: 1.4;
}

/* ── Stats Legacy (backward compat) ─────────────────────────────────────── */
.stats-section { background: var(--dark); color: #fff; }
.stats-section .section-heading { color: #fff; }
.stats-section .section-sub { color: rgba(255,255,255,.6); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 2rem; margin-top: 2.5rem;
}
.stat-item { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700; color: var(--accent);
  display: block; line-height: 1; margin-bottom: .5rem;
}
.stat-label { font-size: clamp(.85rem, 1.5vw, .95rem); opacity: .8; line-height: 1.4; color: rgba(255,255,255,.7); }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 0;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: clamp(.95rem, 1.5vw, 1rem);
  font-weight: 700; color: var(--text-dark);
  cursor: pointer; text-align: left;
  transition: color .25s;
}
.faq-q:hover { color: var(--accent); }
.faq-q-icon {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 300;
  color: var(--text-light);
  transition: transform .35s, color .25s;
  line-height: 1; width: 20px; text-align: center;
}
.faq-item.open .faq-q-icon { transform: rotate(45deg); color: var(--accent); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s cubic-bezier(.4,0,.2,1), padding .4s;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 1.25rem; }
.faq-a p {
  font-size: clamp(.88rem, 1.4vw, .93rem);
  color: var(--text-mid); line-height: 1.8;
}

/* ── Region Cards ────────────────────────────────────────────────────────── */
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: .75rem;
}
.region-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: .9rem .75rem;
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-weight: 700; font-size: .88rem;
  transition: background .4s cubic-bezier(.16,1,.3,1), color .4s, border-color .4s;
  display: block;
}
.region-card:hover {
  background: var(--accent); color: #fff; border-color: var(--accent);
}

/* ── CTA Section (dark) ─────────────────────────────────────────────────── */
.cta-section { background: var(--dark); color: #fff; text-align: center; }
.cta-section .section-heading { color: #fff; }
.cta-section p { color: rgba(255,255,255,.6); margin-bottom: 2rem; font-size: clamp(.95rem,1.5vw,1.05rem); }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Editorial CTA section (footer pre-section) */
.editorial-cta {
  background: var(--dark); padding: clamp(4rem,8vw,7rem) clamp(1rem,4vw,2rem);
  position: relative; overflow: hidden;
}
.editorial-cta::before {
  content: '';
  position: absolute; top: -40%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192,98,43,.14), transparent 65%);
  pointer-events: none;
}
.cta-trust-badges {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem;
  margin-top: 2.75rem;
}
.cta-trust-badge {
  display: flex; align-items: center; gap: .45rem;
  padding: .55rem 1.1rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  font-family: var(--font-display); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.cta-eyebrow {
  font-family: var(--font-display);
  font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin-bottom: 1.5rem;
}
.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800; color: #fff;
  letter-spacing: -.04em; line-height: 1.1; margin-bottom: 1rem;
}
.cta-sub {
  font-size: 16px; color: rgba(255,255,255,.45);
  line-height: 1.7; margin-bottom: 2.5rem; max-width: 440px;
}
.cta-btn-white {
  display: inline-flex; align-items: center; gap: .6rem;
  background: #fff; color: var(--dark);
  padding: 1.1rem 2.5rem;
  font-family: var(--font-display);
  font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.cta-btn-white:hover { background: var(--accent); color: #fff; }

/* ── Service Sub-page Hero ───────────────────────────────────────────────── */
.svc-hero {
  padding: clamp(6rem, 12vw, 10rem) 0 clamp(3.5rem, 6vw, 5.5rem);
  background-color: var(--dark);
  background-image: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.68)),
                    url('/assets/images/hero-01.webp');
  background-size: cover;
  background-position: center;
  color: #fff; text-align: center;
  position: relative; overflow: hidden;
}
.svc-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(192,98,43,.12), transparent 65%);
  pointer-events: none;
}
.svc-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 900; letter-spacing: -.04em; line-height: 1.05; margin-bottom: 1rem;
}
.svc-hero-sub {
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,.7);
  margin-bottom: 2rem; max-width: 560px;
  margin-left: auto; margin-right: auto;
}
.svc-hero .kicker { color: rgba(255,255,255,.5); }
.svc-hero .kicker::before { background: var(--accent); }

/* ── Feature Cards ───────────────────────────────────────────────────────── */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2.5rem;
}
.feat-card {
  background: #fff;
  padding: 2.5rem 2rem;
  position: relative;
  transition: background .35s cubic-bezier(.16,1,.3,1);
}
.feat-card:hover { background: var(--bg); }
.feat-num {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 900;
  color: var(--bg-sand);
  position: absolute; top: 1rem; right: 1.25rem;
  line-height: 1; user-select: none;
}
.feat-card h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 800;
  color: var(--text-dark); margin-bottom: .5rem; letter-spacing: -.02em;
}
.feat-card p { font-size: .88rem; color: var(--text-mid); line-height: 1.7; }

/* ── Symptom Cards ───────────────────────────────────────────────────────── */
.symp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2rem;
}
.symp-card {
  background: #fff;
  padding: 1.5rem 1.25rem;
  transition: background .35s cubic-bezier(.16,1,.3,1);
}
.symp-card:hover { background: var(--bg); }
.symp-card .num {
  display: inline-block;
  background: var(--dark);
  color: #fff;
  font-family: var(--font-display);
  font-size: .7rem; font-weight: 700;
  width: 24px; height: 24px; line-height: 24px;
  text-align: center; margin-bottom: .6rem;
}
.symp-card h3 {
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 800;
  color: var(--text-dark); margin-bottom: .25rem; letter-spacing: -.02em;
}
.symp-card p { font-size: .85rem; color: var(--text-mid); line-height: 1.6; }

/* ── Process Steps ───────────────────────────────────────────────────────── */
.proc-steps {
  display: flex; flex-direction: column; gap: 0;
  margin-top: 2.5rem;
  counter-reset: proc-counter;
  max-width: 700px;
  margin-left: auto; margin-right: auto;
  border: 1px solid var(--border);
}
.proc-step {
  display: flex; align-items: flex-start; gap: 1.25rem;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  border-left: 3px solid transparent;
  counter-increment: proc-counter;
  background: #fff;
  transition: background .35s cubic-bezier(.16,1,.3,1), border-left-color .35s;
}
.proc-step:last-child { border-bottom: none; }
.proc-step:hover { background: var(--bg); border-left-color: var(--accent); }
.proc-step::before {
  content: counter(proc-counter, decimal-leading-zero);
  flex-shrink: 0;
  background: transparent;
  color: var(--text-dark);
  border: 1.5px solid var(--border);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: .7rem; font-weight: 700;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .02em;
  transition: background .35s cubic-bezier(.16,1,.3,1), border-color .35s, color .35s;
}
.proc-step:hover::before {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.proc-step-body h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 800;
  color: var(--text-dark); margin-bottom: .35rem; letter-spacing: -.02em;
}
.proc-step-body p { font-size: .88rem; color: var(--text-mid); line-height: 1.7; }

/* ── Service 3-Shot Gallery ──────────────────────────────────────────────── */
.svc-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px; margin-top: 2rem;
}
.svc-gallery-item {
  position: relative; overflow: hidden; aspect-ratio: 4/3;
}
.svc-gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 2000ms cubic-bezier(.16,1,.3,1), filter 500ms;
  filter: grayscale(15%); opacity: .9;
}
.svc-gallery-item:hover img { transform: scale(1.08); filter: grayscale(0); opacity: 1; }
.svc-gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  padding: .75rem .75rem .5rem;
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}

/* ── Related / Region Grid ───────────────────────────────────────────────── */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  margin-top: 2rem;
}
.related-card {
  background: #fff;
  padding: 1.25rem 1.5rem;
  text-decoration: none;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-weight: 700; font-size: .95rem;
  transition: background .4s cubic-bezier(.16,1,.3,1), color .4s;
  display: block;
}
.related-card:hover { background: var(--accent); color: #fff; }

/* ── CTA Band ────────────────────────────────────────────────────────────── */
.cta-band {
  background: var(--dark);
  padding: 1.75rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-top: 2.5rem;
}
.cta-band p { font-weight: 700; font-size: 1rem; color: #fff; }
.cta-band .btn-primary { background: var(--accent); border-color: var(--accent); }
.cta-band .btn-primary:hover { background: #fff; color: var(--dark); border-color: #fff; }

/* ── Method Grid ─────────────────────────────────────────────────────────── */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  margin-top: 2.5rem;
}
.method-card { background: #fff; padding: 1.75rem; transition: background .2s; }
.method-card:hover { background: var(--bg); }
.method-card h3 {
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 800; letter-spacing: -.02em;
  color: var(--text-dark); margin-bottom: 1rem;
  padding-bottom: .75rem; border-bottom: 1px solid var(--border);
}
.pros, .cons { list-style: none; font-size: .88rem; line-height: 1.9; }
.pros li::before { content: "+ "; color: var(--accent); font-weight: 700; }
.cons li::before { content: "— "; color: var(--text-light); }

/* ── BA Compare (static grid) ───────────────────────────────────────────── */
.ba-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px; margin-top: 2rem;
}
.ba-item { position: relative; }
.ba-label {
  position: absolute; top: .75rem; left: .75rem;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-family: var(--font-display);
  font-size: .7rem; font-weight: 700; padding: .25rem .6rem; letter-spacing: .08em;
  text-transform: uppercase;
}
.ba-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ── Portfolio Detail ────────────────────────────────────────────────────── */
.pd-hero {
  min-height: 60vh; background-size: cover; background-position: center;
  position: relative; display: flex; align-items: flex-end;
}
.pd-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,.7));
}
.pd-hero-content {
  position: relative; z-index: 1; color: #fff;
  padding: 2rem clamp(1rem, 4vw, 2rem);
  width: 100%; max-width: 1200px; margin: 0 auto;
}
.pd-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800; letter-spacing: -.04em;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.pd-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  margin-top: 2rem;
}
.pd-meta-item { background: #fff; padding: .9rem 1rem; }
.pd-meta-label {
  font-family: var(--font-display);
  font-size: .7rem; font-weight: 700; color: var(--text-mid);
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: .2rem;
}
.pd-meta-value { font-family: var(--font-display); font-size: .9rem; font-weight: 700; color: var(--text-dark); }
.pd-steps { list-style: none; counter-reset: pd-counter; margin-top: 1.5rem; }
.pd-steps li {
  counter-increment: pd-counter;
  display: flex; align-items: flex-start; gap: 1rem;
  padding: .9rem 0; border-bottom: 1px solid var(--border);
}
.pd-steps li::before {
  content: counter(pd-counter);
  flex-shrink: 0;
  background: var(--dark); color: #fff;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: .75rem; font-weight: 700;
}
.pd-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 3rem; flex-wrap: wrap; }
.pd-nav-item {
  flex: 1; min-width: 160px; padding: 1.1rem 1.25rem;
  background: #fff; text-decoration: none; color: var(--text-dark);
  font-family: var(--font-display);
  font-weight: 700; font-size: .85rem;
  border: 1px solid var(--border);
  transition: background .2s, color .2s;
}
.pd-nav-item:hover { background: var(--dark); color: #fff; }
.pd-nav-item.prev { text-align: left; }
.pd-nav-item.next { text-align: right; }

/* ── Consultation ────────────────────────────────────────────────────────── */
.consult-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
  margin-top: 2rem;
}
.consult-card {
  background: #fff;
  padding: 2.5rem 2rem;
  text-align: center; text-decoration: none;
  color: var(--text-dark); display: block;
  transition: background .2s;
}
.consult-card:hover { background: var(--bg); }
.consult-card-icon {
  width: 52px; height: 52px;
  background: var(--bg);
  margin: 0 auto 1.25rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.consult-card h2 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 800;
  letter-spacing: -.03em; margin-bottom: .5rem;
}
.consult-card p { font-size: .88rem; color: var(--text-mid); line-height: 1.7; }
.consult-notice {
  background: var(--bg);
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
  font-size: .93rem; line-height: 1.8;
}
.biz-info-table {
  width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: 1rem;
}
.biz-info-table th, .biz-info-table td {
  padding: .75rem 1rem; border: 1px solid var(--border); text-align: left;
}
.biz-info-table th { background: var(--bg); font-weight: 700; width: 30%; }

/* ── Sitemap Page ────────────────────────────────────────────────────────── */
.sitemap-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.cat-filter {
  padding: .4rem 1rem;
  border: 1px solid var(--border);
  background: #fff; cursor: pointer;
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}
.cat-filter.active, .cat-filter:hover {
  background: var(--dark); color: #fff; border-color: var(--dark);
}
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px; background: var(--border); border: 1px solid var(--border);
}
.sitemap-card {
  background: #fff;
  padding: 1rem; text-decoration: none; color: var(--text-dark);
  transition: background .2s;
  display: flex; flex-direction: column; gap: .25rem;
}
.sitemap-card:hover { background: var(--bg); }
.sitemap-card-cat {
  font-family: var(--font-display);
  font-size: .7rem; font-weight: 700;
  color: var(--accent); text-transform: uppercase; letter-spacing: .1em;
}
.sitemap-card-title { font-weight: 700; font-size: .93rem; }
.sitemap-search-wrap { margin-bottom: 1.5rem; }
.sitemap-search-wrap input {
  width: 100%; max-width: 420px;
  padding: .7rem 1rem;
  border: 1px solid var(--border);
  font-size: .93rem; outline: none;
  font-family: 'Noto Sans KR', sans-serif;
  background: #fff;
  transition: border-color .25s;
}
.sitemap-search-wrap input:focus { border-color: var(--dark); }

/* ── 404 ──────────────────────────────────────────────────────────────────── */
.error-page { text-align: center; padding: clamp(4rem, 10vw, 8rem) 0; }
.error-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 800; letter-spacing: -.04em; margin-bottom: 1rem;
}
.error-page p { color: var(--text-mid); margin-bottom: 2rem; }
.error-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Floating CTA ────────────────────────────────────────────────────────── */
.floating-wrap {
  position: fixed; bottom: 28px; right: 28px; z-index: 900;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.floating-top-btn {
  width: 44px; height: 44px;
  background: #fff; border: 1px solid var(--border);
  display: none; align-items: center; justify-content: center;
  color: var(--text-dark); cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  transition: transform .2s;
}
.floating-top-btn:hover { transform: translateY(-2px); }
.floating-top-btn.show { display: flex; }
.floating-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--dark); color: #fff;
  padding: 13px 20px;
  font-family: var(--font-display);
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; min-height: 48px;
  box-shadow: 0 4px 20px rgba(0,0,0,.2);
  transition: background .2s, transform .2s;
}
.floating-cta:hover { background: var(--accent); transform: translateY(-2px); }
.floating-cta { position: relative; }
.floating-cta::before {
  content: '';
  position: absolute;
  inset: -5px;
  border: 2px solid var(--accent);
  border-radius: 3px;
  animation: pulse-ring 2.4s ease-out infinite;
  opacity: 0;
  pointer-events: none;
}
@keyframes pulse-ring {
  0%   { transform: scale(.92); opacity: .7; }
  70%  { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}
.floating-cta-ring { display: none; }
@media (max-width: 768px) { .floating-wrap { display: none; } }

/* ── Mobile Bottom Bar ───────────────────────────────────────────────────── */
.mobile-bottom {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 900;
  background: #fff; border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.mobile-bottom-notice {
  display: flex; justify-content: center; align-items: center;
  padding: 7px 16px 0;
  font-family: var(--font-display);
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-light);
}
.mobile-bottom-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--dark); color: #fff;
  padding: 17px;
  font-family: var(--font-display);
  font-size: 1rem; font-weight: 800; letter-spacing: -.02em;
  text-decoration: none;
  transition: background .2s;
}
.mobile-bottom-cta:active { background: var(--accent); }
@media (max-width: 768px) {
  .mobile-bottom { display: block; }
  body { padding-bottom: 80px; }
}

/* ── Back to Top ─────────────────────────────────────────────────────────── */
.back-top {
  display: none; /* replaced by floating-wrap */
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 5rem) 0 0;
}
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2rem); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.footer-logo-text {
  font-family: var(--font-display);
  font-weight: 800; font-size: 1rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--dark); margin-bottom: .4rem;
}
.footer-tagline { font-size: .85rem; color: var(--text-mid); margin-bottom: 1.25rem; }
.footer-biz { font-size: .82rem; line-height: 1.9; color: var(--text-light); }
.footer-heading {
  font-family: var(--font-display);
  font-size: 10px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .16em; color: var(--text-dark); margin-bottom: 1rem;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .4rem; }
.footer-links a {
  color: var(--text-mid); text-decoration: none;
  font-size: .9rem; transition: color .2s;
}
.footer-links a:hover { color: var(--dark); }
.footer-bottom {
  padding: 1.25rem 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .75rem;
  font-size: .8rem; color: var(--text-light);
}

/* ── Admin ────────────────────────────────────────────────────────────────── */
.admin-table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.admin-table th, .admin-table td { padding: .6rem .85rem; border: 1px solid #e5e7eb; text-align: left; white-space: nowrap; }
.admin-table th { background: #f9fafb; font-weight: 700; }
.admin-badge { display: inline-block; padding: .2rem .6rem; font-size: .75rem; font-weight: 700; }
.badge-ok   { background: #d1fae5; color: #065f46; }
.badge-warn { background: #fef3c7; color: #92400e; }
.badge-info { background: #dbeafe; color: #1e40af; }

/* ── Scroll Reveal ───────────────────────────────────────────────────────── */
.rv, .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 900ms cubic-bezier(.16,1,.3,1),
              transform 900ms cubic-bezier(.16,1,.3,1);
  will-change: transform, opacity;
}
.rv.in, .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Auto-stagger for grid children */
.feat-grid .feat-card:nth-child(2)  { transition-delay: 120ms; }
.feat-grid .feat-card:nth-child(3)  { transition-delay: 240ms; }
.symp-grid .symp-card:nth-child(2)  { transition-delay: 80ms; }
.symp-grid .symp-card:nth-child(3)  { transition-delay: 160ms; }
.symp-grid .symp-card:nth-child(4)  { transition-delay: 240ms; }
.symp-grid .symp-card:nth-child(5)  { transition-delay: 320ms; }
.proc-steps .proc-step:nth-child(2) { transition-delay: 100ms; }
.proc-steps .proc-step:nth-child(3) { transition-delay: 200ms; }
.proc-steps .proc-step:nth-child(4) { transition-delay: 300ms; }
.proc-steps .proc-step:nth-child(5) { transition-delay: 400ms; }
.nseo-grid .nseo-card:nth-child(2)  { transition-delay: 80ms; }
.nseo-grid .nseo-card:nth-child(3)  { transition-delay: 160ms; }
.nseo-grid .nseo-card:nth-child(4)  { transition-delay: 240ms; }
.nseo-grid .nseo-card:nth-child(5)  { transition-delay: 320ms; }
.nseo-grid .nseo-card:nth-child(6)  { transition-delay: 400ms; }
.related-grid .related-card:nth-child(2) { transition-delay: 120ms; }
.related-grid .related-card:nth-child(3) { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .rv, .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Animations ──────────────────────────────────────────────────────────── */
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

/* Hero sequential entry */
.svc-hero .breadcrumb-nav { animation: heroFadeUp .7s cubic-bezier(.16,1,.3,1) 0s both; }
.svc-hero .kicker          { animation: heroFadeUp .7s cubic-bezier(.16,1,.3,1) .08s both; }
.svc-hero h1               { animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) .15s both; }
.svc-hero .svc-hero-sub    { animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) .28s both; }
.svc-hero .svc-hero-btns   { animation: heroFadeUp .9s cubic-bezier(.16,1,.3,1) .38s both; }

/* ── NSEO Card Grid ──────────────────────────────────────────────────────── */
.nseo-section { background: var(--bg); }
.nseo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.nseo-card {
  display: block;
  padding: 1.5rem;
  border: 1px solid var(--border);
  background: #fff;
  text-decoration: none;
  color: var(--dark);
  transition: border-color .4s cubic-bezier(.16,1,.3,1),
              transform .4s cubic-bezier(.16,1,.3,1),
              box-shadow .4s cubic-bezier(.16,1,.3,1);
}
.nseo-card:hover {
  border-color: var(--dark);
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.nseo-card--main {
  border-color: var(--dark);
  border-width: 2px;
}
.nseo-card--current {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
  padding: 1.5rem;
}
.nseo-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: .2rem .55rem;
  background: var(--accent);
  color: #fff;
  margin-bottom: .75rem;
}
.nseo-badge--main { background: var(--dark); }
.nseo-card--current .nseo-badge { background: rgba(255,255,255,.18); }
.nseo-title {
  font-family: var(--font-display);
  font-size: clamp(.85rem, 1.4vw, 1rem);
  font-weight: 700; margin: 0; line-height: 1.4;
}
@media (max-width: 768px) { .nseo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .nseo-grid { grid-template-columns: 1fr 1fr; gap: .65rem; } }

/* ── Mid-page main link banner ───────────────────────────────────────────── */
.mid-main-banner {
  padding: 2rem clamp(1rem,4vw,2rem);
  background: var(--dark);
}
.mid-main-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap; max-width: var(--content-max); margin: 0 auto;
}
.mid-main-label {
  font-family: var(--font-display); font-size: .65rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .25rem;
}
.mid-main-title {
  font-family: var(--font-display); font-size: clamp(1rem,2vw,1.2rem); font-weight: 800; color: #fff; margin: 0;
}
.mid-main-banner .btn-outline {
  color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.35);
  white-space: nowrap; flex-shrink: 0;
}
.mid-main-banner .btn-outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); }
@media (max-width: 560px) { .mid-main-inner { flex-direction: column; align-items: flex-start; } }

/* ── Service hero 2-button layout ───────────────────────────────────────── */
.svc-hero-btns {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .85rem;
  margin-top: 2rem;
}
.btn-ghost {
  display: inline-flex; align-items: center;
  padding: .72rem 1.8rem;
  font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: #fff; background: transparent;
  border: 1.5px solid rgba(255,255,255,.45);
  border-radius: 9999px;
  text-decoration: none;
  transition: background .25s, border-color .25s;
}
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.8); }

/* ── Visible breadcrumb nav ──────────────────────────────────────────────── */
.breadcrumb-nav { margin-bottom: 1.4rem; }
.breadcrumb-nav ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: .45rem; align-items: center;
  font-family: var(--font-display); font-size: .66rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.breadcrumb-nav li { display: flex; align-items: center; gap: .45rem; color: rgba(255,255,255,.5); }
.breadcrumb-nav li + li::before { content: '›'; }
.breadcrumb-nav a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.breadcrumb-nav a:hover { color: #fff; }
.breadcrumb-nav [aria-current] { color: rgba(255,255,255,.85); }
/* On bg:var(--bg) pages, override to dark */
.breadcrumb-nav--dark li { color: rgba(24,19,15,.4); }
.breadcrumb-nav--dark a { color: rgba(24,19,15,.55); }
.breadcrumb-nav--dark a:hover { color: var(--dark); }
.breadcrumb-nav--dark [aria-current] { color: var(--dark); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .svc-gallery     { grid-template-columns: 1fr 1fr; }
  .ba-compare      { grid-template-columns: 1fr; }
  .feat-grid       { grid-template-columns: 1fr; }
  .method-grid     { grid-template-columns: 1fr; }
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: 1fr; gap: 1.5rem; }
  .pd-nav          { flex-direction: column; }
  .hero-bottom     { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .gallery-grid-cards { grid-template-columns: 1fr; }
  .service-grid        { grid-template-columns: repeat(2, 1fr); }
  .svc-gallery         { grid-template-columns: 1fr; }
  .stats-grid          { grid-template-columns: 1fr 1fr; }
  .consult-cards       { grid-template-columns: 1fr; }
  .region-grid         { grid-template-columns: repeat(2, 1fr); }
  .cta-band            { flex-direction: column; }
  .symp-grid           { grid-template-columns: 1fr; }
  .related-grid        { grid-template-columns: 1fr; }
}
