/* ═══════════════════════════════════════════════════════════════
   키친핏 냉장고장리폼 — 바름 | remodel.kjibsuri.com
   ─────────────────────────────────────────────────────────────
   Hero 타입   : hero-split (좌우분할형)
   배치 패턴   : 패턴 3 (포트폴리오+배너 → 서비스 → Hero 마지막)
   그리드      : grid-3 (3열)
   레이블 스타일: label-number (01 — Section)
   버튼 형태   : btn-square (border-radius 6px)
   Primary 컬러: 파스텔 스틸블루 #A0C4D8
   ═══════════════════════════════════════════════════════════════ */

/* ─── Variables ─── */
:root {
  --primary: #A0C4D8;
  --primary-dark: #6fa3be;
  --primary-light: #daeef8;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f4f7f9;
  --bg-dark: #1a1a2e;
  --border: #e5e7eb;
  --card-radius: 1rem;
  --btn-radius: 6px;
  --max-width: 1200px;
  --header-h: 72px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.14);
}

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  word-break: keep-all;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

/* ─── Layout ─── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
section { padding: 5rem 0; }
.section-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ─── Section label (label-number style) ─── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}
.section-label .lbl-num {
  font-size: 0.9rem;
  font-weight: 800;
}
.section-label .lbl-line {
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--border);
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 560px;
}

/* ─── Buttons (btn-square) ─── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.78rem 1.75rem;
  background: var(--primary);
  color: var(--text);
  font-weight: 700;
  font-size: 0.93rem;
  border-radius: var(--btn-radius);
  border: 2px solid var(--primary);
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.78rem 1.75rem;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  font-size: 0.93rem;
  border-radius: var(--btn-radius);
  border: 2px solid var(--border);
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.header-logo {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.header-logo span { color: var(--primary-dark); }
.header-nav { display: flex; align-items: center; gap: 2rem; }
.header-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.header-nav a:hover { color: var(--text); }
.header-cta {
  padding: 0.52rem 1.25rem;
  background: var(--text);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--btn-radius);
  transition: all 0.25s;
  white-space: nowrap;
}
.header-cta:hover { background: var(--primary-dark); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: all 0.3s;
  border-radius: 2px;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  padding: 1.25rem 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.25rem;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-nav a:last-child { border-bottom: none; margin-top: 0.5rem; text-align: center; }

/* ─── Portfolio section (grid-3, FIRST in Pattern 3) ─── */
.portfolio-section {
  background: var(--bg);
  padding-top: calc(var(--header-h) + 5rem);
}
.portfolio-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 3rem;
}
.portfolio-intro-quote {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.7;
  max-width: 440px;
  margin-top: 0.5rem;
}
.portfolio-header-cta {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.portfolio-header-cta small {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portfolio-card {
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  color: inherit;
  background: var(--bg);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.portfolio-card .card-thumb { aspect-ratio: 3/4; overflow: hidden; }
.portfolio-card .card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.portfolio-card:hover .card-thumb img { transform: scale(1.05); }
.portfolio-card .card-body { padding: 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; }
.card-badge {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  background: var(--primary);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
  align-self: flex-start;
}
.card-title { font-weight: 800; font-size: 0.93rem; line-height: 1.4; color: var(--text); }
.card-location {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.card-more {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.2rem;
  transition: color 0.3s;
}
.portfolio-card:hover .card-more { color: var(--primary-dark); }

/* ─── Mid banner ─── */
.mid-banner {
  background: var(--primary);
  padding: 3.5rem 0;
}
.mid-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.mid-banner-text {
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.mid-banner-text em { display: block; font-size: 0.85em; font-weight: 400; font-style: normal; margin-top: 0.25rem; opacity: 0.7; }
.mid-banner-btn {
  padding: 0.9rem 2rem;
  background: var(--text);
  color: #fff;
  font-weight: 700;
  font-size: 0.93rem;
  border-radius: var(--btn-radius);
  white-space: nowrap;
  transition: all 0.25s;
  flex-shrink: 0;
}
.mid-banner-btn:hover { background: #000; box-shadow: var(--shadow-md); }

/* ─── Services section (G-4 BEFORE/AFTER card) ─── */
.services-section { background: var(--bg-alt); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--bg);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.service-num-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  background: var(--primary);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text);
  margin: 1.25rem 0 0 1.25rem;
  flex-shrink: 0;
}
.service-before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem 0;
}
.service-ba-col { position: relative; }
.ba-label {
  position: absolute;
  top: 0.4rem; left: 0.4rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(0,0,0,0.62);
  color: #fff;
  padding: 0.12rem 0.38rem;
  border-radius: 3px;
  z-index: 1;
}
.service-ba-col img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 6px;
}
.service-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.service-title { font-size: 1rem; font-weight: 800; margin-bottom: 0.45rem; }
.service-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 0.85rem; flex: 1; }
.service-checklist { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1rem; }
.service-checklist li {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.5;
}
.service-checklist li::before {
  content: "";
  display: inline-block;
  width: 14px; height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236fa3be' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--primary-dark);
  padding-bottom: 2px;
  border-bottom: 1.5px solid var(--primary);
  transition: all 0.2s;
  align-self: flex-start;
}
.service-cta:hover { color: var(--text); border-color: var(--text); }

/* ─── Process section ─── */
.process-section { background: var(--bg); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 1.75rem;
  left: calc(12.5% + 1.75rem);
  right: calc(12.5% + 1.75rem);
  height: 1px;
  background: var(--border);
  pointer-events: none;
}
.process-step { text-align: center; position: relative; }
.step-num {
  width: 3.5rem; height: 3.5rem;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary-dark);
  position: relative;
  z-index: 1;
}
.step-title { font-size: 0.92rem; font-weight: 700; margin-bottom: 0.4rem; }
.step-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.65; }

/* ─── About section ─── */
.about-section { background: var(--bg-alt); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-title {
  font-size: clamp(1.4rem, 2.8vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.about-text { font-size: 0.92rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 0.6rem; }
.about-info { margin-top: 1.5rem; font-size: 0.8rem; color: var(--text-muted); line-height: 1.9; }
.about-info strong { color: var(--text); }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.stat-card {
  background: var(--bg);
  border-radius: var(--card-radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-num { font-size: 2.4rem; font-weight: 800; color: var(--primary-dark); line-height: 1; }
.stat-unit { font-size: 0.95rem; font-weight: 700; color: var(--primary-dark); }
.stat-label { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.4rem; }

/* ─── Areas section ─── */
.areas-section { background: var(--bg); }
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.area-card {
  background: var(--bg-alt);
  border-radius: var(--card-radius);
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.area-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.area-icon { margin-bottom: 0.75rem; color: var(--primary-dark); }
.area-title { font-size: 1.05rem; font-weight: 800; margin-bottom: 0.75rem; }
.area-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.area-tag {
  font-size: 0.76rem;
  color: var(--text-muted);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.18rem 0.55rem;
  border-radius: 4px;
}

/* ─── FAQ ─── */
.faq-section { background: var(--bg-alt); }
.faq-wrap { margin-top: 3rem; display: flex; flex-direction: column; gap: 0.65rem; max-width: 820px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg);
}
.faq-q {
  width: 100%;
  padding: 1.15rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 0.93rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text);
  text-align: left;
  transition: background 0.2s;
  word-break: keep-all;
}
.faq-q:hover { background: var(--bg-alt); }
.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 1rem;
  color: var(--primary-dark);
  transition: transform 0.3s;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s ease;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
  padding: 0 1.5rem;
}
.faq-item.open .faq-a { max-height: 500px; padding: 0 1.5rem 1.25rem; }

/* ─── CTA section ─── */
.cta-section {
  background: var(--bg-dark);
  padding: 6rem 0;
}
.cta-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.cta-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.85rem;
  letter-spacing: -0.03em;
}
.cta-desc { color: rgba(255,255,255,0.55); margin-bottom: 2.5rem; font-size: 0.95rem; line-height: 1.75; }
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}
.trust-badge svg { color: var(--primary); flex-shrink: 0; }
.cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.cta-btn-tel {
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: var(--text);
  font-weight: 700;
  border-radius: var(--btn-radius);
  font-size: 0.95rem;
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.cta-btn-tel:hover { background: var(--primary-dark); color: #fff; box-shadow: var(--shadow-md); }
.cta-btn-consult {
  padding: 1rem 2.5rem;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-weight: 700;
  border-radius: var(--btn-radius);
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.25);
  transition: all 0.25s;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.cta-btn-consult:hover { border-color: var(--primary); color: var(--primary); }

/* ─── Hero section (hero-split, LAST — Pattern 3) ─── */
.hero-section {
  background: var(--bg);
  padding: 6rem 0;
}
.hero-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.1rem;
}
.hero-label::after {
  content: "";
  display: block;
  width: 2rem; height: 1px;
  background: var(--border);
}
.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.hero-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  max-width: 480px;
}
.hero-service-links { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.75rem; }
.hero-service-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s;
  background: var(--bg);
}
.hero-service-link:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}
.hero-service-link-arrow { margin-left: auto; color: var(--text-muted); font-size: 0.78rem; }
.hero-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hero-right { display: flex; flex-direction: column; gap: 1.25rem; }
.hero-slider-wrap {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
}
.hero-slider { position: relative; aspect-ratio: 3/4; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-slider-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  padding-top: 0.5rem;
}
.slider-dot {
  width: 6px; height: 6px;
  background: var(--border);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  padding: 0;
}
.slider-dot.active { background: var(--primary-dark); width: 18px; border-radius: 3px; }
.hero-brand-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}
.hero-brand-name { font-size: 1.05rem; font-weight: 800; }
.hero-brand-desc { font-size: 0.8rem; color: var(--text-muted); }
.hero-right-btns { display: flex; gap: 0.65rem; }

/* ─── Footer ─── */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand { font-size: 1.1rem; font-weight: 800; color: #fff; margin-bottom: 0.65rem; }
.footer-tagline { font-size: 0.84rem; color: rgba(255,255,255,0.45); line-height: 1.75; }
.footer-col-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 0.9rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.45rem; }
.footer-links a { font-size: 0.84rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-contact { font-size: 0.84rem; color: rgba(255,255,255,0.55); line-height: 1.85; margin-top: 0.5rem; }
.footer-phone {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.25rem;
  transition: color 0.2s;
}
.footer-phone:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.8;
}
.footer-bottom a { color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

/* ─── Floating buttons ─── */
.floating-wrap {
  position: fixed;
  right: 1.25rem;
  bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 900;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.1rem;
  border-radius: 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  transition: all 0.25s;
  text-decoration: none;
}
.float-call { background: var(--text); color: #fff; }
.float-call:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }
.float-sms { background: var(--primary); color: var(--text); }
.float-sms:hover { background: var(--primary-dark); color: #fff; transform: translateY(-2px); }

/* ─── Portfolio detail hero ─── */
.detail-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding-top: var(--header-h);
}
.detail-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.detail-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.25) 100%);
}
.detail-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  width: 100%;
}
.detail-back {
  color: rgba(255,255,255,0.65);
  font-size: 0.82rem;
  margin-bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s;
}
.detail-back:hover { color: #fff; }
.detail-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.035em;
  line-height: 1.2;
}
.detail-subtitle { font-size: 0.92rem; color: rgba(255,255,255,0.65); margin-top: 0.5rem; }

/* ─── Info bar ─── */
.info-bar { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 1.5rem 0; }
.info-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.info-item-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 0.25rem;
}
.info-item-value { font-size: 0.92rem; font-weight: 700; color: var(--text); }

/* ─── Before/After ─── */
.before-after-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.ba-col-title {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.ba-col-title::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.ba-img { border-radius: 8px; overflow: hidden; margin-bottom: 0.5rem; }
.ba-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.ba-text { font-size: 0.875rem; color: var(--text-muted); line-height: 1.8; }

/* ─── Summary / Quote ─── */
.summary-box {
  background: var(--primary-light);
  border-radius: var(--card-radius);
  padding: 2rem;
  margin-top: 2.5rem;
}
.summary-box h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 1rem; color: var(--primary-dark); text-transform: uppercase; letter-spacing: 0.06em; }
.summary-list { display: flex; flex-direction: column; gap: 0.5rem; }
.summary-list li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.88rem; line-height: 1.6;
}
.summary-list li::before { content: "—"; color: var(--primary-dark); font-weight: 700; flex-shrink: 0; }
.quote-block {
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  background: var(--bg-alt);
  border-radius: 0 8px 8px 0;
  margin-top: 2rem;
}
.quote-text { font-size: 0.93rem; line-height: 1.85; color: var(--text); }
.quote-sig { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.65rem; font-weight: 600; }

.related-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }

/* ─── NSEO page hero ─── */
.nseo-hero {
  background: var(--bg-dark);
  padding: calc(var(--header-h) + 4.5rem) 0 4.5rem;
}
.nseo-hero-inner { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
.nseo-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}
.nseo-hero p { color: rgba(255,255,255,0.6); font-size: 1rem; line-height: 1.8; margin-bottom: 2rem; }
.nseo-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.nseo-hero .btn-primary { color: var(--text); }
.nseo-hero .btn-secondary { color: rgba(255,255,255,0.7); border-color: rgba(255,255,255,0.25); }
.nseo-hero .btn-secondary:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* ─── Consultation page ─── */
.consult-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.consult-step {
  text-align: center;
  padding: 2.25rem 1.5rem;
  background: var(--bg-alt);
  border-radius: var(--card-radius);
  border: 1px solid var(--border);
}
.consult-step-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.consult-step-title { font-size: 0.95rem; font-weight: 800; margin-bottom: 0.5rem; }
.consult-step-desc { font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; }
.photo-guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.photo-guide-item {
  background: var(--bg-alt);
  border-radius: var(--card-radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
}
.photo-guide-icon { margin: 0 auto 1rem; color: var(--primary-dark); }
.photo-guide-title { font-size: 1rem; font-weight: 800; margin-bottom: 0.5rem; }
.photo-guide-desc { font-size: 0.84rem; color: var(--text-muted); line-height: 1.7; }
.photo-guide-tips { text-align: left; margin-top: 1rem; padding-left: 1.1rem; font-size: 0.8rem; color: var(--text-muted); line-height: 1.75; }
.photo-guide-tips li { margin-bottom: 0.2rem; }
.consult-pros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2.5rem; }
.consult-pro {
  padding: 1.25rem;
  border-left: 3px solid var(--primary);
  background: var(--primary-light);
  border-radius: 0 8px 8px 0;
}
.consult-pro-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.3rem; }
.consult-pro-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

/* ─── Sitemap page ─── */
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.sitemap-cat { background: var(--bg-alt); border-radius: var(--card-radius); padding: 1.5rem; border: 1px solid var(--border); }
.sitemap-cat-title { font-size: 0.78rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 0.75rem; }
.sitemap-links { display: flex; flex-direction: column; gap: 0.35rem; }
.sitemap-links a { font-size: 0.84rem; color: var(--text); transition: color 0.2s; padding: 0.18rem 0; }
.sitemap-links a:hover { color: var(--primary-dark); }

/* ─── 404 page ─── */
.not-found {
  text-align: center;
  padding: calc(var(--header-h) + 6rem) 1.5rem 6rem;
  min-height: 100vh;
}
.not-found-num { font-size: 8rem; font-weight: 800; color: var(--primary-light); line-height: 1; }
.not-found-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.65rem; }
.not-found-desc { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.95rem; }

/* ─── Fade-in animation ─── */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ─── Mid-page banner (NSEO) ─── */
.main-promo-banner {
  background: var(--primary-light);
  border-radius: var(--card-radius);
  padding: 1.75rem 2rem;
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  border: 1px solid var(--primary);
}
.main-promo-banner p { font-weight: 600; font-size: 0.93rem; line-height: 1.6; }
.related-pages { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 2.5rem; }
.related-page-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s;
  background: var(--bg);
}
.related-page-link:hover { border-color: var(--primary); background: var(--primary-light); }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .areas-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-split-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .info-bar-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .header-nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .before-after-grid { grid-template-columns: 1fr; }
  .related-cards { grid-template-columns: 1fr; }
  .mid-banner-inner { flex-direction: column; align-items: flex-start; }
  .trust-badges { gap: 1.25rem; }
  .cta-btns { flex-direction: column; align-items: center; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .portfolio-header-row { flex-direction: column; align-items: flex-start; }
  .consult-steps { grid-template-columns: 1fr; }
  .consult-pros { grid-template-columns: 1fr; }
  .photo-guide-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-right-btns { flex-direction: column; }
  .info-bar-inner { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .detail-hero { min-height: 320px; }
}
@media (max-width: 640px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .floating-wrap .float-btn span { display: none; }
  .floating-wrap .float-btn { padding: 0.78rem; border-radius: 50%; }
  .hero-service-links { display: none; }
  .hero-brand-bar { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
}
