/* ═══ 모쿠지 데크계단 보수공사 ═══
   Primary: 파스텔 스틸블루 #A0C4D8
   Hero: hero-overlay / Layout: 패턴6 / Grid: grid-3
   Label: label-number / Button: btn-square
   ═══════════════════════════════ */

:root {
  --primary:      #A0C4D8;
  --primary-dark: #7BAFC8;
  --primary-deep: #3A7FA0;
  --ink:          #111B26;
  --ink2:         #1E2E3D;
  --text:         #1C2B3A;
  --text-muted:   #56717F;
  --bg:           #FFFFFF;
  --bg2:          #F5F8FA;
  --bg3:          #EBF2F6;
  --border:       #D6E4ED;
  --white:        #FFFFFF;
  --card-radius:  10px;
  --max-w:        1200px;
  --header-h:     68px;
  --shadow-sm:    0 2px 8px rgba(28,43,58,0.07);
  --shadow-md:    0 8px 28px rgba(28,43,58,0.11);
  --shadow-lg:    0 20px 60px rgba(28,43,58,0.14);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: break-word;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; margin: 0 0 0.55rem; }
h3 { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 700; line-height: 1.45; margin: 0 0 0.35rem; }
p  { margin: 0; }

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

/* ── Section Label (label-number) ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary-deep);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.65rem;
}
.section-label::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--primary-deep);
  flex-shrink: 0;
}

/* ── Button (btn-square) ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--primary-deep);
  color: #fff;
  box-shadow: 0 4px 14px rgba(58,127,160,0.35);
}
.btn-primary:hover {
  background: #2D6A88;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58,127,160,0.45);
}
.btn-outline {
  background: transparent;
  color: var(--primary-deep);
  border: 2px solid var(--primary-deep);
}
.btn-outline:hover {
  background: var(--primary-deep);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--primary-deep);
  font-weight: 800;
}
.btn-white:hover { background: var(--bg2); }
.btn-ghost {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.7); }

/* ═══════════════════════════════════
   HEADER
═══════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(214,228,237,0.6);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 2px 20px rgba(28,43,58,0.1); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.03em;
}
.logo-dot {
  width: 8px; height: 8px;
  background: var(--primary-deep);
  border-radius: 50%;
  display: inline-block;
}
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
  letter-spacing: -0.01em;
}
.site-nav a:hover { color: var(--primary-deep); }
.header-cta { margin-left: 0.5rem; }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 0 12px 30px rgba(28,43,58,0.12);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .mobile-cta { display: block; text-align: center; margin-top: 0.75rem; border: none; padding: 0; }

/* ═══════════════════════════════════
   HERO
═══════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/portfolio/sam006.webp');
  background-size: cover;
  background-position: center 40%;
  will-change: transform;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(10, 22, 35, 0.72) 0%,
    rgba(10, 22, 35, 0.72) 28%,
    rgba(10, 22, 35, 0.35) 52%,
    rgba(10, 22, 35, 0.0) 72%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--header-h) + 5rem) 1.5rem 5rem;
  color: #fff;
  max-width: 700px;
  margin-left: max(1.5rem, calc((100vw - var(--max-w)) / 2 + 1.5rem));
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1.5rem;
  opacity: 0.9;
}
.hero-eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--primary);
}
.hero-h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-h1 em {
  font-style: normal;
  color: var(--primary);
}
.hero-desc {
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  font-weight: 300;
  line-height: 1.85;
  opacity: 0.88;
  margin-bottom: 2.5rem;
  max-width: 520px;
}
.hero-stats {
  display: flex;
  gap: 0;
  margin-bottom: 2.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  backdrop-filter: blur(8px);
  max-width: 420px;
  overflow: hidden;
}
.hero-stat {
  flex: 1;
  text-align: center;
  padding: 1.1rem 1rem;
}
.hero-stat + .hero-stat {
  border-left: 1px solid rgba(255,255,255,0.12);
}
.hero-stat-num {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
  white-space: nowrap;
}
.hero-stat-num span { font-size: 0.85rem; font-weight: 600; }
.hero-stat-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.3rem;
  font-weight: 500;
  white-space: nowrap;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ═══════════════════════════════════
   SERVICES
═══════════════════════════════════ */
.services-section { background: var(--bg2); }
.services-header { margin-bottom: 2.5rem; }
.services-header h2 { margin-bottom: 0.45rem; }
.services-header p { color: var(--text-muted); font-size: 0.92rem; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: all 0.28s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.service-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.service-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.service-card:hover .service-thumb img { transform: scale(1.07); }
.service-body { padding: 1.1rem 1rem 1.2rem; flex: 1; display: flex; flex-direction: column; gap: 0.3rem; }
.service-num { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--primary-deep); }
.service-title { font-size: 0.88rem; font-weight: 800; color: var(--text); line-height: 1.35; }
.service-desc { font-size: 0.76rem; color: var(--text-muted); line-height: 1.5; flex: 1; }
.service-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-top: 0.5rem;
}
.service-more svg { transition: transform 0.2s; }
.service-card:hover .service-more svg { transform: translateX(4px); }

/* ═══════════════════════════════════
   PORTFOLIO
═══════════════════════════════════ */
.portfolio-section { background: var(--bg); }
.portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.portfolio-header-text h2 { margin-bottom: 0.35rem; }
.portfolio-header-text p { color: var(--text-muted); font-size: 0.92rem; }
.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.28s ease;
  cursor: pointer;
  text-decoration: none;
  display: block;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.card-thumb { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.portfolio-card:hover .card-thumb img { transform: scale(1.06); }
.card-body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: 0.4rem; }
.card-badge {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--bg3); color: var(--primary-deep);
  display: inline-block;
  padding: 0.22rem 0.65rem; border-radius: 4px; align-self: flex-start;
  border: 1px solid var(--border);
}
.card-title { font-weight: 800; font-size: 1rem; line-height: 1.35; color: var(--text); }
.card-location {
  display: flex; align-items: center; gap: 0.3rem;
  font-size: 0.8rem; color: var(--text-muted); font-weight: 500;
}
.card-meta {
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.78rem; color: var(--text-muted); margin-top: 0.1rem;
}
.card-meta span { display: flex; align-items: center; gap: 0.25rem; }
.card-more {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.82rem; font-weight: 700; color: var(--text-muted);
  margin-top: 0.5rem; transition: color 0.25s;
}
.card-more svg { transition: transform 0.2s; }
.portfolio-card:hover .card-more { color: var(--primary-deep); }
.portfolio-card:hover .card-more svg { transform: translateX(4px); }

/* ═══════════════════════════════════
   MID BANNER
═══════════════════════════════════ */
.mid-banner {
  background: var(--ink2);
  color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.mid-banner::before {
  content: "";
  position: absolute;
  top: -80px; left: -80px;
  width: 300px; height: 300px;
  background: rgba(160,196,216,0.08);
  border-radius: 50%;
}
.mid-banner::after {
  content: "";
  position: absolute;
  bottom: -60px; right: -40px;
  width: 220px; height: 220px;
  background: rgba(160,196,216,0.06);
  border-radius: 50%;
}
.mid-banner-inner { position: relative; z-index: 1; }
.mid-banner p {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 1.75rem;
  opacity: 0.95;
  letter-spacing: -0.02em;
}
.mid-banner p strong { color: var(--primary); }

/* ═══════════════════════════════════
   PROCESS
═══════════════════════════════════ */
.process-section { background: var(--bg2); }
.process-section > .container > p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 0.1rem;
  margin-bottom: 2.5rem;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 0;
  position: relative;
}
.process-step {
  position: relative;
  padding: 2rem 1.5rem 2rem;
  text-align: center;
}
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.75rem;
  right: -1px;
  width: 2px;
  height: 28px;
  background: var(--border);
}
.step-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary);
  color: var(--primary-deep);
  font-size: 0.95rem;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 5px var(--bg2), 0 4px 12px rgba(58,127,160,0.15);
}
.step-connector {
  position: absolute;
  top: 2.87rem;
  left: calc(50% + 26px);
  right: calc(-50% + 26px);
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--border));
  z-index: 0;
}
.step-title { font-weight: 800; font-size: 1rem; margin-bottom: 0.6rem; color: var(--text); }
.step-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.65; }

/* ═══════════════════════════════════
   ABOUT
═══════════════════════════════════ */
.about-section { background: var(--bg); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-text .section-label { margin-bottom: 0.65rem; }
.about-text h2 { margin-bottom: 1.25rem; }
.about-text p {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
}
.about-biz {
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
  background: var(--bg2);
  border-left: 3px solid var(--primary-deep);
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 1rem;
}
.about-biz strong { color: var(--text); font-weight: 700; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--primary);
}
.stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
}
.stat-unit { font-size: 1.1rem; font-weight: 700; color: var(--primary-deep); }
.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ═══════════════════════════════════
   AREAS
═══════════════════════════════════ */
.areas-section { background: var(--ink2); color: #fff; }
.areas-section .section-label { color: var(--primary); }
.areas-section .section-label::before { background: var(--primary); }
.areas-section h2 { color: #fff; margin-bottom: 0.5rem; }
.areas-section > .container > p { color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-bottom: 2.5rem; }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.area-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--card-radius);
  padding: 2rem 1.75rem;
  transition: background 0.25s, border-color 0.25s;
}
.area-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(160,196,216,0.4);
}
.area-icon {
  width: 40px; height: 40px;
  background: rgba(160,196,216,0.2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.area-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.area-districts {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.85;
}

/* ═══════════════════════════════════
   FAQ
═══════════════════════════════════ */
.faq-section { background: var(--bg2); }
.faq-inner { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; }
.faq-left h2 { margin-bottom: 0.65rem; }
.faq-left p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.8; margin-bottom: 1.75rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--white);
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--primary); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: none; border: none; cursor: pointer;
  font-size: 0.92rem; font-weight: 700; color: var(--text);
}
.faq-icon {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.3s;
}
.faq-item.open .faq-icon {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
  transform: rotate(45deg);
}
.faq-item.open .faq-icon svg { stroke: #fff; }
.faq-a {
  display: none;
  padding: 0 1.4rem 1.1rem;
  font-size: 0.88rem; color: var(--text-muted); line-height: 1.85;
}

/* ═══════════════════════════════════
   CTA
═══════════════════════════════════ */
.cta-section {
  background: var(--bg);
  text-align: center;
  padding: 5.5rem 1.5rem;
  border-top: 1px solid var(--border);
}
.cta-label {
  display: inline-block;
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--primary-deep);
  margin-bottom: 1rem;
}
.cta-section h2 { margin-bottom: 0.75rem; }
.cta-section .cta-desc {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}
.trust-badge {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.55rem 1rem;
  font-size: 0.82rem; font-weight: 700; color: var(--text);
}
.trust-badge svg { color: var(--primary-deep); }
.cta-btns { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.cta-btns .btn { font-size: 1rem; padding: 0.9rem 2rem; }

/* ═══════════════════════════════════
   FOOTER
═══════════════════════════════════ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 3.5rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}
.footer-brand { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.75rem; }
.footer-brand-name { font-size: 1rem; font-weight: 900; color: #fff; letter-spacing: -0.03em; }
.footer-desc { font-size: 0.83rem; line-height: 1.75; margin-bottom: 1.25rem; }
.footer-biz { font-size: 0.75rem; opacity: 0.55; line-height: 1.8; }
.footer-tel { color: var(--primary); font-weight: 700; }
.footer-col h4 { font-size: 0.78rem; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul a { font-size: 0.83rem; transition: color 0.2s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.4;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ═══════════════════════════════════
   FLOATING
═══════════════════════════════════ */
.floating-wrap {
  position: fixed;
  bottom: 1.75rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  transition: transform 0.2s, box-shadow 0.2s;
}
.float-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.28); }
.float-call { background: var(--primary-deep); }
.float-sms  { background: var(--ink2); }

/* ═══════════════════════════════════
   DETAIL PAGES
═══════════════════════════════════ */

/* Breadcrumb */
.breadcrumb-bar { background: var(--bg2); border-bottom: 1px solid var(--border); padding: 0.75rem 0; }
.breadcrumb-list { list-style: none; display: flex; align-items: center; flex-wrap: wrap; font-size: 0.78rem; }
.breadcrumb-list li { display: flex; align-items: center; color: var(--text-muted); }
.breadcrumb-list li:not(:last-child)::after { content: "›"; margin: 0 0.45rem; opacity: 0.45; }
.breadcrumb-list a { color: var(--text-muted); }
.breadcrumb-list a:hover { color: var(--primary-deep); }
.breadcrumb-list [aria-current="page"] { color: var(--text); font-weight: 600; }

/* Detail Hero */
.detail-hero {
  background: var(--ink2);
  color: #fff;
  padding: calc(var(--header-h) + 3rem) 0 3.5rem;
}
.detail-hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.detail-hero-text .section-label { color: var(--primary); }
.detail-hero-text .section-label::before { background: var(--primary); }
.detail-hero-text h1 { color: #fff; }
.detail-hero-desc { font-size: 0.95rem; color: rgba(255,255,255,0.72); line-height: 1.65; }
.detail-hero-img {
  border-radius: var(--card-radius); overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.4); aspect-ratio: 4/3;
}
.detail-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Info Bar */
.detail-info-bar {
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 1.5rem 0; box-shadow: var(--shadow-sm);
}
.detail-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.detail-info-item { border-left: 2px solid var(--border); padding-left: 1.25rem; }
.detail-info-item:first-child { border-left: none; padding-left: 0; }
.info-label {
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--text-muted); display: block; margin-bottom: 0.3rem;
}
.info-value { font-size: 0.9rem; font-weight: 700; color: var(--text); }

/* Content Section */
.detail-content-section { padding: 4rem 0; }
.detail-content-wrap { max-width: 720px; }
.detail-content-wrap .section-label { margin-bottom: 0.5rem; }
.detail-content-wrap > h2 { margin-bottom: 1rem; }
.detail-content-wrap h3 { margin-bottom: 0.4rem; }
.detail-text-block { margin-bottom: 2.5rem; }
.detail-text-block:last-child { margin-bottom: 0; }
.detail-text-block p { color: var(--text-muted); line-height: 1.9; font-size: 0.95rem; }

/* Before / After */
.detail-ba-section { background: var(--bg2); }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }
.ba-label {
  display: inline-block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 0.28rem 0.8rem; border-radius: 4px; margin-bottom: 0.85rem;
}
.ba-before { background: var(--bg); border: 1px solid var(--border); color: var(--text-muted); }
.ba-after  { background: var(--primary-deep); color: #fff; }
.ba-card img { width: 100%; aspect-ratio: 4/3; border-radius: var(--card-radius); margin-bottom: 0.85rem; box-shadow: var(--shadow-md); display: block; object-fit: cover; }
.ba-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.85; }

/* Summary */
.detail-summary-section { background: var(--white); }
.summary-box {
  background: var(--bg2); border-left: 4px solid var(--primary-deep);
  border-radius: 0 var(--card-radius) var(--card-radius) 0; padding: 2rem 2.5rem;
}
.summary-box h2 { font-size: 1.1rem; margin-bottom: 1.25rem; }
.summary-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.summary-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.9rem; color: var(--text); line-height: 1.75; }
.summary-list li svg { flex-shrink: 0; margin-top: 0.2rem; }

/* Quote */
.detail-quote-section { background: var(--bg2); }
.detail-quote {
  border-left: 4px solid var(--primary-deep);
  padding: 1.75rem 2.25rem;
  background: var(--white); border-radius: 0 var(--card-radius) var(--card-radius) 0;
  box-shadow: var(--shadow-sm); max-width: 700px;
}
.detail-quote p { font-size: 1rem; color: var(--text); line-height: 2; font-style: italic; margin-bottom: 0.75rem; }
.detail-quote footer { font-size: 0.82rem; font-weight: 700; color: var(--primary-deep); }

/* Related */
.detail-related-section .portfolio-grid { grid-template-columns: repeat(2, 1fr) !important; margin-top: 2rem; }
.detail-related-footer { text-align: center; margin-top: 2.5rem; }

/* ═══════════════════════════════════
   NSEO / SUB PAGES
═══════════════════════════════════ */
.sub-hero {
  background: linear-gradient(135deg, var(--ink2) 0%, #2A4A62 100%);
  color: #fff;
  padding: calc(var(--header-h) + 4.5rem) 0 4rem;
}
.sub-hero .section-label { color: var(--primary); }
.sub-hero .section-label::before { background: var(--primary); }
.sub-hero h1 { color: #fff; margin-bottom: 1rem; }
.sub-hero p { color: rgba(255,255,255,0.8); max-width: 580px; line-height: 1.85; margin-bottom: 2rem; font-size: 0.95rem; }

/* ═══════════════════════════════════
   CONSULTATION
═══════════════════════════════════ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.step-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--card-radius); padding: 2rem 1.5rem;
  text-align: center; box-shadow: var(--shadow-sm);
}
.step-card .step-num { margin-bottom: 1.1rem; }
.step-card h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.7; }

/* ═══════════════════════════════════
   SITEMAP / 404
═══════════════════════════════════ */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.sitemap-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--card-radius); padding: 1.5rem;
}
.sitemap-card h3 { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary-deep); margin-bottom: 0.9rem; font-weight: 800; }
.sitemap-card ul { display: flex; flex-direction: column; gap: 0.35rem; }
.sitemap-card a { font-size: 0.88rem; color: var(--text-muted); padding: 0.35rem 0; border-bottom: 1px solid var(--border); display: block; }
.sitemap-card a:hover { color: var(--primary-deep); }

/* ═══════════════════════════════════
   RESPONSIVE
═══════════════════════════════════ */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2)::after { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .faq-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  section { padding: 3.5rem 0; }
  .site-nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .hero-content { margin-left: 1.5rem; margin-right: 1.5rem; padding-top: calc(var(--header-h) + 3rem); }
  .hero-stats { gap: 1.25rem; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-header { flex-direction: column; align-items: flex-start; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .areas-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .detail-hero-inner { grid-template-columns: 1fr; }
  .detail-hero-img { order: -1; aspect-ratio: 16/9; }
  .detail-info-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-info-item:nth-child(odd) { border-left: none; padding-left: 0; }
  .detail-info-item:nth-child(even) { border-left: 2px solid var(--border); padding-left: 1.25rem; }
  .ba-grid { grid-template-columns: 1fr; }
  .detail-related-section .portfolio-grid { grid-template-columns: 1fr !important; }
  .steps-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .trust-badges { flex-direction: column; align-items: center; }
  .mid-banner p { font-size: 1.05rem; }
}

@media (max-width: 480px) {
  .hero-h1 { font-size: 2rem; }
  .hero-stats { flex-direction: row; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}
