/* H-1: hero-grid | H-2: 패턴6 | H-3: grid-3 | H-4: label-number | H-5: btn-square */

/* ============================================================
   FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;600;700&display=swap');

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --primary: #A0C4D8;
  --accent: #3A7CA5;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8fafb;
  --border: #e5e7eb;
  --card-radius: 1rem;
  --section-gap: 5rem;
  --container-max: 1200px;
  --transition: 0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

ul, ol {
  list-style: none;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--section-gap) 0;
}

.section-alt {
  background: var(--bg-alt);
}

/* ============================================================
   SECTION LABEL — label-number (01 — Section)
   ============================================================ */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.25rem;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--text);
}

.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.8;
}

/* ============================================================
   BUTTONS — btn-square (border-radius: 6px)
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  text-decoration: none;
  word-break: keep-all;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: #2d6490;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--accent);
}
.btn-white:hover {
  background: var(--bg-alt);
}

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

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-logo span {
  color: var(--text);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.site-nav a:hover {
  color: var(--accent);
}
.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}
.site-nav a.active {
  color: var(--accent);
}

.header-cta {
  margin-left: 1rem;
}

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

.mobile-nav {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.5rem 1.5rem;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child {
  border-bottom: none;
}
.mobile-nav .btn {
  width: 100%;
  margin-top: 0.5rem;
}

/* ============================================================
   HERO — hero-grid
   ============================================================ */
.hero {
  padding-top: calc(64px + 3.5rem);
  padding-bottom: 3.5rem;
  background: linear-gradient(160deg, #f4f9fc 0%, #eaf4f9 60%, #f8fafb 100%);
  display: flex;
  align-items: center;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 520px;
}

.hero-badge {
  display: inline-block;
  background: transparent;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  border: 1.5px solid var(--primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.25rem;
  color: var(--text);
  letter-spacing: -0.025em;
}

.hero-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 2rem;
}

/* 핵심 문구 체크리스트 */
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.hero-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.6;
}

.hero-features li svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero grid — 우측 사진 3장 */
.hero-grid-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.625rem;
  height: 420px;
}

.hero-grid-item {
  border-radius: calc(var(--card-radius) * 0.75);
  overflow: hidden;
  background: var(--border);
}

.hero-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.hero-grid-main {
  grid-row: 1 / 3;
}

.hero-grid-caption {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0 0.25rem;
  border-left: 2px solid var(--primary);
  padding-left: 0.75rem;
}

/* ============================================================
   SERVICE CARDS — 5열 그리드
   ============================================================ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(58, 124, 165, 0.12);
  transform: translateY(-3px);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 12px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
}

.service-card h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
  line-height: 1.4;
}

.service-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   PORTFOLIO — grid-3 + 카드 호버
   ============================================================ */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.portfolio-card {
  border-radius: var(--card-radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  transition: box-shadow var(--transition), transform var(--transition);
}

.portfolio-card:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.portfolio-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.05);
}

.portfolio-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(58, 124, 165, 0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.portfolio-body {
  padding: 1.25rem;
}

.portfolio-body h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  color: var(--text);
  line-height: 1.4;
}

.portfolio-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.portfolio-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.portfolio-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--transition);
}
.portfolio-card:hover .portfolio-link {
  gap: 0.5rem;
}

/* ============================================================
   BEFORE / AFTER 2열 그리드
   ============================================================ */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.ba-item {
  border-radius: var(--card-radius);
  overflow: hidden;
  position: relative;
}

.ba-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center bottom;
}

.ba-label {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(26, 26, 46, 0.75);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.625rem;
  border-radius: 6px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* After images grid (multiple) */
.after-images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.after-images-grid img {
  width: 100%;
  border-radius: var(--card-radius);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center bottom;
}

/* ============================================================
   PROCESS — 4단계 수평
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--primary);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--primary);
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.process-step p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   COMPANY / ABOUT
   ============================================================ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img {
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--bg-alt);
}

.about-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.about-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about-point-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-point-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
}

.about-point h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.about-point p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.75rem;
}

.review-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
  color: #f59e0b;
  font-size: 1rem;
}

.review-text {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.review-author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.review-location {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.125rem;
}

/* ============================================================
   REGION
   ============================================================ */
.region-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.region-tag {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color var(--transition), background var(--transition);
}

.region-tag:hover {
  border-color: var(--accent);
  background: rgba(160, 196, 216, 0.1);
}

/* ============================================================
   FAQ — 아코디언
   ============================================================ */
.faq-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  overflow: hidden;
  background: #fff;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: background var(--transition);
  word-break: keep-all;
}

.faq-question:hover {
  background: var(--bg-alt);
}

.faq-question[aria-expanded="true"] {
  background: rgba(160, 196, 216, 0.15);
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  transition: transform var(--transition);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.8;
  border-top: 1px solid var(--border);
}

.faq-answer.open {
  display: block;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--accent) 0%, #2d6490 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 0;
}

.cta-section .section-label {
  color: var(--primary);
  border-color: var(--primary);
}

.cta-section .section-title {
  color: #fff;
}

.cta-section .section-desc {
  color: rgba(255,255,255,0.8);
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   INLINE BANNER (포트폴리오 사이 배너)
   ============================================================ */
.inline-banner {
  background: linear-gradient(135deg, rgba(160,196,216,0.3) 0%, rgba(58,124,165,0.15) 100%);
  border: 1px solid var(--primary);
  border-radius: var(--card-radius);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 3rem 0;
}

.inline-banner-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.inline-banner-text p {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1.5fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #374151;
  margin-bottom: 2rem;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: #9ca3af;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color var(--transition);
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-biz {
  font-size: 0.8125rem;
  color: #6b7280;
  line-height: 1.7;
}

.footer-copy {
  font-size: 0.8125rem;
  color: #6b7280;
  text-align: right;
}

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floating-wrap {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.125rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: transform var(--transition), box-shadow var(--transition);
  font-family: inherit;
  word-break: keep-all;
  white-space: nowrap;
}

.floating-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.floating-btn svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  flex-shrink: 0;
}

.floating-call {
  background: var(--accent);
}

.floating-sms {
  background: #374151;
}

/* ============================================================
   PORTFOLIO DETAIL
   ============================================================ */
.detail-hero {
  padding-top: calc(64px + 3rem);
  padding-bottom: 3rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.detail-breadcrumb {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.detail-meta-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.detail-meta-item {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.detail-meta-item strong {
  color: var(--text);
  font-weight: 600;
}

.detail-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border);
}

.detail-section:last-of-type {
  border-bottom: none;
}

.detail-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.detail-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 720px;
}

.summary-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

.summary-list li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.9375rem;
  color: var(--text);
}

.summary-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.quote-box {
  background: rgba(160, 196, 216, 0.15);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
}

.quote-box p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 0.75rem;
}

.quote-sig {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  font-style: normal;
}

.detail-cta {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2.5rem;
}

.detail-cta h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.detail-cta p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.detail-cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Related portfolio */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

/* ============================================================
   PAGE HERO (NSEO / 유틸리티 페이지)
   ============================================================ */
.page-hero {
  padding-top: calc(64px + 3rem);
  padding-bottom: 3rem;
  background: linear-gradient(135deg, #f0f7fb 0%, #e8f4f8 100%);
  text-align: center;
}

.page-hero .section-label {
  display: block;
  text-align: center;
}

.page-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.page-hero-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

/* ============================================================
   CONSULTATION PAGE
   ============================================================ */
.consult-form {
  max-width: 640px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

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

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
  word-break: keep-all;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58, 124, 165, 0.15);
}

.form-control::placeholder {
  color: #9ca3af;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.375rem;
}

/* ============================================================
   SITEMAP PAGE
   ============================================================ */
.sitemap-section {
  padding-top: calc(64px + 3rem);
  padding-bottom: 5rem;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.sitemap-col h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

.sitemap-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sitemap-col ul a {
  font-size: 0.9375rem;
  color: var(--text);
  transition: color var(--transition);
}

.sitemap-col ul a:hover {
  color: var(--accent);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.error-code {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.error-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.error-desc {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   RESPONSIVE — 1024px (태블릿 가로)
   ============================================================ */
@media (max-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-inner {
    gap: 2rem;
  }

  .process-grid::before {
    display: none;
  }

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

/* ============================================================
   RESPONSIVE — 768px (태블릿)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-gap: 3.5rem;
  }

  .site-nav {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding-top: calc(64px + 2rem);
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-grid-wrap {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-grid {
    height: 280px;
  }

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

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

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

  .about-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .inline-banner {
    flex-direction: column;
    text-align: center;
  }

  .sitemap-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: left;
  }

  .footer-copy {
    text-align: left;
  }
}

/* ============================================================
   RESPONSIVE — 640px (모바일)
   ============================================================ */
@media (max-width: 640px) {
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

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

  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-actions {
    flex-direction: column;
    max-width: 280px;
  }

  .floating-wrap {
    bottom: 1.25rem;
    right: 1rem;
  }

  .detail-cta-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 280px;
    margin: 0 auto;
  }
}
