/* Dalpaengi Floorgrind — 대리석바닥연마 The달팽이
   Design DNA D 재해석 (mirrorcabinet.jibsurifactory.com 참고): 타이포그래피 중심 풀블리드 히어로,
   전/후 비교 행, 헤어라인 디바이더, 에디토리얼 여백
   컬러: deep #161616 / accent #E8D9C4 / bg #FFFFFF / bg-soft #F5F6F8 / bar-chrome #EBECEE
*/

:root {
  --deep: #0A1628;
  --accent: #EFE8D8;
  --accent-soft: #F7F2E6;
  --bg: #FFFFFF;
  --bg-soft: #F5F6F8;
  --ink: #1A1A1A;
  --desc: #475569;
  --bar-chrome: #EDEBE7;
  --radius: 2px;
  --radius-img: 10px;
  --font: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  /* 메인(index) 전용 uapti DNA 토큰 — 서브페이지 기존 톤(--accent 등)에는 영향 없음 */
  --cream: #F4F4ED;
  --cream-soft: #ECEBE0;
  --terracotta: #A8622F;
  --terracotta-hover: #8C4F26;
  --sand: #B7AB8C;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0 0 16px; font-weight: 700; letter-spacing: -0.02em; }
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: 20px; }
p { margin: 0 0 12px; }

.fg-skip {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--deep); color: #fff; padding: 10px 16px;
}
.fg-skip:focus { left: 0; }

.fg-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--desc); text-transform: uppercase; margin-bottom: 12px;
}

/* ── 버튼 ─────────────────────────────────────────────────── */
.fg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--deep); color: #fff;
  padding: 13px 26px; font-size: 15px; font-weight: 600;
  /* 버튼 모양 확정 (seed 768): 후보 [0px 직각사각형, 8px 라운드사각형, 999px 필] 중
     라운드사각형(8px)을 채택 — 카드류(--radius:2px)와 분리해 CTA만 살짝 부드러운 형태로 구분 */
  border-radius: 8px; border: none; cursor: pointer;
  transition: background .2s, transform .15s;
}
.fg-btn:hover { background: #2b2b2b; transform: translateY(-1px); }
.fg-btn-lg { padding: 16px 34px; font-size: 16px; }
.fg-btn-header {
  background: var(--terracotta); color: #fff;
}
.fg-btn-header:hover { background: var(--terracotta-hover); }
.fg-btn-sticky { width: 100%; background: var(--terracotta); color: #fff; }
.fg-btn-sticky:hover { background: var(--terracotta-hover); }

/* ── 헤더 (2-state sticky, B-22) ──────────────────────────── */
.fg-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,10,.24);
  backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid transparent;
  transition: background .3s, box-shadow .3s, border-color .3s;
}
.fg-header.is-scrolled {
  background: var(--deep);
  border-bottom-color: rgba(255,255,255,.08);
  box-shadow: 0 1px 16px rgba(0,0,0,.24);
}
.fg-header-inner {
  max-width: 1200px; margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.fg-logo-group { display: flex; flex-direction: column; gap: 2px; }
.fg-logo { font-size: 20px; font-weight: 800; color: #fff; }
.fg-logo span { color: var(--terracotta); }
.fg-logo-tagline { font-size: 12px; color: rgba(255,255,255,.7); font-weight: 500; }
.fg-header-right { display: flex; align-items: center; gap: 28px; }
.fg-nav { display: flex; gap: 24px; }
.fg-nav a { color: #fff; font-size: 15px; font-weight: 500; opacity: .85; transition: opacity .3s; }
.fg-nav a:hover { opacity: 1; }
.fg-burger { display: none; }
.fg-burger span { background: #fff; }
.fg-nav-mobile { display: none; }

/* ── 히어로 (타이포그래피 중심 풀블리드 · DNA D) ───────────── */
.fg-hero {
  position: relative; overflow: hidden; color: #fff;
  margin-top: -76px; padding-top: 76px;
  min-height: 640px; display: flex; align-items: center;
}
.fg-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; border-radius: 0;
  animation: fg-hero-fade 1s ease both;
}
.fg-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg,
    rgba(22,22,22,.86) 0%, rgba(22,22,22,.66) 30%,
    rgba(22,22,22,.30) 60%, rgba(22,22,22,.08) 100%);
}
.fg-hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; width: 100%;
  padding: 96px 24px 88px;
}
.fg-hero-copy { max-width: 720px; }
.fg-hero-copy .fg-eyebrow { color: var(--accent); }
.fg-hero h1 { color: #fff; font-size: clamp(38px, 6vw, 66px); }
.fg-hero-desc { color: #ececec; font-size: 18px; }
@media (min-width: 901px) { .fg-hero .fg-hero-desc { white-space: nowrap; } }
.fg-hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.fg-hero-badges span {
  font-size: 13px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.08); border-radius: 999px; color: #fff;
}
@keyframes fg-hero-fade {
  from { opacity: 0; transform: scale(1.04); }
  to { opacity: 1; transform: none; }
}

/* ── 전/후 비교 행 (DNA D) ────────────────────────────────── */
.fg-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fg-compare figure { margin: 0; position: relative; }
.fg-compare img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 0; }
.fg-compare figcaption {
  position: absolute; left: 16px; top: 16px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em;
  padding: 6px 12px; background: var(--deep); color: #fff;
}

/* ── 서브히어로 (내부 페이지 공통 · 풀블리드) ──────────────── */
.fg-subhero {
  position: relative; overflow: hidden;
  margin-top: -76px; padding-top: 76px;
  min-height: 300px;
  display: flex; align-items: flex-end;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg-soft) 100%);
}
.fg-subhero:has(.fg-subhero-img) { min-height: 440px; }
.fg-subhero-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; border-radius: 0;
}
.fg-subhero:has(.fg-subhero-img)::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.12) 40%, rgba(0,0,0,.58) 100%);
}
.fg-subhero-content {
  position: relative; z-index: 1;
  max-width: 1200px; width: 100%; margin: 0 auto;
  padding: 0 24px 44px;
}
.fg-subhero-content h1 { color: var(--deep); }
.fg-subhero-content .fg-hero-desc { color: var(--desc); }
.fg-subhero:has(.fg-subhero-img) .fg-subhero-content h1 { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.4); }
.fg-subhero:has(.fg-subhero-img) .fg-subhero-content .fg-eyebrow { color: #fff; opacity: .92; }
.fg-subhero:has(.fg-subhero-img) .fg-subhero-content .fg-hero-desc { color: #f2f2f2; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
.fg-subhero-consult .fg-subhero-content { max-width: 640px; margin: 0 auto; text-align: center; }
.fg-subhero.fg-subhero-case { min-height: 60vh; }
.fg-subhero-gallery-link {
  display: inline-block; margin-top: 16px; font-size: 14px; color: #fff;
  text-decoration: underline; text-underline-offset: 4px;
}
.fg-subhero-gallery-link:hover { color: var(--sand); }
@media (max-width: 560px) { .fg-subhero.fg-subhero-case { min-height: 50vh; } }

/* ── 섹션 공통 ─────────────────────────────────────────────── */
.fg-section { padding: 72px 24px; border-top: 1px solid #ececec; }
.fg-section-alt { background: var(--bg-soft); }
.fg-section-inner { max-width: 1200px; margin: 0 auto; }

/* ── 증상 리스트 ──────────────────────────────────────────── */
.fg-symptom-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fg-symptom-item {
  padding: 24px; background: var(--bg-soft); border-radius: var(--radius);
  border-left: 3px solid var(--accent); font-size: 15px; color: var(--desc);
}
.fg-symptom-item strong { color: var(--ink); display: block; margin-bottom: 6px; font-size: 16px; }
.fg-symptom-item svg, .fg-checklist-item svg { width: 28px; height: 28px; color: var(--accent); margin-bottom: 10px; display: block; }

/* ── 프로세스 세로 타임라인 ───────────────────────────────── */
.fg-steps { list-style: none; margin: 0; padding: 0; max-width: 640px; }
.fg-steps li { display: flex; gap: 20px; padding: 20px 0; border-bottom: 1px solid #e4e0da; }
.fg-steps li:last-child { border-bottom: none; }
.fg-steps span { font-size: 22px; font-weight: 800; color: var(--accent); min-width: 44px; }
.fg-steps li div strong { display: block; margin-bottom: 4px; font-size: 16px; }

/* ── 갤러리 그리드 ────────────────────────────────────────── */
.fg-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.fg-gallery-grid-full { grid-template-columns: repeat(4, 1fr); }
.fg-related-card { display: block; overflow: hidden; border-radius: var(--radius-img); }
.fg-related-card img { aspect-ratio: 4/3; object-fit: cover; transition: transform .3s, filter .3s; }
.fg-related-card:hover img { transform: scale(1.04); filter: brightness(1.06); }
.fg-case-gallery .fg-related-card { border-radius: 8px; }
.fg-link-more { font-weight: 600; color: var(--deep); }

/* ── 시공사례 상세 관련 링크 ───────────────────────────────── */
.fg-case-related { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

/* ── CTA 밴드 ─────────────────────────────────────────────── */
.fg-cta-band {
  background: var(--deep); color: #fff; padding: 48px 24px;
  display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap;
  text-align: center;
}
.fg-cta-band p { font-size: 20px; font-weight: 700; margin: 0; }
.fg-cta-band .fg-btn { background: var(--accent); color: var(--deep); }
.fg-cta-band .fg-btn:hover { background: #dfc9ab; }

/* ── 지역 칩 그리드 ───────────────────────────────────────── */
.fg-region-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fg-region-chip {
  padding: 16px; text-align: center; background: var(--bg); border: 1px solid #e0e0e0;
  border-radius: var(--radius); font-weight: 600; font-size: 14px;
}
.fg-region-chip:hover { border-color: var(--deep); background: var(--bg-soft); }

/* ── FAQ ──────────────────────────────────────────────────── */
.fg-faq-list { max-width: 800px; }
.fg-faq-item { border-bottom: 1px solid #e4e0da; padding: 18px 0; }
.fg-faq-item summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; }
.fg-faq-item summary::-webkit-details-marker { display: none; }
.fg-faq-item summary::after { content: '+'; float: right; font-size: 20px; color: var(--accent); }
.fg-faq-item[open] summary::after { content: '−'; }
.fg-faq-item p { margin-top: 12px; color: var(--desc); }

/* ── 크로스 레이아웃 (교차 이미지-텍스트, 고정 스펙) ───────── */
.fg-cross-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  margin-bottom: 56px;
}
.fg-cross-row img { border-radius: var(--radius-img); aspect-ratio: 4/3; object-fit: cover; }
.fg-cross-row-rev { direction: rtl; }
.fg-cross-row-rev > * { direction: ltr; }

/* ── 체크리스트 ───────────────────────────────────────────── */
.fg-checklist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fg-checklist-item {
  padding: 20px; background: var(--bg); border: 1px solid #e4e0da; border-radius: var(--radius);
  font-size: 14px; color: var(--desc);
}
.fg-checklist-item strong { color: var(--ink); display: block; margin-bottom: 6px; }

/* ── 상담 카드 ────────────────────────────────────────────── */
.fg-consult-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 800px; margin: 0 auto; }
.fg-info-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 40px 24px; border: 1px solid #e4e0da; border-radius: var(--radius);
  background: var(--bg-soft);
}
.fg-info-card svg { width: 44px; height: 44px; color: var(--deep); margin-bottom: 16px; }
.fg-info-card .fg-btn { margin-top: 16px; }
.fg-consult-card:hover { border-color: var(--deep); }

/* ── 리스트/본문 ──────────────────────────────────────────── */
.fg-list { padding-left: 20px; max-width: 700px; color: var(--desc); }
.fg-list li { margin-bottom: 8px; }
.fg-body-text { max-width: 760px; color: var(--desc); font-size: 16px; }

/* ── 사이트맵 ─────────────────────────────────────────────── */
.fg-sitemap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.fg-sitemap-col a { display: block; padding: 6px 0; color: var(--desc); }
.fg-sitemap-col a:hover { color: var(--deep); text-decoration: underline; }

/* ── Closing 사진 (B-25) ──────────────────────────────────── */
.fg-closing { position: relative; }
.fg-closing img { width: 100%; height: 650px; object-fit: cover; display: block; }
.fg-closing-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(10,10,10,.55) 0%, rgba(10,10,10,.22) 55%, rgba(10,10,10,0) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 24px; padding: 40px;
}
.fg-closing-copy {
  color: #fff; font-size: 28px; font-weight: 700; line-height: 1.4; margin: 0;
  text-shadow: 0 2px 14px rgba(0,0,0,.45);
}
.fg-btn-closing { background: transparent; border: 1.5px solid #fff; color: #fff; }
.fg-btn-closing:hover { background: #fff; color: var(--deep); }
.fg-closing-quote { color: #f2f2f2; font-size: 14px; font-style: italic; margin: 0; text-shadow: 0 1px 8px rgba(0,0,0,.35); }
@media (max-width: 560px) {
  .fg-closing-copy { font-size: 20px; }
}

/* ── 푸터 (uapti DNA · 다크 4열) ──────────────────────────── */
.fg-footer { background: var(--deep); color: #9a9a9a; padding: 56px 24px 24px; }
.fg-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px;
}
.fg-footer-logo { font-size: 20px; font-weight: 800; color: #fff; }
.fg-footer-logo span { color: var(--terracotta); }
.fg-footer-desc { font-size: 14px; margin-top: 8px; }
.fg-footer-col h3 { color: #fff; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.fg-footer-col a { display: block; font-size: 13px; padding: 4px 0; color: #9a9a9a; }
.fg-footer-col a:hover { color: #fff; }
.fg-footer-biz p { font-size: 13px; color: #9a9a9a; margin-bottom: 16px; line-height: 1.6; }
.fg-footer-addr { display: block; white-space: nowrap; font-size: 12px; }
@media (max-width: 560px) { .fg-footer-addr { white-space: normal; } }
.fg-footer-biz .fg-btn { padding: 10px 20px; font-size: 13px; }
.fg-footer-bottom {
  max-width: 1200px; margin: 32px auto 0; padding-top: 20px; border-top: 1px solid #333;
  font-size: 12px; color: #808080;
}

/* ── 하단 고정 CTA 바 (B-23) ──────────────────────────────── */
.fg-sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  min-height: 48px; display: none; align-items: center;
  padding: 12px 16px; background: var(--bar-chrome);
  border-top: 1px solid #E5E7EB; box-shadow: 0 -6px 22px rgba(0,0,0,.08);
  transform: translateY(100%); opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.fg-sticky-cta.is-visible { transform: translateY(0); opacity: 1; }

/* ── 애니메이션 훅 ────────────────────────────────────────── */
[data-anim] { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
[data-anim].is-in { opacity: 1; transform: none; }
[data-anim="slide-left"] { transform: translateX(-24px); }
[data-anim="slide-left"].is-in { transform: none; }
[data-anim="scale-in"] { transform: scale(.94); }
[data-anim="scale-in"].is-in { transform: none; }
[data-anim][data-delay="1"] { transition-delay: .05s; }
[data-anim][data-delay="2"] { transition-delay: .1s; }
[data-anim][data-delay="3"] { transition-delay: .15s; }
[data-anim][data-delay="4"] { transition-delay: .2s; }
[data-anim][data-delay="5"] { transition-delay: .25s; }

/* ── 반응형 ───────────────────────────────────────────────── */
@media (max-width: 900px) {
  .fg-hero { min-height: 520px; }
  .fg-symptom-list, .fg-checklist, .fg-region-grid { grid-template-columns: repeat(2, 1fr); }
  .fg-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .fg-gallery-grid-full { grid-template-columns: repeat(2, 1fr); }
  .fg-cross-row, .fg-cross-row-rev { grid-template-columns: 1fr; direction: ltr; }
  .fg-footer-inner, .fg-sitemap-grid { grid-template-columns: 1fr 1fr; }
  .fg-consult-cards { grid-template-columns: 1fr; }
  .fg-nav { display: none; }
  .fg-btn-header { display: none; }
  .fg-burger {
    display: flex; flex-direction: column; gap: 5px; background: none; border: none;
    cursor: pointer; margin-left: auto; padding: 8px;
  }
  .fg-burger span { width: 22px; height: 2px; }
  .fg-nav-mobile {
    display: none; flex-direction: column; background: var(--bg); padding: 16px 24px;
    border-top: 1px solid #eee;
  }
  .fg-nav-mobile.is-open { display: flex; }
  .fg-nav-mobile a { padding: 10px 0; border-bottom: 1px solid #eee; color: var(--ink); }
}
@media (max-width: 560px) {
  .fg-symptom-list, .fg-checklist, .fg-region-grid, .fg-gallery-grid, .fg-gallery-grid-full, .fg-sitemap-grid, .fg-footer-inner, .fg-compare {
    grid-template-columns: 1fr;
  }
}

/* ── 홈(메인) 전용 컴포넌트 — uapti DNA 재구성, 서브페이지 클래스와 분리 ── */
body.home { background: var(--cream); }

.fg-home-hero {
  position: relative; overflow: hidden; color: #fff;
  margin-top: -76px; padding-top: 76px;
  height: 100vh; min-height: 640px;
  display: flex; align-items: flex-end;
}
.fg-home-hero-slides { position: absolute; inset: 0; }
.fg-home-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; z-index: 0;
  transition: opacity 1.6s ease;
  animation: fg-slow-zoom 16s ease-in-out infinite alternate;
}
.fg-home-hero-bg.is-active { opacity: 1; z-index: 1; }
.fg-home-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(19,19,19,.05) 0%, rgba(19,19,19,.18) 45%, rgba(19,19,19,.78) 100%);
}
.fg-home-hero-inner {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto; width: 100%;
  padding: 0 24px 88px;
}
.fg-home-hero-inner h1 {
  font-size: 25px; font-weight: 800; line-height: 1;
  color: #fff; margin: 0 0 18px;
}
.fg-home-hero-brand { font-size: 50px; font-weight: 600; letter-spacing: .04em; margin: 0 0 18px; color: var(--sand); }
.fg-home-hero-brand span { color: var(--terracotta); }
.fg-home-hero-desc { font-size: 17px; color: #ececec; white-space: nowrap; margin: 0 0 28px; }
@keyframes fg-slow-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }

.fg-quicklinks { padding: 72px 24px; background: var(--cream); }
.fg-quicklinks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fg-quicklink-card { position: relative; display: flex; align-items: flex-end; overflow: hidden; border-radius: 4px; aspect-ratio: 4/3; background: var(--deep); }
.fg-quicklink-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, filter .4s ease; }
.fg-quicklink-card:hover img { transform: scale(1.05); filter: brightness(1.08); }
.fg-quicklink-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19,19,19,0) 40%, rgba(19,19,19,.75) 100%); }
.fg-quicklink-card span { position: relative; z-index: 1; padding: 18px; color: #fff; font-weight: 700; font-size: 15px; }
.fg-quicklink-cta { background: var(--terracotta); align-items: center; justify-content: center; }
.fg-quicklink-cta span { padding: 0; }
.fg-quicklink-cta:hover { background: var(--terracotta-hover); }
.fg-quicklink-cta:hover img { transform: none; }

.fg-about { padding: 88px 24px; background: var(--bg); }
.fg-about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.fg-about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; border-top: 1px solid #e4e0da; padding-top: 28px; }
.fg-about-fact h3 { font-size: 14px; color: var(--terracotta); margin-bottom: 8px; }
.fg-about-fact p { font-size: 13px; color: var(--desc); margin: 0; }
.fg-about-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg-about-collage img { border-radius: 4px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }

.fg-process-v2 { padding: 88px 24px; background: var(--cream-soft); }
.fg-process-v2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 8px; }
.fg-process-v2-step span { display: block; font-size: 36px; font-weight: 800; color: var(--terracotta); margin-bottom: 12px; }
.fg-process-v2-step h3 { margin-bottom: 8px; }
.fg-process-v2-step p { color: var(--desc); font-size: 14px; margin: 0; }

.fg-portfolio-v2 { padding: 88px 24px; background: var(--bg); }
.fg-portfolio-v2-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }
.fg-portfolio-v2-card { display: block; border: 1px solid #e4e0da; border-radius: 4px; overflow: hidden; }
.fg-portfolio-v2-card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; transition: transform .3s; }
.fg-portfolio-v2-card:hover img { transform: scale(1.04); }
.fg-portfolio-v2-body { padding: 18px 20px; }
.fg-portfolio-v2-meta { font-size: 12px; color: var(--terracotta); font-weight: 700; letter-spacing: .04em; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid #d8d6d0; }
.fg-portfolio-v2-body h3 { font-size: 17px; margin-bottom: 6px; }
.fg-portfolio-v2-body p { font-size: 13px; color: var(--desc); margin-bottom: 10px; }
.fg-portfolio-v2-body .fg-link-more { font-size: 12px; color: var(--terracotta); }
.fg-portfolio-v2-all { display: block; text-align: center; }

@media (max-width: 900px) {
  .fg-quicklinks-grid { grid-template-columns: repeat(2, 1fr); }
  .fg-about-inner { grid-template-columns: 1fr; gap: 32px; }
  .fg-process-v2-grid { grid-template-columns: 1fr; gap: 24px; }
  .fg-portfolio-v2-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .fg-home-hero-inner { padding-bottom: 56px; }
  .fg-quicklinks-grid, .fg-about-facts, .fg-portfolio-v2-grid { grid-template-columns: 1fr; }
  .fg-home-hero-desc { white-space: normal; }
}
