/* =========================================================
   수리터 벽장리폼 — style.css
   ========================================================= */

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

/* --- CSS Variables --- */
:root {
  --primary: #A0C4D8;
  --primary-dark: #7BAFC7;
  --accent: #6B9FB5;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e5e7eb;
  --card-radius: 1rem;
  --shadow: 0 4px 16px rgba(0,0,0,0.08);
  --max-w: 1200px;
  --header-h: 64px;
}

/* --- Reset --- */
*, *::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);
  line-height: 1.7;
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

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

/* --- Section Spacing --- */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }

/* --- Section Label (label-number style) --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--primary);
}
.section-label .label-num {
  font-weight: 700;
}

/* --- Headings --- */
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  word-break: keep-all;
}
.section-desc {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 560px;
  word-break: keep-all;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: inherit;
  word-break: keep-all;
}
.btn-primary {
  background: var(--primary-dark);
  color: #fff;
  border: 2px solid var(--primary-dark);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-white {
  background: #fff;
  color: var(--accent);
  border: 2px solid #fff;
}
.btn-white:hover {
  background: transparent;
  color: #fff;
}

/* =========================================================
   HEADER
   ========================================================= */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.nav-desktop {
  display: flex;
  gap: 1.75rem;
  margin-left: auto;
}
.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.2s;
}
.nav-desktop a:hover { color: var(--accent); }
.btn-header-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1.1rem;
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-header-cta:hover { background: var(--accent); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: 0.5rem;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 1rem 1.5rem 1.5rem;
  gap: 0;
  z-index: 999;
  box-shadow: var(--shadow);
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 0.8rem 0;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav .mobile-tel {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  margin-top: 0.5rem;
}

/* =========================================================
   HERO SPLIT
   ========================================================= */
.hero-split {
  min-height: 100vh;
  padding-top: var(--header-h);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.hero-left {
  padding: 4rem 3rem 4rem 0;
  max-width: 560px;
  justify-self: end;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--primary);
}
.hero-h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  word-break: keep-all;
  color: var(--text);
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 2rem;
  word-break: keep-all;
}
.hero-service-links {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 2rem;
}
.hero-service-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.65rem 0.5rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s;
  word-break: keep-all;
  line-height: 1.4;
}
.hero-service-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Hero Right — Slider */
.hero-right {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-alt);
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slider-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  padding: 0;
}
.slider-dot.active { background: #fff; }

/* =========================================================
   PORTFOLIO GRID
   ========================================================= */
#portfolio { padding: 5rem 0; }
.portfolio-header {
  margin-bottom: 3rem;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.portfolio-card {
  background: var(--bg);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
  color: var(--text);
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.portfolio-card-thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-alt);
}
.portfolio-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.portfolio-card:hover .portfolio-card-thumb img {
  transform: scale(1.04);
}
.portfolio-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}
.portfolio-card-body {
  padding: 1.1rem 1.25rem 1.4rem;
}
.portfolio-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  word-break: keep-all;
}
.portfolio-card-loc {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.portfolio-card-work {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  word-break: keep-all;
}
.portfolio-cta {
  text-align: center;
}

/* =========================================================
   SERVICES GRID (5 cards)
   ========================================================= */
#services { padding: 5rem 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.25s ease;
}
.service-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(160,196,216,0.25);
}
.service-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.service-icon svg { width: 24px; height: 24px; }
.service-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  word-break: keep-all;
}
.service-card-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  word-break: keep-all;
}

/* =========================================================
   PROCESS STEPS
   ========================================================= */
#process { padding: 5rem 0; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process-step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}
.process-num {
  width: 56px;
  height: 56px;
  background: var(--primary-dark);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 auto 1.25rem;
}
.process-step-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  word-break: keep-all;
}
.process-step-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  word-break: keep-all;
}

/* =========================================================
   ABOUT
   ========================================================= */
#about { padding: 5rem 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2.5rem;
}
.about-text .about-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.about-text .about-role {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.about-text p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1rem;
  word-break: keep-all;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.about-stat {
  text-align: center;
  padding: 1.25rem 0.75rem;
  background: var(--bg-alt);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.about-stat-num {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}
.about-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  word-break: keep-all;
}
.about-info {
  background: var(--bg-alt);
  border-radius: var(--card-radius);
  padding: 2rem;
  border: 1px solid var(--border);
}
.about-info-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text);
}
.about-info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.about-info-table tr {
  border-bottom: 1px solid var(--border);
}
.about-info-table tr:last-child { border-bottom: none; }
.about-info-table td {
  padding: 0.65rem 0;
  vertical-align: top;
  word-break: keep-all;
}
.about-info-table td:first-child {
  width: 40%;
  color: var(--text-muted);
  font-weight: 500;
}

/* =========================================================
   SERVICE AREAS
   ========================================================= */
#areas { padding: 5rem 0; }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.area-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.area-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--accent);
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--primary);
}
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.area-tag {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =========================================================
   FAQ
   ========================================================= */
#faq { padding: 5rem 0; }
.faq-list {
  margin-top: 2.5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: var(--bg);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  font-family: inherit;
  word-break: keep-all;
  line-height: 1.5;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--bg-alt); }
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: var(--accent);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 1.4rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  word-break: keep-all;
}

/* =========================================================
   CTA SECTION
   ========================================================= */
#cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
  color: #fff;
  text-align: center;
}
.cta-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  opacity: 0.85;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.cta-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  word-break: keep-all;
}
.cta-desc {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  word-break: keep-all;
}
.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-phone-text {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

/* =========================================================
   FOOTER
   ========================================================= */
#site-footer {
  background: var(--text);
  color: rgba(255,255,255,0.8);
  padding: 3.5rem 0 0;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr 1fr;
  gap: 2.5rem;
}
.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.6rem;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  opacity: 0.7;
}
.footer-links h4, .footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  margin-bottom: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.footer-links a, .footer-contact a {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.45rem;
  transition: color 0.2s;
  word-break: keep-all;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 1.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  word-break: keep-all;
}

/* =========================================================
   FLOATING BUTTONS
   ========================================================= */
.floating-btns {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 900;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,0,0,0.22);
}
.float-call {
  background: var(--primary-dark);
  color: #fff;
}
.float-sms {
  background: #fff;
  color: var(--accent);
  border: 1.5px solid var(--border);
}

/* =========================================================
   PORTFOLIO DETAIL PAGE
   ========================================================= */
.detail-hero {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 3rem;
  background: var(--bg-alt);
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--accent); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { opacity: 0.5; }
.detail-badge {
  display: inline-block;
  background: var(--primary-dark);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 0.9rem;
}
.detail-h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  word-break: keep-all;
}
.detail-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.detail-meta span { display: flex; align-items: center; gap: 0.35rem; }

.detail-images {
  padding: 4rem 0;
}
.detail-images-grid {
  display: grid;
  gap: 1.5rem;
}
.detail-images-grid.cols-2 { grid-template-columns: 1fr 1fr; }
.detail-images-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
.detail-img-wrap {
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--bg-alt);
}
.detail-img-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.detail-img-wrap img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.detail-info {
  padding: 4rem 0;
  background: var(--bg-alt);
}
.detail-info-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}
.detail-info-main h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}
.detail-info-main p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-muted);
  word-break: keep-all;
  margin-bottom: 1rem;
}
.detail-spec-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 1.5rem;
}
.detail-spec-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--border);
  word-break: keep-all;
}
.spec-row:last-child { border-bottom: none; }
.spec-row dt { color: var(--text-muted); font-weight: 500; }
.spec-row dd { font-weight: 600; text-align: right; }

.detail-quote {
  padding: 4rem 0;
}
.quote-block {
  background: var(--bg-alt);
  border-left: 4px solid var(--primary-dark);
  border-radius: 0 var(--card-radius) var(--card-radius) 0;
  padding: 1.75rem 2rem;
  max-width: 680px;
  margin: 0 auto;
}
.quote-block blockquote {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  font-style: normal;
  word-break: keep-all;
  margin-bottom: 0.75rem;
}
.quote-attribution {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.detail-related {
  padding: 4rem 0;
  background: var(--bg-alt);
}

/* =========================================================
   NSEO PAGE
   ========================================================= */
.nseo-hero {
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: 3.5rem;
  background: linear-gradient(135deg, rgba(160,196,216,0.15) 0%, rgba(107,159,181,0.08) 100%);
  border-bottom: 1px solid var(--border);
}
.nseo-h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  word-break: keep-all;
  max-width: 700px;
}
.nseo-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 640px;
  word-break: keep-all;
}
.nseo-content {
  padding: 4rem 0;
}
.nseo-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  word-break: keep-all;
  color: var(--text);
}
.nseo-content h2:first-child { margin-top: 0; }
.nseo-content p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 1rem;
  word-break: keep-all;
}
.nseo-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.nseo-content ul li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  word-break: keep-all;
}
.nseo-related {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.nseo-related h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.nseo-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.nseo-related-links a {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  color: var(--accent);
  transition: all 0.2s;
}
.nseo-related-links a:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* =========================================================
   CONSULTATION PAGE
   ========================================================= */
.consult-hero {
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: 3rem;
  background: var(--bg-alt);
}
.consult-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 3rem 0;
}
.consult-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.consult-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--accent);
}
.consult-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.consult-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  word-break: keep-all;
  margin-bottom: 1.25rem;
}
.consult-info-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--card-radius);
  padding: 2rem;
  margin: 3rem 0;
}
.consult-info-box h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.consult-info-box ul {
  list-style: none;
  padding: 0;
}
.consult-info-box ul li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  word-break: keep-all;
}
.consult-info-box ul li:last-child { border-bottom: none; }

/* =========================================================
   SITEMAP PAGE
   ========================================================= */
.sitemap-section {
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: 5rem;
}
.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}
.sitemap-group h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sitemap-group ul { list-style: none; }
.sitemap-group li { margin-bottom: 0.4rem; }
.sitemap-group a {
  font-size: 0.88rem;
  color: var(--text-muted);
  transition: color 0.2s;
}
.sitemap-group a:hover { color: var(--accent); }

/* =========================================================
   404 PAGE
   ========================================================= */
.notfound {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.notfound-inner { max-width: 480px; }
.notfound-code {
  font-size: 6rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1rem;
}
.notfound-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.notfound-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  word-break: keep-all;
}

/* =========================================================
   PAGE TOP PADDING (for non-hero pages)
   ========================================================= */
.page-top { padding-top: var(--header-h); }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet */
@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    padding: 3rem 1.5rem 2rem;
    max-width: 100%;
    justify-self: stretch;
  }
  .hero-right {
    height: 50vh;
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .process-steps::before { display: none; }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .about-grid { gap: 2.5rem; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .nav-desktop { display: none; }
  .btn-header-cta { display: none; }
  .hamburger { display: flex; }

  .hero-service-links {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .process-step { text-align: left; display: flex; gap: 1rem; align-items: flex-start; }
  .process-num { flex-shrink: 0; width: 44px; height: 44px; font-size: 1rem; }

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

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

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

  .floating-btns {
    bottom: 1.25rem;
    right: 1rem;
  }
  .float-btn { padding: 0.65rem 0.9rem; font-size: 0.82rem; }

  .detail-images-grid.cols-2,
  .detail-images-grid.cols-3 {
    grid-template-columns: 1fr;
  }
  .detail-info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .consult-methods {
    grid-template-columns: 1fr;
  }

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

  .hero-ctas { flex-direction: column; }

  .section { padding: 3.5rem 0; }

  .cta-btns { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .hero-service-links {
    grid-template-columns: 1fr;
  }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* Detail process steps */
.detail-process { padding: 4rem 0; }
.process-steps-detail { display: flex; flex-direction: column; gap: 1.5rem; }
.process-step-detail { display: flex; gap: 1.5rem; align-items: flex-start; }
.process-step-detail .process-num { width: 2.5rem; height: 2.5rem; min-width: 2.5rem; margin: 0; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; }
.process-step-content h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.process-step-content p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

/* Summary list */
.detail-summary { padding: 3rem 0; }
.summary-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.summary-list li { padding: 0.75rem 1rem 0.75rem 2.5rem; background: var(--bg); border-left: 3px solid var(--primary); position: relative; border-radius: 0 0.5rem 0.5rem 0; }
.summary-list li::before { content: ""; position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); width: 0.5rem; height: 0.5rem; background: var(--primary); border-radius: 50%; }
