/* ═══ 디자인 시스템 ═══
   Primary: #3b4a3f (모스 그린 - 시공·수리·안정감)
   Accent: #c4a460 / Footer: #1e2820
   BG: #fff / #f7f8f5 / #f0f2ee
   Font: Pretendard
   Card-radius: 0.75rem / Button-radius: 9999px
   ═══════════════════════ */

/* ─── CSS Variables ─── */
:root {
  --primary: #3b4a3f;
  --primary-light: #4d6352;
  --primary-dark: #2a3630;
  --accent: #c4a460;
  --footer-bg: #1e2820;
  --bg-1: #ffffff;
  --bg-2: #f7f8f5;
  --bg-3: #f0f2ee;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --border: #e0ddd8;
  --card-radius: 0.75rem;
  --btn-radius: 9999px;
  --container: 1200px;
  --header-h: 68px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont,
    'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg-1);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ─── Custom Scrollbar ─── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg-2);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* ─── Layout ─── */
.container {
  max-width: var(--container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.section--bg2 {
  background-color: var(--bg-2);
}

.section--bg3 {
  background-color: var(--bg-3);
}

/* ─── Typography helpers ─── */
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.75rem;
  background-color: rgba(59, 74, 63, 0.08);
  border-radius: 9999px;
  border: 1px solid rgba(59, 74, 63, 0.18);
}

.section-title {
  font-weight: 800;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-title span,
.section-title em {
  color: var(--primary);
  font-style: normal;
}

.section-title .accent {
  color: var(--accent);
}

.section-desc {
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.8;
  max-width: 600px;
  margin-top: 1rem;
}

.text-center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ─── Buttons ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background-color: var(--primary);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: var(--btn-radius);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition),
    box-shadow var(--transition), border-color var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(59, 74, 63, 0.35);
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(0) scale(0.99);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background-color: transparent;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: var(--btn-radius);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition),
    transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background-color: var(--primary);
  color: #ffffff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(59, 74, 63, 0.25);
}

.btn-outline:active {
  transform: translateY(0) scale(0.99);
}

.btn-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background-color: var(--accent);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: var(--btn-radius);
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.btn-accent:hover,
.btn-accent:focus-visible {
  background-color: #b8934d;
  border-color: #b8934d;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(196, 164, 96, 0.4);
  color: #ffffff;
}

.btn-sm {
  padding: 0.625rem 1.375rem;
  font-size: 0.875rem;
}

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

/* ─── Glass utility ─── */
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
}

/* ─── Header ─── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid rgba(224, 221, 216, 0.6);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition), background var(--transition);
}

#header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.97);
}

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

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

.header-logo .logo-mark {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: -0.05em;
}

.header-logo .logo-text {
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--primary-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.header-logo .logo-sub {
  font-size: 0.625rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  display: block;
}

.header-nav {
  display: none;
}

.header-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.header-nav a {
  display: block;
  padding: 0.5rem 0.875rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 0.5rem;
  transition: color var(--transition), background var(--transition);
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--primary);
  background-color: rgba(59, 74, 63, 0.07);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-tel {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

.header-tel:hover {
  color: var(--primary-light);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: 0.5rem;
  transition: background var(--transition);
}

.hamburger:hover {
  background: rgba(59, 74, 63, 0.08);
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 9999px;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

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

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

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

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  z-index: 49;
  padding: 1rem 1.5rem 1.5rem;
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  border-radius: 0.5rem;
  transition: color var(--transition), background var(--transition);
}

.mobile-nav a:hover {
  color: var(--primary);
  background-color: rgba(59, 74, 63, 0.07);
}

.mobile-nav .mobile-tel {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

/* ─── Hero Section ─── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background-color: var(--primary-dark);
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 40, 30, 0.82) 0%,
    rgba(42, 54, 48, 0.65) 50%,
    rgba(30, 40, 32, 0.55) 100%
  );
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.35) 0%,
    transparent 60%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 5rem 1.5rem 4rem;
  width: 100%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding: 0.3rem 0.9rem;
  border: 1px solid rgba(196, 164, 96, 0.4);
  border-radius: 9999px;
  background: rgba(196, 164, 96, 0.1);
}

.hero-title {
  font-weight: 900;
  font-size: clamp(2rem, 5.5vw, 4rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-title .break {
  display: block;
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.175rem);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 3rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.hero-trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.hero-trust-item .num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.hero-trust-item .label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
}

.hero-trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

/* Hero scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.5));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ─── Pulse Ring ─── */
.pulse-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pulse-ring::before,
.pulse-ring::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulseRing 2.5s ease-out infinite;
}

.pulse-ring::after {
  animation-delay: 1.25s;
}

@keyframes pulseRing {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  80%, 100% {
    opacity: 0;
    transform: scale(1.6);
  }
}

/* ─── Fade-in-up animation ─── */
.fade-in-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.fade-in-up:nth-child(4) { transition-delay: 0.3s; }
.fade-in-up:nth-child(5) { transition-delay: 0.4s; }
.fade-in-up:nth-child(6) { transition-delay: 0.5s; }

.stagger .fade-in-up:nth-child(1) { transition-delay: 0.05s; }
.stagger .fade-in-up:nth-child(2) { transition-delay: 0.15s; }
.stagger .fade-in-up:nth-child(3) { transition-delay: 0.25s; }
.stagger .fade-in-up:nth-child(4) { transition-delay: 0.35s; }

/* ─── Section header block ─── */
.section-header {
  margin-bottom: 3rem;
}

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

/* ─── Service Cards ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.service-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--card-radius);
  background-color: var(--bg-3);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition),
    box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(59, 74, 63, 0.22);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 40, 32, 0.88) 0%,
    rgba(30, 40, 32, 0.3) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  transition: background var(--transition);
}

.service-card:hover .service-card-overlay {
  background: linear-gradient(
    to top,
    rgba(30, 40, 32, 0.95) 0%,
    rgba(30, 40, 32, 0.5) 60%,
    transparent 100%
  );
}

.service-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.375rem;
}

.service-card-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.service-card-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

.service-card:hover .service-card-desc {
  max-height: 80px;
  opacity: 1;
}

.service-card-featured {
  grid-column: span 2;
  aspect-ratio: 16 / 7;
}

/* ─── Gallery Cards ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.gallery-card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  background-color: var(--bg-3);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-card:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

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

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 40, 32, 0.75) 0%,
    transparent 60%
  );
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-caption {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
}

.gallery-card-badge {
  position: absolute;
  top: 0.625rem;
  left: 0.625rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--primary);
  padding: 0.2rem 0.55rem;
  border-radius: 9999px;
}

.gallery-card-before-after {
  position: absolute;
  top: 0.625rem;
  right: 0.625rem;
  display: flex;
  gap: 0.25rem;
}

.gallery-card-before-after span {
  font-size: 0.6rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
}

.gallery-card-before-after .tag-before {
  background: rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.8);
}

.gallery-card-before-after .tag-after {
  background: var(--accent);
  color: #ffffff;
}

.gallery-card-wide {
  grid-column: span 2;
  aspect-ratio: 16 / 6;
}

/* ─── Process Steps ─── */
.process-section {
  background-color: var(--bg-2);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
}

.process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.process-step-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(59, 74, 63, 0.3);
  transition: background var(--transition), transform var(--transition);
}

.process-step:hover .process-step-num {
  background: var(--accent);
  transform: scale(1.08);
}

.process-step-body {
  padding-top: 0.625rem;
}

.process-step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.375rem;
}

.process-step-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Vertical connector line */
.process-steps-inner {
  position: relative;
}

.process-steps-inner::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 52px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  z-index: 0;
}

/* ─── Why Us (4-card grid) ─── */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.why-card {
  background: var(--bg-1);
  border-radius: var(--card-radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--border);
  transition: border-color var(--transition), box-shadow var(--transition),
    transform var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-card:hover {
  border-color: var(--primary);
  box-shadow: 0 8px 28px rgba(59, 74, 63, 0.12);
  transform: translateY(-4px);
}

.why-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 74, 63, 0.09);
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.25rem;
  transition: background var(--transition), color var(--transition);
}

.why-card:hover .why-card-icon {
  background: var(--primary);
  color: #ffffff;
}

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

.why-card-desc {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── FAQ Accordion ─── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--bg-1);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.faq-item.open {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(59, 74, 63, 0.1);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.375rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background var(--transition);
}

.faq-trigger:hover {
  background: rgba(59, 74, 63, 0.04);
}

.faq-trigger-q {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
}

.faq-item.open .faq-trigger-q {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1;
  transition: background var(--transition), color var(--transition),
    transform var(--transition);
  font-style: normal;
}

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

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-body {
  max-height: 500px;
}

.faq-body-inner {
  padding: 0 1.375rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ─── Trust / Stats strip ─── */
.stats-strip {
  background: var(--primary);
  padding: 3rem 0;
}

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

.stat-item .num {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
  display: block;
}

.stat-item .label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 400;
  margin-top: 0.375rem;
  display: block;
}

/* ─── CTA Banner ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.cta-banner-title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 0.875rem;
}

.cta-banner-title .accent {
  color: var(--accent);
}

.cta-banner-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 300;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
}

/* ─── Floating Contact Button ─── */
#floating {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.625rem;
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.floating-btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(59, 74, 63, 0.4);
}

.floating-btn-kakao {
  background: #fee500;
  color: #191919;
  box-shadow: 0 4px 16px rgba(254, 229, 0, 0.4);
}

.floating-btn-phone {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(196, 164, 96, 0.4);
}

/* Pulse on floating main button */
.floating-main {
  position: relative;
}

.floating-main::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  animation: pulseRing 2s ease-out infinite;
}

/* ─── Footer ─── */
#footer {
  background-color: var(--footer-bg);
  color: rgba(255, 255, 255, 0.7);
}

.footer-top {
  padding: 3.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer-brand .footer-logo {
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  display: block;
}

.footer-brand .footer-tagline {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.06);
}

.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-info dt {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.1rem;
}

.footer-info dd {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.75rem;
}

.footer-info dd.tel {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.footer-bottom {
  padding: 1.5rem 0;
  text-align: center;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.6;
}

.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
}

.footer-bottom-links a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
  text-decoration: none;
}

.footer-bottom-links a:hover {
  color: var(--accent);
}

/* ─── Contact Form (contact.php) ─── */
.contact-section {
  background: var(--bg-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-info-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.contact-info-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(59, 74, 63, 0.1);
  border-radius: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1rem;
}

.contact-info-item .item-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-bottom: 0.1rem;
}

.contact-info-item .item-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}

.contact-info-item .item-value a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-info-item .item-value a:hover {
  color: var(--accent);
}

/* Form */
.contact-form {
  background: var(--bg-1);
  border-radius: var(--card-radius);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

.form-row {
  margin-bottom: 1.125rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.375rem;
  letter-spacing: 0.02em;
}

.form-label .req {
  color: var(--accent);
  margin-left: 0.2rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition),
    background var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--primary);
  background: var(--bg-1);
  box-shadow: 0 0 0 3px rgba(59, 74, 63, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(107, 107, 107, 0.6);
}

.form-textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.65;
}

.form-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.form-error {
  display: block;
  font-size: 0.75rem;
  color: #d9534f;
  margin-top: 0.3rem;
}

.form-submit {
  width: 100%;
  padding: 0.9rem 2rem;
  background: var(--primary);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: var(--btn-radius);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition),
    box-shadow var(--transition);
}

.form-submit:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 74, 63, 0.3);
}

.form-submit:active {
  transform: translateY(0);
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.form-consent input[type='checkbox'] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}

/* Alert messages */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.alert-success {
  background: rgba(59, 74, 63, 0.08);
  border: 1px solid rgba(59, 74, 63, 0.25);
  color: var(--primary-dark);
}

.alert-error {
  background: rgba(217, 83, 79, 0.07);
  border: 1px solid rgba(217, 83, 79, 0.25);
  color: #c0392b;
}

/* ─── NSEO / 가이드 page ─── */
.nseo-hero {
  background: var(--primary-dark);
  padding: 5rem 0 3.5rem;
  text-align: center;
  margin-top: var(--header-h);
}

.nseo-hero-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 0.875rem;
}

.nseo-hero-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
  line-height: 1.75;
  max-width: 560px;
  margin: 0 auto;
}

.nseo-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  justify-content: center;
  margin-top: 1.5rem;
}

.nseo-breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--transition);
}

.nseo-breadcrumb a:hover {
  color: var(--accent);
}

.nseo-breadcrumb span {
  color: rgba(255, 255, 255, 0.3);
}

/* Guide article */
.guide-article {
  max-width: 780px;
  margin: 0 auto;
}

.guide-article h2 {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-top: 2.5rem;
  margin-bottom: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border);
}

.guide-article h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 1.75rem;
  margin-bottom: 0.625rem;
}

.guide-article p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.guide-article ul,
.guide-article ol {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
}

.guide-article ul {
  list-style: disc;
}

.guide-article ol {
  list-style: decimal;
}

.guide-article li {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.375rem;
}

.guide-article strong {
  color: var(--text);
  font-weight: 700;
}

.guide-tip {
  background: rgba(59, 74, 63, 0.06);
  border-left: 3px solid var(--primary);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  color: var(--primary-dark);
  line-height: 1.7;
}

.guide-warn {
  background: rgba(196, 164, 96, 0.08);
  border-left: 3px solid var(--accent);
  border-radius: 0 0.5rem 0.5rem 0;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.875rem;
  color: #7a6030;
  line-height: 1.7;
}

/* ─── Price Table ─── */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  margin: 1.5rem 0;
}

.price-table th {
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  padding: 0.75rem 1rem;
  text-align: left;
  letter-spacing: 0.02em;
}

.price-table th:first-child {
  border-radius: 0.5rem 0 0 0;
}

.price-table th:last-child {
  border-radius: 0 0.5rem 0 0;
}

.price-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: middle;
}

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

.price-table tr:nth-child(even) td {
  background: var(--bg-2);
}

.price-table .price-val {
  font-weight: 700;
  color: var(--primary);
}

/* ─── Review / Testimonial cards ─── */
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.review-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.5rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.review-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-light);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 0.875rem;
}

.review-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.review-author {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.review-area {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--bg-3);
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
}

/* ─── Chip / Tag ─── */
.chip {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(59, 74, 63, 0.08);
  color: var(--primary);
  border: 1px solid rgba(59, 74, 63, 0.16);
}

.chip-accent {
  background: rgba(196, 164, 96, 0.12);
  color: #7a6030;
  border-color: rgba(196, 164, 96, 0.3);
}

/* ─── Divider ─── */
.divider {
  width: 48px;
  height: 3px;
  background: var(--accent);
  border-radius: 9999px;
  margin: 1rem 0;
}

.divider-center {
  margin-left: auto;
  margin-right: auto;
}

/* ─── Back-to-top button ─── */
#back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 39;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  color: var(--primary);
  font-size: 1rem;
}

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

#back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* ─── Loading skeleton ─── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-3) 25%, var(--bg-2) 50%, var(--bg-3) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: 0.375rem;
}

@keyframes skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ─── Utility classes ─── */
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }
.text-muted   { color: var(--text-muted); }
.text-white   { color: #ffffff; }

.bg-primary   { background-color: var(--primary); }
.bg-accent    { background-color: var(--accent); }
.bg-1         { background-color: var(--bg-1); }
.bg-2         { background-color: var(--bg-2); }
.bg-3         { background-color: var(--bg-3); }

.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.fw-900 { font-weight: 900; }

.mt-0  { margin-top: 0; }
.mt-1  { margin-top: 0.5rem; }
.mt-2  { margin-top: 1rem; }
.mt-3  { margin-top: 1.5rem; }
.mt-4  { margin-top: 2rem; }

.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 0.5rem; }
.mb-2  { margin-bottom: 1rem; }
.mb-3  { margin-bottom: 1.5rem; }
.mb-4  { margin-bottom: 2rem; }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

.hidden { display: none !important; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }

.overflow-hidden { overflow: hidden; }
.relative { position: relative; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.w-full { width: 100%; }

/* ─── Responsive: 640px (sm) ─── */
@media (min-width: 640px) {
  .section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .service-card-featured {
    grid-column: span 1;
    aspect-ratio: 3 / 4;
  }

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

  .gallery-card-wide {
    grid-column: span 2;
    aspect-ratio: 4 / 3;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .contact-form {
    padding: 2.5rem 2rem;
  }
}

/* ─── Responsive: 768px (md) ─── */
@media (min-width: 768px) {
  .header-tel {
    display: flex;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.6fr;
    gap: 4rem;
    align-items: start;
  }

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

  .process-steps {
    flex-direction: row;
    gap: 0;
  }

  .process-steps-inner {
    display: flex;
    justify-content: space-between;
    position: relative;
  }

  .process-steps-inner::before {
    content: '';
    position: absolute;
    top: 26px;
    left: 52px;
    right: 52px;
    height: 2px;
    width: auto;
    background: linear-gradient(to right, var(--primary), rgba(59, 74, 63, 0.2));
    z-index: 0;
  }

  .process-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    gap: 1rem;
    padding: 0 0.75rem;
  }

  .process-step-body {
    padding-top: 0;
  }

  .process-step-num {
    margin: 0 auto;
  }

  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ─── Responsive: 1024px (lg) ─── */
@media (min-width: 1024px) {
  .section {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .header-nav {
    display: block;
  }

  .hamburger {
    display: none;
  }

  .services-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }

  .service-card-featured {
    grid-column: span 2;
    aspect-ratio: 3 / 4;
  }

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

  .gallery-card-wide {
    grid-column: span 2;
  }

  .why-us-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 2.5fr 1fr 1fr 1.5fr;
    gap: 3.5rem;
  }

  .hero-title {
    max-width: 700px;
  }

  .hero-desc {
    max-width: 560px;
  }
}

/* ═══ Supplemental Styles ═══════════════════════════════ */

/* Hero Section ──────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.hero-slider {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-slide.active, .hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,23,15,.42) 0%, rgba(15,23,15,.68) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 780px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.04em; color: #fff;
  margin-bottom: 1.25rem;
}
.hero-keyword {
  font-size: clamp(2rem, 6vw, 3.5rem);
  font-weight: 800; line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0,0,0,.28);
  color: #fff;
}
.hero-desc {
  font-size: 1rem; font-weight: 300;
  line-height: 1.8; color: rgba(255,255,255,.9);
  margin-bottom: 2rem;
}
.hero-btns {
  display: flex; flex-wrap: wrap;
  gap: 0.75rem; justify-content: center;
  margin-bottom: 1.5rem;
}
.hero-tags {
  font-size: 0.78rem; color: rgba(255,255,255,.7);
  letter-spacing: 0.02em;
}
.hero-indicators {
  position: absolute; bottom: 1.75rem;
  left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 0.5rem;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 9999px;
  background: rgba(255,255,255,.4);
  border: none; cursor: pointer;
  transition: all 0.3s ease;
}
.hero-dot.active, .hero-dot.is-active { width: 24px; background: #fff; }

/* Buttons ───────────────────────────────── */
.btn-primary, .btn-outline, .btn-accent, .btn-outline-white {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.8rem 1.6rem;
  border-radius: 9999px;
  font-weight: 600; font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer; border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary); color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(59,74,63,.32); }
.btn-outline {
  background: transparent; color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-accent {
  background: var(--accent); color: #1a1a1a;
  border-color: var(--accent);
}
.btn-accent:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(196,164,96,.3); }
.btn-outline-white {
  background: transparent; color: #fff;
  border-color: rgba(255,255,255,.65);
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }

/* Service Cards (spec【2】) ──────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(5, 1fr); } }

.service-card {
  display: flex; flex-direction: column;
  aspect-ratio: auto;        /* override original 3/4 on whole card */
  position: static;          /* override original relative */
  border: 1px solid var(--border);
  border-color: var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  background: #fff;
  cursor: pointer;
}
.service-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 10px 28px rgba(59,74,63,.14); }
.service-card__thumb {
  aspect-ratio: 3/4;
  overflow: hidden;
}
.service-card__thumb img { width:100%; height:100%; object-fit:cover; transition: transform 0.4s ease; }
.service-card:hover .service-card__thumb img { transform: scale(1.04); }
.service-card__body { padding: 1rem; display: flex; flex-direction: column; gap: 0.3rem; }
.service-card__body h3 { font-weight: 800; font-size: 0.95rem; line-height: 1.4; color: var(--text); }
.service-card__body p { font-weight: 300; font-size: 0.8rem; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Gallery cards ─────────────────────────── */
.gallery-section .gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .gallery-section .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery-section .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-card { display: block; aspect-ratio: auto; text-decoration: none; border: 1px solid var(--border); border-radius: var(--card-radius); overflow: hidden; transition: all 0.3s ease; background: #fff; }
.gallery-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.gallery-card .card-thumb { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.gallery-card .card-thumb img { width:100%; height:100%; object-fit:cover; transition: transform 0.4s ease; }
.gallery-card:hover .card-thumb img { transform: scale(1.03); }
.case-badge { position: absolute; top: 0.75rem; left: 0.75rem; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; background: var(--primary); color: #fff; padding: 0.2rem 0.6rem; border-radius: 0.25rem; }
.case-badge--lg { font-size: 0.8rem; padding: 0.3rem 0.8rem; position: static; display: inline-block; margin-bottom: 0.75rem; }
.gallery-card .card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.4rem; }
.card-title { font-weight: 800; font-size: 1rem; line-height: 1.4; color: var(--text); }
.card-sub { font-weight: 300; font-size: 0.875rem; color: var(--text-muted); }
.card-more { font-size: 0.875rem; font-weight: 600; color: var(--text-muted); transition: color 0.3s ease; }
.gallery-card:hover .card-more { color: var(--primary); }

/* WHY US Cards ──────────────────────────── */
.why-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(4, 1fr); } }

.why-card { background: #fff; border: 1px solid var(--border); border-radius: var(--card-radius); padding: 1.75rem 1.5rem; transition: all 0.3s ease; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.1); }
.why-icon { width: 3rem; height: 3rem; border-radius: 9999px; background: rgba(59,74,63,.1); color: var(--primary); display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.why-card h3 { font-weight: 800; font-size: 1rem; margin-bottom: 0.6rem; color: var(--text); }
.why-card p { font-weight: 300; font-size: 0.875rem; line-height: 1.75; color: var(--text-muted); }

/* Process Section ───────────────────────── */
.process-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; position: relative; }
@media (min-width: 768px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-grid { grid-template-columns: repeat(4, 1fr); } }
.process-line { display: none; }
@media (min-width: 1024px) {
  .process-line { display: block; position: absolute; top: 2.25rem; left: 0; right: 0; height: 1px; background: var(--border); z-index: 0; }
}
.process-step { display: block; text-align: center; position: relative; z-index: 1; }
.process-circle { width: 4.5rem; height: 4.5rem; border-radius: 9999px; background: #fff; border: 2px solid var(--primary); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.process-circle span { font-size: 1rem; font-weight: 800; letter-spacing: 0.05em; }
.process-num-label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; color: var(--accent); margin-bottom: 0.4rem; }
.process-step h3 { font-weight: 800; font-size: 1rem; margin-bottom: 0.5rem; color: var(--text); }
.process-step p { font-weight: 300; font-size: 0.85rem; line-height: 1.75; color: var(--text-muted); }

/* FAQ ───────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--card-radius); overflow: hidden; background: #fff; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; cursor: pointer; background: none; border: none; text-align: left; font-family: inherit; font-size: 0.95rem; font-weight: 600; color: var(--text); transition: background 0.2s; }
.faq-q:hover { background: var(--bg-2); }
.faq-icon { flex-shrink: 0; width: 1.75rem; height: 1.75rem; border-radius: 9999px; background: rgba(59,74,63,.1); color: var(--primary); display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease, background 0.2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--primary); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.open .faq-a { max-height: 400px; }
.faq-a p { padding: 0 1.5rem 1.25rem; font-weight: 300; font-size: 0.9rem; line-height: 1.8; color: var(--text-muted); }

/* CTA Section ───────────────────────────── */
.cta-section { background: var(--primary); }
.trust-badges { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; }
.trust-badge { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,.75); font-size: 0.85rem; font-weight: 500; }
.trust-badge svg { color: rgba(255,255,255,.6); }

/* Sub Hero (NSEO / detail pages) ────────── */
.sub-hero {
  position: relative; min-height: 68vh; display: flex; align-items: flex-end;
  background-size: cover; background-position: center; color: #fff;
  margin-top: -68px; padding-top: 68px;
}
.sub-hero__overlay { position: absolute; inset: 0; background: rgba(15,23,15,.6); }
.sub-hero__content { position: relative; z-index: 2; padding-bottom: 3.5rem; }
.sub-hero__label { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; padding: 0.3rem 0.8rem; border-radius: 9999px; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); margin-bottom: 0.75rem; color: rgba(255,255,255,.9); }
.sub-hero__title { font-size: clamp(1.75rem, 4.5vw, 3rem); font-weight: 800; margin-bottom: 0.75rem; line-height: 1.15; }
.sub-hero__desc { font-size: 1rem; font-weight: 300; color: rgba(255,255,255,.85); line-height: 1.7; margin-bottom: 1.75rem; max-width: 520px; }
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,.55); margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,.65); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* Detail Hero ───────────────────────────── */
.detail-hero { position: relative; min-height: 60vh; display: flex; align-items: flex-end; background-size: cover; background-position: center; color: #fff; margin-top: -68px; padding-top: 68px; }
.detail-hero__overlay { position: absolute; inset: 0; background: rgba(15,23,15,.65); }
.detail-hero__content { position: relative; z-index: 2; padding-bottom: 3rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.8rem; color: rgba(255,255,255,.7); text-decoration: none; margin-bottom: 1.25rem; transition: color 0.2s; }
.back-link:hover { color: #fff; }
.detail-hero__title { font-size: clamp(1.5rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 0.5rem; line-height: 1.2; }
.detail-hero__sub { font-size: 0.9rem; font-weight: 300; color: rgba(255,255,255,.75); }

/* Info Bar ──────────────────────────────── */
.info-bar { background: var(--primary); color: #fff; padding: 1.25rem 0; }
.info-bar__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .info-bar__grid { grid-template-columns: repeat(4, 1fr); } }
.info-bar__item { display: flex; flex-direction: column; gap: 0.2rem; }
.info-bar__label { font-size: 0.7rem; font-weight: 700; color: rgba(255,255,255,.55); letter-spacing: 0.05em; }
.info-bar__value { font-size: 0.95rem; font-weight: 600; color: #fff; }

/* Before / After / Summary ──────────────── */
.before-after-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .before-after-grid { grid-template-columns: repeat(2, 1fr); } }
.ba-img img { width: 100%; height: auto; border-radius: var(--card-radius); object-fit: cover; }
.process-detail-step { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border); }
.process-detail-step:last-child { border-bottom: none; }
.process-detail-num { flex-shrink: 0; width: 3.5rem; height: 3.5rem; border-radius: 9999px; background: var(--primary); color: #fff; font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center; margin-top: 0.25rem; }
.process-detail-body h3 { font-weight: 800; font-size: 1.05rem; margin-bottom: 0.4rem; }
.process-detail-body p { font-weight: 300; font-size: 0.9rem; line-height: 1.75; color: var(--text-muted); }
.summary-box { border-left: 4px solid var(--primary); background: var(--bg-2); border-radius: 0 var(--card-radius) var(--card-radius) 0; padding: 1.5rem 1.75rem; }
.summary-box h3 { font-weight: 800; font-size: 1rem; margin-bottom: 0.75rem; color: var(--primary); }
.summary-box ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.summary-box li { font-size: 0.9rem; color: var(--text-muted); display: flex; gap: 0.5rem; }
.summary-box li::before { content: '·'; color: var(--primary); font-weight: 700; flex-shrink: 0; }

/* CASE grid (NSEO pages) ────────────────── */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .case-grid { gap: 1.5rem; } }
.case-img { overflow: hidden; border-radius: var(--card-radius); }
.case-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; display: block; }
.case-caption { font-size: 0.8rem; color: var(--text-muted); padding: 0.5rem 0.25rem; font-weight: 300; }

/* Content Body (NSEO page body text) ─────── */
.content-body { max-width: 780px; margin: 0 auto; }
.content-body h2 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 800; margin-bottom: 1rem; color: var(--text); }
.content-body p { font-size: 0.95rem; line-height: 1.9; font-weight: 300; color: var(--text-muted); margin-bottom: 1rem; }
.steps-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; counter-reset: steps; }
.step-item { display: flex; gap: 1rem; align-items: flex-start; }
.step-num { flex-shrink: 0; width: 2.25rem; height: 2.25rem; border-radius: 9999px; background: var(--primary); color: #fff; font-weight: 800; font-size: 0.8rem; display: flex; align-items: center; justify-content: center; margin-top: 0.1rem; }
.step-item strong { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.3rem; }
.step-item p { margin: 0; font-size: 0.875rem; font-weight: 300; color: var(--text-muted); line-height: 1.7; }
.comparison-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--card-radius); margin-top: 1rem; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.comparison-table th { padding: 0.75rem 1rem; background: var(--bg-3); font-weight: 700; text-align: left; font-size: 0.8rem; color: var(--text); border-bottom: 1px solid var(--border); }
.comparison-table td { padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); font-weight: 300; color: var(--text-muted); }
.comparison-table .row-label { font-weight: 600; color: var(--text); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-note { font-size: 0.75rem; color: var(--text-muted); padding: 0.6rem 1rem; background: var(--bg-2); border-top: 1px solid var(--border); }

/* Main Banner ───────────────────────────── */
.main-banner { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; text-align: center; padding: 2.5rem; background: #fff; border: 1px solid var(--border); border-radius: var(--card-radius); }
.main-banner p { font-size: 1.05rem; font-weight: 600; color: var(--text); }
@media (min-width: 640px) { .main-banner { flex-direction: row; justify-content: space-between; text-align: left; } }

/* Related Services Grid ─────────────────── */
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .related-grid { grid-template-columns: repeat(5, 1fr); } }
.related-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--card-radius); overflow: hidden; text-decoration: none; transition: all 0.3s ease; background: #fff; }
.related-card:hover { transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.1); border-color: var(--primary); }
.related-card--current { opacity: 0.8; cursor: default; border-color: var(--primary); border-width: 2px; }
.related-card__img { aspect-ratio: 16/9; overflow: hidden; }
.related-card__img img { width: 100%; height: 100%; object-fit: cover; }
.related-card__body { padding: 0.85rem; display: flex; flex-direction: column; gap: 0.25rem; }
.related-card__label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; color: var(--primary); text-transform: uppercase; }
.related-card--current .related-card__label { color: var(--accent); }
.related-card__body h3 { font-weight: 700; font-size: 0.85rem; color: var(--text); line-height: 1.35; }
.related-card__body p { font-size: 0.75rem; font-weight: 300; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Contact Page ──────────────────────────── */
.contact-steps { display: flex; flex-direction: column; gap: 2.5rem; max-width: 700px; margin: 0 auto; }
.contact-step { display: flex; gap: 1.5rem; align-items: flex-start; }
.contact-step__body { flex: 1; }
.contact-step__body h3 { font-weight: 800; font-size: 1.1rem; margin-bottom: 0.6rem; }
.contact-step__body p { font-weight: 300; font-size: 0.9rem; line-height: 1.8; color: var(--text-muted); }
.contact-tip-list { margin: 0.75rem 0 0; list-style: none; display: flex; flex-direction: column; gap: 0.3rem; }
.contact-tip-list li { font-size: 0.85rem; color: var(--text-muted); padding-left: 1rem; position: relative; font-weight: 300; }
.contact-tip-list li::before { content: '·'; position: absolute; left: 0; font-weight: 700; color: var(--primary); }
.contact-cta-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
.notice-box { background: #fff; border: 1px solid var(--border); border-left: 4px solid var(--primary); border-radius: 0 var(--card-radius) var(--card-radius) 0; padding: 1.5rem 1.75rem; max-width: 700px; margin: 0 auto; }
.notice-box h3 { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 1rem; margin-bottom: 1rem; color: var(--primary); }
.notice-box ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.notice-box li { font-size: 0.875rem; font-weight: 300; color: var(--text-muted); line-height: 1.7; padding-left: 1rem; position: relative; }
.notice-box li::before { content: '·'; position: absolute; left: 0; font-weight: 700; color: var(--primary); }

/* Sitemap ───────────────────────────────── */
.sitemap-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .sitemap-grid { grid-template-columns: repeat(3, 1fr); } }
.sitemap-group h2 { font-weight: 700; font-size: 0.9rem; letter-spacing: 0.08em; color: var(--primary); border-bottom: 2px solid var(--border); padding-bottom: 0.5rem; margin-bottom: 0.75rem; }
.sitemap-group ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.sitemap-group a { font-size: 0.875rem; color: var(--text-muted); text-decoration: none; font-weight: 300; transition: color 0.2s; }
.sitemap-group a:hover { color: var(--primary); }

/* Layout utilities ──────────────────────── */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.section-header { max-width: 680px; margin-left: auto; margin-right: auto; }

/* ─── Responsive: 1280px (xl) ─── */
@media (min-width: 1280px) {
  .section {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

/* ─── Print ─── */
@media print {
  #header,
  #floating,
  #back-to-top,
  .hamburger,
  .mobile-nav,
  .hero-scroll {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000000;
  }

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

  .hero {
    min-height: auto;
    padding: 2rem 0;
  }

  .hero::before,
  .hero::after {
    display: none;
  }
}

/* ─── Accessibility ─── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ═══ Critical Overrides — must be last ═══════════════════ */

/* Reset hero-content padding from original generator */
.hero-content {
  max-width: 780px;
  padding: 0 1.5rem;
  margin: 0 auto;
  width: 100%;
}

/* Reset hero-desc color from original */
.hero-desc { color: rgba(255,255,255,.9); }

/* Ensure faq-a starts collapsed */
.faq-a {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 600px;
  opacity: 1;
}

/* Force service-card flex layout (override original aspect-ratio:3/4) */
.service-card {
  display: flex !important;
  flex-direction: column !important;
  aspect-ratio: auto !important;
}
/* Force gallery-card block layout (override original aspect-ratio:4/3) */
.gallery-card {
  display: block !important;
  aspect-ratio: auto !important;
}
/* Gallery card hover - lift not scale */
.gallery-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 32px rgba(0,0,0,.12) !important;
}
/* Service card hover */
.service-card:hover {
  transform: translateY(-4px) !important;
}
/* Service card image scale on hover - only inside thumb */
.service-card:hover img { transform: none !important; }
.service-card:hover .service-card__thumb img { transform: scale(1.04) !important; }

/* Process step vertical layout */
.process-step {
  display: block !important;
  text-align: center;
}

/* Why-card: keep box layout */
.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.75rem 1.5rem;
}

/* Section backgrounds */
.section.bg-1, section.bg-1 { background-color: #ffffff; }
.section.bg-2, section.bg-2 { background-color: var(--bg-2); }
.section.bg-3, section.bg-3 { background-color: var(--bg-3); }
