/* ================================================
   FINERO 피네로 — style.css
   Primary: #1D3461 (Navy) | Accent: #C9A87A (Warm Gold)
   Premium Design System — rb-* 클래스 포함
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Sans+KR:wght@400;500;700&display=swap');

/* ════════════════════════════════════════════════
   SECTION 1 — CSS VARIABLES
   ════════════════════════════════════════════════ */
:root {
  /* Brand Colors */
  --primary:        #1D3461;
  --primary-dark:   #14243f;
  --primary-light:  #2a4d8f;
  --accent:         #C9A87A;
  --accent-dark:    #A08050;
  --accent-light:   #E8D5A8;

  /* Backgrounds */
  --bg-main:        #FAF7F2;
  --bg-section:     #F0EBE0;
  --bg-dark:        #0F1C30;
  --bg-warm:        #EAE4D8;
  --bg-cream:       #FAF7F2;
  --bg-sand:        #F0EBE0;
  --bg-beige:       #EAE4D8;
  --secondary:      #F0EBE0;

  /* Text */
  --text-primary:   #0F1A28;
  --text-secondary: #2A3850;
  --text-muted:     #6B7890;
  --text-on-dark:   #F0EAD8;
  --text-dark:      #0F1A28;
  --text-body:      #2A3850;
  --text-light:     #6B7890;

  /* Borders */
  --border-light:   #DDD5C0;
  --border:         rgba(0,0,0,.08);

  /* Shadows */
  --shadow-sm:      0 2px 8px -1px rgba(20,36,63,.06);
  --shadow:         0 4px 24px -2px rgba(20,36,63,.10);
  --shadow-lg:      0 8px 48px -4px rgba(20,36,63,.14);

  /* Layout */
  --radius:         0px;
  --transition:     all .35s cubic-bezier(.22,1,.36,1);
  --sec-pad:        clamp(80px, 11vw, 140px);
  --nav-h:          68px;

  /* Typography */
  --font-serif:     'IBM Plex Sans KR', 'Apple SD Gothic Neo', sans-serif;
  --font-display:   'DM Sans', 'IBM Plex Sans KR', sans-serif;
  --font-body:      'IBM Plex Sans KR', 'Apple SD Gothic Neo', sans-serif;
}

/* ════════════════════════════════════════════════
   SECTION 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-body);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.78;
  color: var(--text-body);
  background: var(--bg-main);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* Typography */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.3;
}
h1 { font-size: clamp(1.75rem, 4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.2rem); }

/* ════════════════════════════════════════════════
   SECTION 3 — RB-* LAYOUT SYSTEM
   ════════════════════════════════════════════════ */
.rb-container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
}
.rb-section {
  width: 100%;
  padding-block: var(--sec-pad);
}
.rb-section--dark {
  background: #0F1C30;
  color: #F0EAD8;
}
.rb-section--sand { background: #F0EBE0; }
.rb-section--warm { background: #EAE4D8; }

/* ════════════════════════════════════════════════
   SECTION 4 — RB-* HEADER
   ════════════════════════════════════════════════ */
.rb-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(250,247,242,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-bottom-color 0.35s, box-shadow 0.35s;
}
.rb-header--scrolled {
  border-bottom-color: #DDD5C0;
  box-shadow: 0 2px 8px rgba(20,36,63,.06);
}
.rb-header__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  height: 68px;
}
.rb-header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: #14243f;
  margin-right: auto;
  text-decoration: none;
}
.rb-logo-sub {
  font-weight: 400;
  color: #2A3850;
  font-size: 0.95rem;
}
.rb-logo-tagline {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #A08050;
  margin-left: 0.6rem;
  padding-left: 0.6rem;
  border-left: 1px solid #DDD5C0;
  vertical-align: middle;
}
.rb-header__nav {
  display: flex;
  gap: 2rem;
}
.rb-nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #2A3850;
  transition: 0.35s;
  padding: 0.25rem 0;
  position: relative;
  text-decoration: none;
}
.rb-nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%; height: 1px;
  background: #A08050;
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.3s cubic-bezier(.22,1,.36,1);
}
.rb-nav__link:hover { color: #1D3461; }
.rb-nav__link:hover::after { transform: scaleX(1); }
.rb-header__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.4rem;
  background: #1D3461;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 0;
  transition: 0.35s;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-decoration: none;
}
.rb-header__cta:hover {
  background: #14243f;
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════
   SECTION 5 — RB-* EYEBROW
   ════════════════════════════════════════════════ */
.rb-eyebrow {
  display: inline-block;
  font-family: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #A08050;
  margin-bottom: 1rem;
}

/* ════════════════════════════════════════════════
   SECTION 6 — RB-* HERO
   ════════════════════════════════════════════════ */
.rb-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #F0EAD8;
}
.rb-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.rb-hero__img-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: kenBurns 12s ease-in-out infinite alternate;
}
@keyframes kenBurns {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.06); }
}
.rb-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15,28,48,0.90) 0%,
    rgba(15,28,48,0.65) 35%,
    rgba(15,28,48,0.30) 65%,
    rgba(15,28,48,0.05) 100%
  );
}
.rb-hero__body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(80px, 12vw, 160px) 0;
  padding-top: calc(68px + clamp(60px, 10vw, 120px));
}
.rb-hero__inner {
  max-width: 680px;
}
.rb-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6.5vw, 5.6rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0.5rem 0 1.25rem;
  color: #F0EAD8;
  word-break: keep-all;
}
.rb-hero__sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.75;
  color: rgba(240,234,216,.8);
  margin-bottom: 2.5rem;
  word-break: keep-all;
}
.rb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.rb-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}
.rb-hero__trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.rb-hero__trust-item strong {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #E8D5A8;
}
.rb-hero__trust-item span {
  font-size: 0.75rem;
  color: rgba(240,234,216,0.6);
}
.rb-hero__trust-sep {
  width: 1px;
  height: 32px;
  background: rgba(201,168,122,0.3);
}

/* ════════════════════════════════════════════════
   SECTION 7 — RB-* BUTTONS
   ════════════════════════════════════════════════ */
.rb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'IBM Plex Sans KR', 'Apple SD Gothic Neo', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
  min-height: 52px;
  padding: 14px 32px;
  transition: 0.35s cubic-bezier(.22,1,.36,1);
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.rb-btn--primary {
  background: #1D3461;
  color: white;
  box-shadow: 0 12px 32px rgba(20,36,63,.10);
}
.rb-btn--primary:hover {
  background: #14243f;
  transform: translateY(-2px);
  box-shadow: 0 24px 60px rgba(20,36,63,.16);
}
.rb-btn--gold {
  background: #A08050;
  color: white;
  box-shadow: 0 12px 32px rgba(20,36,63,.10);
}
.rb-btn--gold:hover {
  background: #14243f;
  transform: translateY(-2px);
}
.rb-btn--outline {
  background: transparent;
  color: #F0EAD8;
  border: 1.5px solid rgba(201,168,122,0.7);
}
.rb-btn--outline:hover {
  background: rgba(201,168,122,0.18);
  border-color: #C9A87A;
  color: #E8D5A8;
}
.rb-btn--outline-dark {
  background: transparent;
  color: #1D3461;
  border: 1px solid #1D3461;
  padding: 14px 32px;
}
.rb-btn--outline-dark:hover {
  background: #1D3461;
  color: white;
}

/* ════════════════════════════════════════════════
   SECTION 8 — RB-* SECTION HEADER
   ════════════════════════════════════════════════ */
.rb-section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.rb-section-header__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #A08050;
  margin-bottom: 1rem;
}
.rb-section-header__title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.6vw, 2.55rem);
  font-weight: 700;
  color: #0F1A28;
  margin-bottom: 0.75rem;
  word-break: keep-all;
}
.rb-section--dark .rb-section-header__title { color: #F0EAD8; }
.rb-section-header__sub {
  font-size: 1.05rem;
  color: #6B7890;
  max-width: 48ch;
  margin-inline: auto;
  word-break: keep-all;
}

/* ════════════════════════════════════════════════
   SECTION 9 — RB-* STATS
   ════════════════════════════════════════════════ */
.rb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}
.rb-stat {
  padding: 2rem 1rem;
  position: relative;
}
.rb-stat + .rb-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 25%;
  height: 50%; width: 1px;
  background: rgba(201,168,122,0.25);
}
.rb-stat__number {
  font-family: 'DM Sans', 'IBM Plex Sans KR', sans-serif;
  font-size: clamp(2.4rem, 4.6vw, 3.4rem);
  font-weight: 600;
  color: #C9A87A;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
  display: block;
}
.rb-stat__number::after {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: #C9A87A;
  margin: 14px auto 0;
}
.rb-stat__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #F0EAD8;
  opacity: 0.85;
  letter-spacing: 0.03em;
  word-break: keep-all;
  line-height: 1.5;
}
.rb-stat__label small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.65;
  margin-top: 0.2rem;
}

/* ════════════════════════════════════════════════
   SECTION 10 — RB-* BENTO GRID
   ════════════════════════════════════════════════ */
.rb-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 320px) 260px;
  gap: 6px;
}
.rb-bento__item {
  position: relative;
  overflow: hidden;
  background: #F0EBE0;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s;
}
.rb-bento__item:hover {
  box-shadow: 0 24px 60px rgba(20,36,63,.16);
  z-index: 2;
}
.rb-bento__item:nth-child(1) { grid-column: 1/9; grid-row: 1/3; }
.rb-bento__item:nth-child(2) { grid-column: 9/13; grid-row: 1/2; }
.rb-bento__item:nth-child(3) { grid-column: 9/13; grid-row: 2/3; }
.rb-bento__item:nth-child(4) { grid-column: 1/5; grid-row: 3/4; }
.rb-bento__item:nth-child(5) { grid-column: 5/9; grid-row: 3/4; }
.rb-bento__item:nth-child(6) { grid-column: 9/13; grid-row: 3/4; }
.rb-bento__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.22,1,.36,1);
}
.rb-bento__item:hover .rb-bento__img { transform: scale(1.04); }
.rb-bento__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(15,28,48,0.88) 0%, transparent 100%);
  color: white;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.35s cubic-bezier(.22,1,.36,1);
}
.rb-bento__item:hover .rb-bento__overlay {
  opacity: 1;
  transform: translateY(0);
}
.rb-bento__overlay-title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  word-break: keep-all;
}
.rb-bento__overlay-sub {
  font-size: 0.8rem;
  opacity: 0.8;
  word-break: keep-all;
}

/* ════════════════════════════════════════════════
   SECTION 11 — RB-* SERVICE CARDS
   ════════════════════════════════════════════════ */
.rb-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.rb-service-card {
  background: white;
  border: 1px solid #DDD5C0;
  padding: 2.5rem 2rem;
  position: relative;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s;
  overflow: hidden;
}
.rb-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: #C9A87A;
  transition: width 0.4s cubic-bezier(.22,1,.36,1);
}
.rb-service-card:hover::before { width: 100%; }
.rb-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(20,36,63,.12);
}
.rb-service-card__num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #A08050;
  margin-bottom: 1.25rem;
  display: block;
}
.rb-service-card__title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: #14243f;
  margin-bottom: 0.75rem;
  word-break: keep-all;
}
.rb-service-card__desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #2A3850;
  margin: 0;
  word-break: keep-all;
}

/* ════════════════════════════════════════════════
   SECTION 12 — RB-* BEFORE/AFTER
   ════════════════════════════════════════════════ */
.rb-ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.rb-ba-item {
  background: white;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(20,36,63,.06);
}
.rb-ba-item__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  position: relative;
}
.rb-ba-item__label {
  position: absolute;
  top: 12px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  z-index: 2;
}
.rb-ba-item__label--before {
  left: 12px;
  background: rgba(0,0,0,0.65);
  color: white;
}
.rb-ba-item__label--after {
  right: 12px;
  background: #1D3461;
  color: white;
}
.rb-ba-item__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.rb-ba-item__info { padding: 1.25rem; }
.rb-ba-item__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #14243f;
  margin-bottom: 0.25rem;
  word-break: keep-all;
}
.rb-ba-item__location {
  font-size: 0.85rem;
  color: #6B7890;
}

/* ════════════════════════════════════════════════
   SECTION 13 — RB-* PROCESS
   ════════════════════════════════════════════════ */
.rb-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.rb-process__step {
  position: relative;
  padding-top: 1rem;
  border-top: 1px solid #DDD5C0;
  transition: border-color 0.35s;
}
.rb-process__step:hover { border-top-color: #C9A87A; }
.rb-process__step-num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #C9A87A;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
  letter-spacing: -0.02em;
}
.rb-process__step-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: #14243f;
  margin-bottom: 0.5rem;
  word-break: keep-all;
}
.rb-process__step-desc {
  font-size: 0.9rem;
  color: #2A3850;
  line-height: 1.75;
  word-break: keep-all;
}

/* ════════════════════════════════════════════════
   SECTION 14 — RB-* CTA BANNER (Split)
   ════════════════════════════════════════════════ */
.rb-cta-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  overflow: hidden;
}
.rb-cta-banner__media {
  position: relative;
  overflow: hidden;
}
.rb-cta-banner__media::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: #C9A87A;
  z-index: 2;
}
.rb-cta-banner__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.22,1,.36,1);
}
.rb-cta-banner:hover .rb-cta-banner__img { transform: scale(1.04); }
.rb-cta-banner__body {
  background: #0F1C30;
  padding: clamp(2.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
}
.rb-cta-banner__eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #C9A87A;
}
.rb-cta-banner__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: #F0EAD8;
  line-height: 1.3;
  word-break: keep-all;
}
.rb-cta-banner__sub {
  font-size: 0.95rem;
  color: rgba(240,234,216,0.7);
  line-height: 1.75;
  word-break: keep-all;
}
.rb-cta-banner__micro {
  font-size: 0.8rem;
  color: rgba(240,234,216,0.45);
  letter-spacing: 0.03em;
}

/* ════════════════════════════════════════════════
   SECTION 15 — RB-* REVIEWS
   ════════════════════════════════════════════════ */
.rb-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.rb-review {
  margin: 0;
  padding: 2rem;
  background: white;
  border-left: 3px solid #C9A87A;
}
.rb-review__stars {
  color: #A08050;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.rb-review__text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #2A3850;
  margin: 0 0 1.25rem;
  word-break: keep-all;
}
.rb-review__meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.82rem;
  color: #6B7890;
}
.rb-review__name {
  font-weight: 700;
  color: #2A3850;
}
.rb-review__loc::before {
  content: '·';
  margin-right: 0.5rem;
}

/* ════════════════════════════════════════════════
   SECTION 16 — RB-* FAQ
   ════════════════════════════════════════════════ */
.rb-faq {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}
.rb-faq__item {
  border-top: 1px solid #DDD5C0;
  transition: border-color 0.35s;
}
.rb-faq__item:last-child { border-bottom: 1px solid #DDD5C0; }
.rb-faq__item.is-open { border-top-color: #A08050; }
.rb-faq__question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  color: #0F1A28;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: color 0.35s;
  word-break: keep-all;
}
.rb-faq__question:hover { color: #1D3461; }
.rb-faq__toggle {
  flex-shrink: 0;
  width: 24px; height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 300;
  color: #A08050;
  transition: transform 0.35s, color 0.35s;
  line-height: 1;
}
.rb-faq__item.is-open .rb-faq__toggle {
  transform: rotate(45deg);
  color: #1D3461;
}
.rb-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.22,1,.36,1);
}
.rb-faq__item.is-open .rb-faq__answer { max-height: 500px; }
.rb-faq__answer-inner {
  padding: 0 0 1.5rem;
  font-size: 0.95rem;
  color: #2A3850;
  line-height: 1.8;
  word-break: keep-all;
}

/* ════════════════════════════════════════════════
   SECTION 17 — RB-* FOOTER
   ════════════════════════════════════════════════ */
.rb-footer {
  background: #0F1C30;
  color: #F0EAD8;
  padding: 3rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.rb-footer__inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 60px);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
}
.rb-footer__brand {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #E8D5A8;
  margin-bottom: 0.4rem;
}
.rb-footer__meta {
  font-size: 0.85rem;
  color: rgba(240,234,216,0.55);
  margin-bottom: 0.3rem;
}
.rb-footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}
.rb-footer__nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.rb-footer__nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.35s;
}
.rb-footer__nav a:hover { color: #E8D5A8; }

/* ════════════════════════════════════════════════
   SECTION 18 — RB-* MOBILE STICKY + DESKTOP FLOAT
   ════════════════════════════════════════════════ */
.rb-sticky-mobile {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: white;
  border-top: 1px solid #DDD5C0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}
.rb-sticky-mobile__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: 0.35s;
  text-decoration: none;
}
.rb-sticky-mobile__btn--consult {
  background: #1D3461;
  color: white;
}
.rb-sticky-mobile__btn--call {
  background: white;
  color: #1D3461;
  border-right: 1px solid #DDD5C0;
}

.dp-float-cta {
  display: none;
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 200;
  width: 64px; height: 64px;
  border-radius: 0;
  background: #0F1C30;
  color: white;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 60px rgba(20,36,63,.16);
  border-left: 3px solid #C9A87A;
  transition: transform 0.35s, box-shadow 0.35s;
  animation: rb-float-in 0.5s cubic-bezier(.22,1,.36,1) both;
}
.dp-float-cta::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px solid #C9A87A;
  opacity: 0;
  animation: dp-float-ring 2.4s ease-in-out infinite;
}
@keyframes dp-float-ring {
  0%, 100% { opacity: 0; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(1.12); }
}
.dp-float-cta:hover { transform: translateY(-3px); }
.dp-float-cta__icon { width: 26px; height: 26px; }
@keyframes rb-float-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════════════
   SECTION 19 — RB-* ANIMATIONS
   ════════════════════════════════════════════════ */
.rb-animate {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(4px);
  transition:
    opacity 0.7s cubic-bezier(.22,1,.36,1),
    transform 0.7s cubic-bezier(.22,1,.36,1),
    filter 0.7s cubic-bezier(.22,1,.36,1);
}
.rb-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
.rb-animate--delay-1.is-visible { transition-delay: 0.1s; }
.rb-animate--delay-2.is-visible { transition-delay: 0.2s; }
.rb-animate--delay-3.is-visible { transition-delay: 0.3s; }
.rb-animate--delay-4.is-visible { transition-delay: 0.4s; }

/* ════════════════════════════════════════════════
   SECTION 20 — RB-* RESPONSIVE
   ════════════════════════════════════════════════ */
@media (max-width: 1150px) {
  .rb-stats   { grid-template-columns: repeat(2, 1fr); }
  .rb-process { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .rb-bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .rb-bento__item:nth-child(1) { grid-column: 1/3; grid-row: auto; }
  .rb-bento__item:nth-child(n) { grid-column: auto; grid-row: auto; }
  .rb-bento__img { min-height: 240px; }
  .rb-bento__item:nth-child(1) .rb-bento__img { min-height: 320px; }
  .rb-ba-grid  { grid-template-columns: 1fr; }
  .rb-cta-banner { grid-template-columns: 1fr; }
  .rb-cta-banner__media { min-height: 260px; }
}

@media (max-width: 900px) {
  .rb-reviews-grid  { grid-template-columns: 1fr 1fr; }
  .rb-services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .rb-header__nav   { display: none; }
  .rb-sticky-mobile { display: flex; }
  .dp-float-cta     { display: none; }
  body              { padding-bottom: 70px; }
  .rb-bento         { grid-template-columns: 1fr 1fr; gap: 4px; }
  .rb-bento__item:nth-child(1) { grid-column: 1/3; }
  .rb-bento__img    { min-height: 200px; }
  .rb-stats         { grid-template-columns: repeat(2, 1fr); }
  .rb-services-grid { grid-template-columns: 1fr; }
  .rb-process       { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .rb-hero__trust-sep { display: none; }
}

@media (max-width: 600px) {
  .rb-reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .rb-bento         { grid-template-columns: 1fr; }
  .rb-bento__item:nth-child(1) { grid-column: 1; }
  .rb-stats         { grid-template-columns: 1fr 1fr; }
  .rb-process       { grid-template-columns: 1fr; }
  .rb-services-grid { grid-template-columns: 1fr; }
}

@media (min-width: 769px) {
  .dp-float-cta     { display: flex; }
  .rb-sticky-mobile { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .rb-animate { opacity: 1; transform: none; filter: none; transition: none; }
  .rb-hero__img-bg { animation: none; }
}

/* ════════════════════════════════════════════════
   SECTION 21 — LEGACY UTILITIES (기존 호환)
   ════════════════════════════════════════════════ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.text-center { text-align: center; }
.kicker {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(160,128,80,.1);
  padding: .25rem .8rem;
  margin-bottom: .75rem;
  border-radius: 2px;
}
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.section--alt { background: var(--secondary); }
.section-pad {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.section-pad--sm {
  padding: clamp(2rem, 4vw, 3rem) 0;
}
.section-title {
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  color: var(--text-dark);
  margin-bottom: .5rem;
}
.section-title--light { color: #fff; }

/* ════════════════════════════════════════════════
   SECTION 22 — LEGACY BUTTONS
   ════════════════════════════════════════════════ */
.btn, .btn-primary, .btn--primary,
.btn-outline, .btn--outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary, .btn--primary {
  background: var(--accent-dark);
  color: #fff;
  border-color: var(--accent-dark);
}
.btn-primary:hover, .btn--primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(160,128,80,.35);
}
.btn-primary--light {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}
.btn-primary--light:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}
.btn-outline, .btn--outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover, .btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* ════════════════════════════════════════════════
   SECTION 23 — LEGACY SITE HEADER
   ════════════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  transition: background .35s ease, box-shadow .35s ease;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* Transparent (over hero) */
.site-header:not(.scrolled) .logo-text,
.site-header:not(.scrolled) .site-nav a { color: #fff; }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }
/* Scrolled */
.site-header.scrolled {
  background: var(--bg-main);
  box-shadow: var(--shadow);
}
.site-header.scrolled .logo-text { color: var(--primary); }
.site-header.scrolled .site-nav a { color: var(--text-dark); }
.site-header.scrolled .nav-toggle span { background: var(--text-dark); }

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
}
.logo-svg {
  width: 44px; height: 44px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: .05em;
  font-size: 1.1rem;
  transition: color .3s;
}

/* Nav */
.site-nav { display: flex; align-items: center; gap: 2rem; }
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-menu a {
  font-size: .9rem;
  font-weight: 600;
  transition: color .25s ease;
  padding: .25rem 0;
  position: relative;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}
.nav-menu a:hover::after { width: 100%; }
.nav-cta-item { margin-left: .5rem; }
.nav-cta-link {
  background: var(--primary) !important;
  color: #fff !important;
  padding: .45rem 1.1rem !important;
  border-radius: var(--radius) !important;
  font-size: .88rem !important;
  transition: var(--transition) !important;
}
.nav-cta-link:hover { background: var(--primary-dark) !important; }
.nav-cta-link::after { display: none !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: .5rem;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ════════════════════════════════════════════════
   SECTION 24 — LEGACY HERO SLIDER
   ════════════════════════════════════════════════ */
.hero-slider, .hero-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background-color: var(--primary-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .9s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide__img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  animation: heroZoom 7s ease-out forwards;
}
.hero-slide__overlay,
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
}
@keyframes heroZoom {
  from { transform: scale(1.07); }
  to   { transform: scale(1); }
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: calc(var(--nav-h) + 2rem) clamp(1rem, 3vw, 2rem) 5rem;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.hero-subtitle, .hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.88);
  margin-bottom: 1.5rem;
  letter-spacing: .02em;
}
.hero-notice {
  max-width: 460px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: .9rem 1.4rem;
  font-size: .88rem;
  line-height: 1.65;
  margin-bottom: 2rem;
  color: rgba(255,255,255,.92);
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .65rem;
  z-index: 3;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.38);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.hero-dot.is-active {
  background: #fff;
  transform: scale(1.4);
}
.hero-prev, .hero-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.3rem;
}
.hero-prev { left: 1.5rem; }
.hero-next { right: 1.5rem; }
.hero-prev:hover, .hero-next:hover {
  background: rgba(255,255,255,.25);
  transform: translateY(-50%) scale(1.05);
}

/* ════════════════════════════════════════════════
   SECTION 25 — LEGACY PAGE HERO
   ════════════════════════════════════════════════ */
.page-hero {
  position: relative;
  min-height: clamp(300px, 40vw, 500px);
  background: var(--primary);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.page-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .3;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(29,52,97,.88) 0%, rgba(20,36,63,.72) 100%);
}
.page-hero .container {
  position: relative;
  z-index: 1;
  color: #fff;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.page-hero__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: .75rem;
}
.page-hero__desc {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,.82);
  max-width: 580px;
  line-height: 1.75;
}

/* ════════════════════════════════════════════════
   SECTION 26 — LEGACY SECTION HEADERS
   ════════════════════════════════════════════════ */
.section-header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-header .kicker { display: block; margin-bottom: .5rem; }
.section-header h2 { margin-bottom: .5rem; }
.section-header p {
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  font-size: .95rem;
}

/* ════════════════════════════════════════════════
   SECTION 27 — LEGACY CASE CARDS
   ════════════════════════════════════════════════ */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}
.case-card {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.case-card__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}
.case-card__before,
.case-card__after {
  position: relative;
  overflow: hidden;
}
.case-card__before img,
.case-card__after img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.case-card:hover .case-card__before img,
.case-card:hover .case-card__after img { transform: scale(1.05); }
.case-card__label {
  position: absolute;
  bottom: 0; left: 0;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .5rem;
  letter-spacing: .05em;
}
.case-card__footer {
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.case-card__title {
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-dark);
  flex: 1;
}
.case-card__badge {
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .65rem;
  border-radius: 20px;
  background: rgba(29,52,97,.1);
  color: var(--primary);
  white-space: nowrap;
}
.case-card__link {
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent-dark);
  white-space: nowrap;
  transition: color .2s;
}
.case-card__link:hover { color: var(--primary); }

/* ════════════════════════════════════════════════
   SECTION 28 — LEGACY GALLERY PAGE
   ════════════════════════════════════════════════ */
.gallery-main { min-height: 60vh; }
.gallery-hero { background: var(--primary); }
.gallery-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.case-thumb {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.case-thumb:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.case-thumb__img-wrap {
  overflow: hidden;
  position: relative;
}
.case-thumb__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .5s ease;
  display: block;
}
.case-thumb:hover .case-thumb__img { transform: scale(1.06); }
.case-thumb__body { padding: 1rem 1.1rem; }
.case-thumb__title {
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-dark);
  margin-bottom: .35rem;
}
.case-thumb__badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  padding: .18rem .6rem;
  border-radius: 20px;
  background: rgba(29,52,97,.1);
  color: var(--primary);
  margin-bottom: .35rem;
}
.case-thumb__location {
  font-size: .82rem;
  color: var(--text-light);
}
.case-thumb__more {
  display: inline-block;
  margin-top: .75rem;
  font-size: .82rem;
  font-weight: 700;
  color: var(--accent-dark);
}
.case-thumb__link { display: block; }
.gallery-cta { text-align: center; padding: 2rem 0; }
.gallery-cta__text { margin-bottom: 1.25rem; color: var(--text-light); }
.gallery-link-wrap { text-align: center; margin-top: 2.5rem; }

/* ════════════════════════════════════════════════
   SECTION 29 — LEGACY SERVICE CARDS
   ════════════════════════════════════════════════ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.5rem;
}
.service-card {
  padding: 1.75rem;
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  transition: var(--transition);
  border-top: 3px solid transparent;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent);
}
.service-icon {
  width: 48px; height: 48px;
  margin-bottom: 1rem;
  color: var(--primary);
}
.service-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.service-card p { font-size: .88rem; color: var(--text-light); line-height: 1.65; }
.service-card__icon {
  width: 48px; height: 48px;
  color: var(--primary);
  margin-bottom: .5rem;
}
.service-card__icon svg { width: 100%; height: 100%; }
.service-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
}
.service-card__desc {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.65;
  flex: 1;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--accent-dark);
  margin-top: .5rem;
  transition: gap .2s;
}
.service-card__link:hover { gap: .6rem; }

/* ════════════════════════════════════════════════
   SECTION 30 — LEGACY STATS
   ════════════════════════════════════════════════ */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item { padding: 1rem; }
.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: .4rem;
}
.stat-label {
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  letter-spacing: .04em;
}

/* ════════════════════════════════════════════════
   SECTION 31 — LEGACY FAQ
   ════════════════════════════════════════════════ */
.faq-section { background: var(--bg-cream); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.faq-list { max-width: 800px; margin: 0 auto; }
.cc-faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--text-dark);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  gap: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}
.faq-chevron {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--accent-dark);
  transition: transform .3s ease;
}
.cc-faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.cc-faq-item.open .faq-a { max-height: 500px; }
.faq-a-inner {
  padding: 0 0 1.25rem;
  color: var(--text-body);
  font-size: .92rem;
  line-height: 1.78;
}

/* ════════════════════════════════════════════════
   SECTION 32 — LEGACY MAIN PAGE SECTIONS
   ════════════════════════════════════════════════ */
.section-gallery-preview,
.section-services,
.section-faq,
.section-regions {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.section-gallery-preview { background: var(--bg-main); }
.section-services         { background: var(--secondary); }
.section-faq              { background: var(--bg-cream); }
.section-regions          { background: var(--bg-main); }
.section-stats {
  padding: clamp(3rem, 6vw, 5rem) 0;
  color: #fff;
}
.section-stats .section-title { margin-bottom: 2.5rem; }
.section-cta {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  text-align: center;
  color: #fff;
}
.section-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2.25rem);
  color: #fff;
  margin-bottom: .75rem;
  font-weight: 700;
  line-height: 1.3;
}
.section-cta__desc {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,.9);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.section-more {
  text-align: center;
  margin-top: 2.5rem;
}

/* Services grid (main page) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* ════════════════════════════════════════════════
   SECTION 33 — LEGACY REGION CARDS
   ════════════════════════════════════════════════ */
.regions-grid,
.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: .85rem;
}
.region-card {
  padding: .9rem 1rem;
  text-align: center;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: .9rem;
  color: var(--text-dark);
  transition: var(--transition);
  border-bottom: 2px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .4rem;
}
.region-card:hover {
  box-shadow: var(--shadow);
  border-bottom-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}
.region-card__title { font-size: .88rem; flex: 1; }
.region-card__arrow { color: var(--accent-dark); flex-shrink: 0; }

/* ════════════════════════════════════════════════
   SECTION 34 — LEGACY CTA BAND
   ════════════════════════════════════════════════ */
.cta-band {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.cta-band h2, .cta-band h3 { color: #fff; margin-bottom: .75rem; }
.cta-band__text {
  font-size: clamp(.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,.9);
  max-width: 540px;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}
.cta-band .btn-primary--light { border-color: #fff; }

/* ════════════════════════════════════════════════
   SECTION 35 — LEGACY INTRO / FEAT / SYMP / PROC / METHOD
   ════════════════════════════════════════════════ */
.intro-section { background: var(--bg-main); padding: clamp(3rem, 6vw, 5rem) 0; }
.intro-paragraph {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.85;
  color: var(--text-body);
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.feat-card {
  padding: 2rem 1.75rem 1.75rem;
  background: var(--secondary);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.feat-card:hover {
  background: #fff;
  box-shadow: var(--shadow);
  border-left-color: var(--accent);
  transform: translateY(-3px);
}
.feat-num {
  position: absolute;
  top: 1rem; right: 1.25rem;
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-dark);
  opacity: .18;
  line-height: 1;
  user-select: none;
}
.feat-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .5rem;
  position: relative;
}
.feat-card__desc {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.7;
  position: relative;
}

.symp-section { background: var(--bg-cream); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.symp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.symp-card {
  display: flex;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  align-items: flex-start;
  transition: var(--transition);
}
.symp-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.symp-badge {
  width: 36px; height: 36px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .82rem;
  flex-shrink: 0;
}
.symp-card h4 { font-size: .95rem; margin-bottom: .25rem; color: var(--text-dark); }
.symp-card p { font-size: .85rem; color: var(--text-light); line-height: 1.6; }
.symp-cta { text-align: center; }

.process-section { background: var(--bg-main); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.proc-list {
  display: flex;
  flex-direction: column;
  max-width: 660px;
  margin: 0 auto;
}
.proc-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 2px solid rgba(29,52,97,.12);
  position: relative;
}
.proc-step:last-child { border-left-color: transparent; }
.proc-num {
  width: 42px; height: 42px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: .82rem;
  flex-shrink: 0;
  position: absolute;
  left: -21px;
  top: 1.5rem;
  box-shadow: 0 0 0 4px var(--bg-main);
}
.proc-body { padding-left: 1rem; }
.proc-title { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: .3rem; }
.proc-desc { font-size: .88rem; color: var(--text-light); line-height: 1.65; }

.method-section { background: var(--secondary); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.method-card {
  padding: 2rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.method-card--highlight {
  border: 2px solid var(--accent);
  box-shadow: 0 4px 24px rgba(201,168,122,.15);
}
.method-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.method-pros, .method-cons { font-size: .88rem; line-height: 1.7; }
.method-pros { margin-bottom: 1rem; }
.method-pros li, .method-cons li {
  display: flex;
  gap: .5rem;
  align-items: flex-start;
  margin-bottom: .35rem;
}
.method-pros li::before {
  content: '+';
  color: var(--accent-dark);
  font-weight: 700;
  flex-shrink: 0;
}
.method-cons li::before {
  content: '-';
  color: var(--text-light);
  font-weight: 700;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════
   SECTION 36 — LEGACY SERVICE GALLERY
   ════════════════════════════════════════════════ */
.svc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.svc-gallery {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  margin: 0;
}
.svc-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.svc-gallery:hover img { transform: scale(1.06); }
.svc-gallery figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.65));
  color: #fff;
  padding: 1.5rem .85rem .75rem;
  font-size: .8rem;
  line-height: 1.45;
}

/* ════════════════════════════════════════════════
   SECTION 37 — LEGACY RELATED SERVICES
   ════════════════════════════════════════════════ */
.related-section { background: var(--bg-cream); padding: clamp(3rem, 6vw, 5rem) 0; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.related-card {
  padding: 1.5rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.related-card:hover {
  box-shadow: var(--shadow);
  border-left-color: var(--accent);
  transform: translateX(4px);
}
.related-card__title { font-weight: 700; font-size: .95rem; color: var(--text-dark); }
.related-card__arrow { color: var(--accent-dark); font-size: 1.1rem; flex-shrink: 0; }

/* ════════════════════════════════════════════════
   SECTION 38 — LEGACY PORTFOLIO DETAIL
   ════════════════════════════════════════════════ */
.portfolio-detail-main { min-height: 70vh; }

.pd-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--primary-dark);
  padding-top: var(--nav-h);
}
.pd-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.25) 60%);
}
.pd-hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding-bottom: 3rem;
}
.pd-hero__badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--accent-dark);
  color: #fff;
  padding: .3rem .85rem;
  border-radius: 2px;
  margin-bottom: .75rem;
}
.pd-hero__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: .5rem;
}
.pd-hero__location {
  font-size: .92rem;
  color: rgba(255,255,255,.7);
}

.pd-ba      { background: var(--secondary); }
.pd-summary { background: var(--bg-main); }
.pd-process { background: var(--bg-cream); }

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  max-width: 860px;
  margin: 0 auto;
}
.ba-grid__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.ba-grid__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.ba-grid__label {
  position: absolute;
  bottom: .5rem; left: .5rem;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: .2rem .6rem;
  border-radius: 2px;
  letter-spacing: .06em;
}
.ba-grid__item--before .ba-grid__label { background: rgba(160,128,80,.85); }
.ba-grid__item--after  .ba-grid__label { background: rgba(29,52,97,.9); }

.summary-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.summary-card {
  padding: 1.25rem;
  background: var(--secondary);
  border-radius: var(--radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.summary-card__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.summary-card__value { font-weight: 700; color: var(--text-dark); font-size: .95rem; }
.pd-summary__text {
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.82;
  color: var(--text-body);
  max-width: 720px;
}

.process-steps {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  counter-reset: pstep;
  list-style: none;
  padding: 0;
}
.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--secondary);
  border-radius: var(--radius);
}
.process-step__num {
  width: 30px; height: 30px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .8rem;
  flex-shrink: 0;
}
.process-step__text { font-size: .92rem; color: var(--text-body); line-height: 1.65; padding-top: .2rem; }

.pd-cta { text-align: center; background: var(--secondary); }
.pd-cta__heading { font-size: clamp(1.2rem, 2.5vw, 1.75rem); margin-bottom: .5rem; }
.pd-cta__desc { color: var(--text-light); margin-bottom: 1.5rem; font-size: .95rem; }

.pd-nav { border-top: 1px solid var(--border); }
.pd-nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
}
.pd-nav__prev { justify-self: start; }
.pd-nav__next { justify-self: end; text-align: right; }
.pd-nav__link {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  transition: color .2s;
}
.pd-nav__link:hover { color: var(--accent-dark); }
.pd-nav__dir {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.pd-nav__case-title { font-weight: 600; font-size: .92rem; color: var(--text-dark); }
.pd-nav__link:hover .pd-nav__case-title { color: var(--accent-dark); }
.pd-nav__all {
  font-size: .88rem;
  font-weight: 700;
  color: var(--primary);
  padding: .5rem 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  white-space: nowrap;
}
.pd-nav__all:hover { border-color: var(--primary); background: var(--primary); color: #fff; }

/* ════════════════════════════════════════════════
   SECTION 39 — LEGACY CONSULTATION PAGE
   ════════════════════════════════════════════════ */
.consultation-main { min-height: 70vh; }
.consultation-hero { background: var(--primary); }
.consultation-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.consultation-container { max-width: 680px; margin: 0 auto; }
.consult-card {
  background: #fff;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: var(--transition);
  border-left: 4px solid var(--primary);
}
.consult-card--call { border-left-color: var(--primary); }
.consult-card--sms  { border-left-color: var(--accent); }
.consult-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.consult-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}
.consult-card--sms .consult-card__icon { background: rgba(201,168,122,.1); color: var(--accent-dark); }
.consult-card__body { flex: 1; }
.consult-card__label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: .25rem;
}
.consult-card__phone {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .25rem;
}
.consult-card--sms .consult-card__phone { color: var(--accent-dark); }
.consult-card__desc { font-size: .85rem; color: var(--text-light); }
.consult-card__sms-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .75rem;
  padding: .55rem 1.2rem;
  background: rgba(201,168,122,.1);
  color: var(--accent-dark);
  font-weight: 700;
  font-size: .88rem;
  border-radius: var(--radius);
  transition: var(--transition);
}
.consult-card__sms-btn:hover { background: var(--accent-dark); color: #fff; }
.consult-notice {
  background: rgba(29,52,97,.06);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 2rem;
  display: flex;
  gap: .75rem;
  align-items: flex-start;
}
.consult-notice__icon { color: var(--primary); flex-shrink: 0; margin-top: .1rem; }
.consult-notice__text { font-size: .9rem; color: var(--text-body); line-height: 1.65; }
.consult-biz {
  background: var(--secondary);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.consult-biz__list { list-style: none; padding: 0; }
.consult-biz__heading {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 1rem;
}
.consult-biz__row {
  display: flex;
  gap: .5rem;
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
}
.consult-biz__row:last-child { border-bottom: none; }
.consult-biz__label { font-weight: 600; color: var(--text-light); min-width: 90px; flex-shrink: 0; }
.consult-biz__value { color: var(--text-dark); }
.consult-back { margin-top: 1.5rem; }

/* ════════════════════════════════════════════════
   SECTION 40 — LEGACY SITEMAP PAGE
   ════════════════════════════════════════════════ */
.sitemap-main { min-height: 60vh; padding: calc(var(--nav-h) + 2rem) 0 4rem; }
.sitemap-search { max-width: 440px; margin: 0 auto 2rem; }
.sitemap-search input {
  width: 100%;
  padding: .85rem 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  outline: none;
  transition: border-color .2s;
}
.sitemap-search input:focus { border-color: var(--primary); }
.sitemap-filters {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}
.sitemap-filter-btn {
  padding: .45rem 1rem;
  border: 2px solid var(--border);
  border-radius: 20px;
  background: #fff;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-body);
}
.sitemap-filter-btn.active,
.sitemap-filter-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}
.sitemap-card {
  padding: 1.1rem 1.25rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: .85rem;
  transition: var(--transition);
}
.sitemap-card:hover { box-shadow: var(--shadow); transform: translateX(3px); }
.sitemap-icon { color: var(--accent-dark); flex-shrink: 0; }
.sitemap-card-title { font-weight: 600; font-size: .9rem; color: var(--text-dark); }
.sitemap-category { font-size: .75rem; color: var(--text-light); }

/* ════════════════════════════════════════════════
   SECTION 41 — LEGACY FOOTER
   ════════════════════════════════════════════════ */
.site-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.65);
  margin-top: auto;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(3rem,6vw,4.5rem) clamp(1rem,3vw,2rem) clamp(2rem,4vw,3rem);
}
.footer-col { min-width: 0; }
.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .5rem;
}
.footer-keyword {
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1.25rem;
}
.footer-biz-info { font-size: .82rem; line-height: 1.9; }
.footer-biz-info li {
  display: flex;
  gap: .5rem;
}
.footer-biz-info a {
  color: rgba(255,255,255,.65);
  transition: color .2s;
}
.footer-biz-info a:hover { color: #fff; }
.footer-label { color: rgba(255,255,255,.4); min-width: 72px; flex-shrink: 0; }
.footer-col-heading {
  font-family: var(--font-serif);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: .55rem; }
.footer-links a {
  font-size: .88rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem clamp(1rem,3vw,2rem);
  text-align: center;
}
.footer-copyright { font-size: .82rem; color: rgba(255,255,255,.35); }

/* ════════════════════════════════════════════════
   SECTION 42 — LEGACY FLOATING CTA & BACK TO TOP
   ════════════════════════════════════════════════ */
.floating-cta {
  position: fixed;
  bottom: 2rem; right: 2rem;
  background: var(--primary);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .92rem;
  padding: .85rem 1.6rem;
  border-radius: var(--radius);
  z-index: 900;
  box-shadow: 0 4px 20px rgba(20,36,63,.3);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
}
.floating-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(20,36,63,.4);
}
.floating-cta__ring {
  position: absolute;
  inset: -5px;
  border: 2px solid var(--accent);
  border-radius: calc(var(--radius) + 2px);
  animation: fpulse 2.2s ease-out infinite;
  opacity: 0;
  pointer-events: none;
}
.floating-cta__text { position: relative; z-index: 1; }
@keyframes fpulse {
  0%   { transform: scale(1);    opacity: .65; }
  100% { transform: scale(1.22); opacity: 0; }
}

.back-to-top {
  position: fixed;
  bottom: 5.5rem; right: 2rem;
  width: 42px; height: 42px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 899;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top[hidden] {
  display: flex;
  opacity: 0;
  pointer-events: none;
}

/* ════════════════════════════════════════════════
   SECTION 43 — LEGACY SCROLL REVEAL
   ════════════════════════════════════════════════ */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.rv.in { opacity: 1; transform: translateY(0); }

/* ════════════════════════════════════════════════
   SECTION 44 — LEGACY 404
   ════════════════════════════════════════════════ */
.not-found-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 3rem) 1rem 3rem;
}
.not-found-code {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  color: var(--secondary);
  font-family: var(--font-serif);
  line-height: 1;
  margin-bottom: .5rem;
}
.not-found-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 2rem;
}

/* ════════════════════════════════════════════════
   SECTION 45 — ADMIN
   ════════════════════════════════════════════════ */
body.admin-body {
  background: #f4f5f7;
}

/* ════════════════════════════════════════════════
   SECTION 46 — LEGACY RESPONSIVE 1024px
   ════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-inner    { grid-template-columns: 1fr 1fr; }
  .feat-grid       { grid-template-columns: 1fr 1fr; }
  .stats-grid      { grid-template-columns: 1fr 1fr; }
  .summary-cards   { grid-template-columns: repeat(2, 1fr); }
}

/* ════════════════════════════════════════════════
   SECTION 47 — LEGACY RESPONSIVE 768px
   ════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: fixed;
    top: var(--nav-h); left: 0;
    width: 100%;
    min-height: calc(100vh - var(--nav-h));
    background: var(--bg-main);
    padding: 1.5rem 2rem;
    gap: .25rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    overflow-y: auto;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a {
    color: var(--text-dark) !important;
    font-size: 1.05rem;
    padding: .75rem 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-cta-link {
    background: none !important;
    color: var(--accent-dark) !important;
  }

  /* Grids */
  .cases-grid     { grid-template-columns: 1fr; }
  .feat-grid      { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: 1fr 1fr; }
  .svc-gallery-grid { grid-template-columns: 1fr 1fr; }
  .method-grid    { grid-template-columns: 1fr; }
  .stats-grid     { grid-template-columns: 1fr; gap: 1.25rem; }
  .ba-grid        { grid-template-columns: 1fr; }
  .summary-cards  { grid-template-columns: 1fr 1fr; }
  .pd-nav__inner  { grid-template-columns: 1fr 1fr; }
  .pd-nav__all    { display: none; }
  .footer-inner   { grid-template-columns: 1fr; gap: 2rem; }
  .related-grid   { grid-template-columns: 1fr; }

  /* Hero arrows */
  .hero-prev, .hero-next { width: 36px; height: 36px; font-size: 1rem; }
  .hero-prev { left: .75rem; }
  .hero-next { right: .75rem; }

  /* Floating */
  .floating-cta { bottom: 1.25rem; right: 1.25rem; padding: .75rem 1.25rem; font-size: .85rem; }
  .back-to-top  { bottom: 4.75rem; right: 1.25rem; }
}

/* ════════════════════════════════════════════════
   SECTION 48 — LEGACY RESPONSIVE 560px
   ════════════════════════════════════════════════ */
@media (max-width: 560px) {
  .svc-gallery-grid { grid-template-columns: 1fr; }
  .regions-grid,
  .region-grid  { grid-template-columns: repeat(2, 1fr); }
  .services-grid,
  .service-grid { grid-template-columns: 1fr 1fr; }
  .symp-grid    { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .case-meta-grid { grid-template-columns: 1fr 1fr; }
  .pd-nav       { flex-direction: column; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .hero-prev, .hero-next { display: none; }
}

/* ════════════════════════════════════════════════
   SECTION 49 — GLOBAL REDUCED MOTION
   ════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  .floating-cta__ring { animation: none; }
  .dp-float-cta::after { animation: none; }
}
