/* ===================================
   GRINY - style.css
   피그마 디자인 픽셀 완전 반영
   =================================== */

/* ── Freesentation 웹폰트 (자체 호스팅) ── */
@font-face {
  font-family: 'Freesentation';
  font-weight: 100; font-style: normal; font-display: swap;
  src: url('../fonts/Freesentation-1Thin.ttf') format('truetype');
}
@font-face {
  font-family: 'Freesentation';
  font-weight: 200; font-style: normal; font-display: swap;
  src: url('../fonts/Freesentation-2ExtraLight.ttf') format('truetype');
}
@font-face {
  font-family: 'Freesentation';
  font-weight: 300; font-style: normal; font-display: swap;
  src: url('../fonts/Freesentation-3Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Freesentation';
  font-weight: 400; font-style: normal; font-display: swap;
  src: url('../fonts/Freesentation-4Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Freesentation';
  font-weight: 500; font-style: normal; font-display: swap;
  src: url('../fonts/Freesentation-5Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Freesentation';
  font-weight: 600; font-style: normal; font-display: swap;
  src: url('../fonts/Freesentation-6SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Freesentation';
  font-weight: 700; font-style: normal; font-display: swap;
  src: url('../fonts/Freesentation-7Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Freesentation';
  font-weight: 800; font-style: normal; font-display: swap;
  src: url('../fonts/Freesentation-8ExtraBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Freesentation';
  font-weight: 900; font-style: normal; font-display: swap;
  src: url('../fonts/Freesentation-9Black.ttf') format('truetype');
}

/* ── 디자인 토큰 ── */
:root {
  --blue:   #00AEDD;
  --navy:   #1A1A2E;
  --gray:   #627A86;
  --black:  #000000;
  --white:  #FFFFFF;
  --bg-light: #F8F8F6;
  --bg-card:  #F8FAF9;
  --border:   #E6E6E4;
  --text-muted: rgba(191,191,192,0.5);
  --text-sub:   #A0A5AA;

  --font-kr: 'Freesentation', 'Noto Sans KR', sans-serif;
  --font-en: 'Inter', sans-serif;

  --shadow-hero: 0 0 25px rgba(0,0,0,0.75);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --nav-h: 80px;
  --container: 1760px; /* 1920 - 80*2 padding */
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-kr);
  color: var(--navy);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ── 공통 버튼 ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-family: var(--font-kr);
  font-weight: 600;
  font-size: 20px;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  border: none;
  white-space: nowrap;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
/* Hero 버튼: 피그마 btn-portfolio=160x52, btn-consult=136x52 */
.btn--primary { background: var(--blue); color: var(--white); width: 160px; height: 52px; }
.btn--outline  { background: transparent; color: var(--white); border: 1.5px solid var(--white); width: 136px; height: 52px; }
/* 포트폴리오 전체보기 버튼: 120x40 */
.btn--sm { font-size: 16px; width: 120px; height: 40px; background: var(--blue); color: var(--white); }
/* CTA 섹션 버튼: 200x52 */
.btn--white { background: var(--white); color: var(--navy); font-size: 14px; width: 200px; height: 52px; font-family: var(--font-en); font-weight: 400; }

/* ── 섹션 공통 eyebrow ── */
.section-eyebrow {
  font-family: var(--font-kr);
  font-weight: 700;
  font-size: 12px;
  color: var(--blue);
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.section-eyebrow--light { color: var(--blue); }

/* ===================================
   NAVIGATION
   =================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--black);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background .3s;
}
.nav__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 80px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}
.nav__logo {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}
.nav__logo img { height: 50px; width: auto; display: block; margin: 0; padding: 0; }
.nav__logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
  justify-content: center;
}
.nav__link {
  font-family: var(--font-kr);
  font-weight: 600;
  font-size: 16px;
  color: var(--white);
  padding: 0 20px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: color .2s;
  position: relative;
}
.nav__link:hover { color: var(--blue); }
.nav__link.active {
  background: var(--blue);
  color: var(--white);
}
/* ── 드롭다운 ── */
.nav__dropdown-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.nav__dropdown-arrow {
  margin-left: 4px;
  transition: transform .2s;
  flex-shrink: 0;
}
.nav__dropdown-wrap:hover .nav__dropdown-arrow { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  background: #111;
  border-top: 2px solid var(--blue);
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 200;
  display: none;
  flex-direction: column;
}
.nav__dropdown-wrap:hover .nav__dropdown { display: flex; }
.nav__dropdown-item {
  padding: 13px 20px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-kr);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav__dropdown-item:hover { background: rgba(0,174,221,0.15); color: var(--blue); }
.mobile-menu__link--sub {
  padding-left: 52px;
  font-size: 14px;
  color: rgba(255,255,255,0.5) !important;
}

.nav__cta {
  margin-left: 30px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  width: 108px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 0;
  font-family: var(--font-kr);
  font-weight: 600;
  font-size: 16px;
  transition: background .2s, color .2s;
}
.nav__cta:hover { background: var(--blue); color: var(--white); }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 20px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* 모바일 메뉴 */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--navy);
  z-index: 999;
  padding: 20px 0;
  transform: translateY(-100%);
  transition: transform .3s;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu__link {
  display: block;
  padding: 14px 36px;
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu__link--cta {
  color: var(--blue);
  margin-top: 8px;
  border-bottom: none;
}
.mobile-menu__group { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu__toggle {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: none;
}
.mobile-menu__arrow {
  transition: transform .25s;
}
.mobile-menu__arrow.open { transform: rotate(180deg); }
.mobile-menu__sub {
  display: none;
  background: rgba(255,255,255,0.05);
}
.mobile-menu__sub.open { display: block; }
.mobile-menu__link--sub {
  padding-left: 52px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ===================================
   HERO
   =================================== */
.hero {
  position: relative;
  margin-top: var(--nav-h);
  height: 680px;
  background: #0D142A;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: none;
}
.hero__content {
  position: absolute;
  left: max(80px, calc((100vw - 1920px) / 2 + 80px));
  top: 130px;
  z-index: 2;
  max-width: 700px;
}
.hero__label {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 15px;
  color: var(--white);
  letter-spacing: 3px;
  margin-bottom: 28px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.hero__title1 {
  font-family: var(--font-kr);
  font-weight: 900;
  font-size: 72px;
  color: var(--white);
  line-height: 1.17;
  margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}
.hero__title2 {
  font-family: var(--font-kr);
  font-weight: 800;
  font-size: 64px;
  color: var(--white);
  line-height: 1.17;
  margin-bottom: 156px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}
.hero__btns {
  display: flex;
  gap: 16px;
}

/* Hero 우측 포트폴리오 미리보기 — Figma: x=1370,y=190,w=380,h=460 */
.hero__right {
  position: absolute;
  right: max(170px, calc((100vw - 1920px) / 2 + 170px));
  top: 110px;
  z-index: 2;
}
.hero__portfolio-preview {
  width: 380px;
  height: 460px;
  background: rgba(0,0,0,0.65);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 16px;
}
/* Figma: bar x=20,y=0 w=4 h=60 / label x=40,y=4 / items y=80,y=160,y=240 */
.hero__portfolio-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.hero__portfolio-bar {
  width: 4px; height: 60px;
  background: var(--blue);
  flex-shrink: 0;
}
.hero__portfolio-label {
  font-family: var(--font-kr);
  font-weight: 600;
  font-size: 18px;
  color: var(--white);
}
.hero__portfolio-item {
  background: var(--black);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 0 0 80px;
  border-radius: 10px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.hero__portfolio-item:hover { opacity: 0.8; }
.hero__portfolio-item--dark { background: #1A1A2E; }
.hero__portfolio-item--gray { background: #627A86; }
.hero__portfolio-cat {
  font-family: var(--font-kr);
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 4px;
}
.hero__portfolio-name {
  font-family: var(--font-kr);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
}

/* ===================================
   STATS BAR
   =================================== */
.stats {
  background: var(--navy);
}
.stats__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 80px;
  height: 88px;
  display: flex;
  align-items: center;
}
.stats__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.stats__value {
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 28px;
  color: var(--blue);
  line-height: 1;
}
.stats__label {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 11px;
  color: var(--text-sub);
  letter-spacing: 0.5px;
}
.stats__divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}

/* ===================================
   ABOUT — Figma: y=848~1248, h=400px, top-pad=80px
   =================================== */
.about {
  background: var(--white);
  padding: 80px 0 56px;
}
.about__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  gap: 120px;
  align-items: flex-start;
}
.about__left {
  flex: 1;
  min-width: 0;
}
.about__heading {
  font-weight: 800;
  font-size: 48px;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 24px;
}
.about__divider {
  width: 44px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin-bottom: 24px;
}
.about__desc {
  font-weight: 600;
  font-size: 20px;
  color: var(--gray);
  max-width: 766px;
  line-height: 1.6;
}
.about__values {
  width: 560px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.value-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  display: flex;
  gap: 0;
  overflow: hidden;
  position: relative;
}
.value-card__bar {
  position: absolute;
  left: 0; top: 16px;
  width: 3px;
  height: 40px;
  background: var(--blue);
}
.value-card__body {
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.value-card__title {
  font-weight: 600;
  font-size: 20px;
  color: var(--navy);
}
.value-card__desc {
  font-weight: 600;
  font-size: 16px;
  color: #888880;
}

/* ===================================
   SERVICES — Figma: y=1248~1738, h=490px, top-pad=72px
   =================================== */
.services {
  background: var(--bg-light);
  padding: 72px 0 78px;
}
.services__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 80px;
}
.services__heading {
  font-weight: 800;
  font-size: 48px;
  color: var(--navy);
  margin-bottom: 40px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}
.service-card__num {
  position: absolute;
  top: 10px; right: 14px;
  font-weight: 900;
  font-size: 52px;
  color: rgba(191,191,192,0.5);
  line-height: 1;
}
.service-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue);
  margin-bottom: 32px;
  opacity: 0.85;
}
.service-card__name {
  font-family: var(--font-kr);
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card__desc {
  font-weight: 500;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
  min-height: 52px;
}
.service-card__link {
  font-weight: 500;
  font-size: 14px;
  color: var(--blue);
  transition: opacity .2s;
}
.service-card__link:hover { opacity: 0.7; }

/* ===================================
   PORTFOLIO — Figma: y=1738~2378, h=640px, top-pad=72px
   =================================== */
.portfolio {
  background: var(--white);
  padding: 72px 0 42px;
}
.portfolio__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 80px;
}
.portfolio__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}
.portfolio__heading {
  font-weight: 800;
  font-size: 48px;
  color: var(--navy);
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.port-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--black);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.port-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
/* port-card__thumb: Figma h=260px, 카테고리 뱃지(top:16,left:16), dots(bottom:16,left:16) */
.port-card__thumb {
  background: #DCDCDD;
  aspect-ratio: 1 / 1;
  position: relative;
  padding: 16px;
}
.port-card__cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--blue);
  color: var(--white);
  font-family: var(--font-kr);
  font-weight: 600;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 3px;
}
/* port-card body: Figma title(y=276 relative to card), desc(y=308), link(y=376) */
.port-card__body {
  padding: 20px;
  background: #000;
  color: var(--white);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.port-card__title {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 16px;
}
.port-card__desc {
  font-family: var(--font-kr);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}
.port-card__link {
  font-family: var(--font-kr);
  font-weight: 500;
  font-size: 14px;
  color: var(--blue);
  margin-top: auto;
}

/* ===================================
   CLIENTS — Figma: y=2378~2938, h=560px, top-pad=72px
   =================================== */
.clients {
  background: var(--navy);
  padding: 72px 0 72px;
}
.clients__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 80px;
}
.clients__heading {
  font-weight: 800;
  font-size: 48px;
  color: var(--white);
  margin-bottom: 40px;
}
.clients__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.client-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.client-logo img {
  max-width: 90%;
  max-height: 70%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}
.clients__note {
  font-weight: 600;
  font-size: 20px;
  color: var(--white);
}

/* ===================================
   CTA — Figma: y=2938~3158, h=220px, bg=#00AEDD
   =================================== */
.cta {
  background: var(--blue);
  height: 220px;
  display: flex;
  align-items: center;
}
.cta__inner {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cta__heading {
  font-family: var(--font-kr);
  font-weight: 800;
  font-size: 48px;
  color: var(--white);
  line-height: 1.25;
}

/* ===================================
   FOOTER — Figma: h=320px, bg=#000000
   Brand(x=80), SERVICES(x=800), COMPANY(x=1080), CONTACT(x=1320)
   =================================== */
.footer {
  background: var(--black);
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.footer__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 38px 80px 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex: 1;
}
.footer__brand {
  /* Figma: logo at x=61(≈80), brand info, width up to SERVICES start x=800 */
  width: 560px;
  flex-shrink: 0;
}
.footer__logo { margin-bottom: 14px; margin-left: -19px; }
.footer__logo img { height: 38px; width: 94px; object-fit: contain; }
.footer__tagline {
  font-family: var(--font-kr);
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.17;
}
.footer__address {
  font-family: var(--font-kr);
  font-weight: 600;
  font-size: 12px;
  color: var(--white);
  line-height: 2.0;
}
.footer__nav {
  display: flex;
  gap: 0;
  flex: 1;
}
/* SERVICES→COMPANY gap: x=1080-x=800=280px, COMPANY→CONTACT: 1320-1080=240px */
.footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 120px;
}
.footer__col + .footer__col { margin-left: 160px; } /* default gap between cols */
.footer__col:last-child { margin-left: 110px; }
.footer__col-title {
  font-family: var(--font-kr);
  font-weight: 600;
  font-size: 12px;
  color: var(--white);
  letter-spacing: 2.4px;
  margin-bottom: 2px;
}
.footer__link {
  font-family: var(--font-kr);
  font-weight: 600;
  font-size: 12px;
  color: rgba(191,191,192,0.5);
  transition: color .2s;
  line-height: 1.17;
}
.footer__link:hover { color: var(--blue); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,1);
  max-width: 1920px;
  margin: 0 auto;
  padding: 18px 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__copy {
  font-family: var(--font-en);
  font-size: 11px;
  color: rgba(191,191,192,0.5);
  font-weight: 400;
}
.footer__legal {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  color: rgba(191,191,192,0.5);
  font-family: var(--font-en);
  font-weight: 400;
}
.footer__legal-link {
  color: rgba(191,191,192,0.5);
  transition: color .2s;
}
.footer__legal-link:hover { color: var(--white); }

/* ===================================
   RESPONSIVE - Tablet (1200px↓)
   =================================== */
@media (max-width: 1200px) {
  .hero__right { display: none; }
  .services__grid,
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .clients__grid { grid-template-columns: repeat(4, 1fr); }
  .about__inner { flex-direction: column; gap: 48px; }
  .about__values { width: 100%; }
  .footer {
    height: auto;
  }
  .footer__inner { flex-direction: column; gap: 32px; padding-bottom: 32px; }
  .footer__brand { width: 100%; }
  .footer__nav { gap: 0; flex-wrap: wrap; }
  .footer__col + .footer__col { margin-left: 60px; }
  .footer__col:last-child { margin-left: 60px; }
}

/* ===================================
   RESPONSIVE - Mobile (768px↓)
   =================================== */
@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .nav__links { display: none; }
  .nav__cta { display: flex; font-size: 13px; padding: 0 14px; height: 36px; margin-left: auto; }
  .nav__login { display: none; }
  .nav__hamburger { display: flex; }
  .mobile-menu { display: block; }

  .hero { height: 340px; }
  .hero__content { left: 24px; top: 60px; }
  .hero__title1 { font-size: 40px; }
  .hero__title2 { font-size: 32px; margin-bottom: 32px; }

  .stats__inner {
    flex-wrap: wrap;
    height: auto;
    padding: 24px;
    gap: 16px;
  }
  .stats__item { flex: 0 0 calc(50% - 8px); }
  .stats__divider { display: none; }

  .about__inner,
  .services__inner,
  .portfolio__inner,
  .clients__inner { padding: 0 20px; }
  .about__heading { font-size: 28px; }
  .about__desc { font-size: 16px; }

  .services__heading,
  .portfolio__heading,
  .clients__heading { font-size: 28px; }
  .services__grid,
  .portfolio__grid { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: repeat(3, 1fr); }

  .cta { height: auto; padding: 40px 0; }
  .cta__inner { flex-direction: column; gap: 24px; text-align: center; padding: 0 24px; }
  .cta__heading { font-size: 24px; }

  .footer { height: auto; }
  .footer__inner { padding: 32px 20px; flex-direction: column; gap: 28px; }
  .footer__nav { flex-direction: column; gap: 20px; }
  .footer__col + .footer__col { margin-left: 0; }
  .footer__col:last-child { margin-left: 0; }
  .footer__bottom { padding: 16px 20px; flex-direction: column; gap: 8px; }

  .portfolio__header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ===================================
   SCROLL REVEAL ANIMATION
   =================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================
   ABOUT PAGE — Figma: 그리니 소개 (1:3)
   =================================== */
/* 서브페이지 공통 Hero — 메인과 동일 구조, label만 다름 */
.sub-hero {
  position: relative;
  margin-top: var(--nav-h);
  height: 680px;
  background: #0D142A;
  overflow: hidden;
}
.sub-hero__bg { position: absolute; inset: 0; }
.sub-hero__bg-img { width: 100%; height: 100%; object-fit: cover; }
.sub-hero__bg-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.sub-hero__overlay {
  position: absolute;
  inset: 0;
  background: none;
}
.sub-hero__content {
  position: absolute;
  left: max(80px, calc((100vw - 1920px) / 2 + 80px));
  top: 130px;
  z-index: 2;
  max-width: 700px;
}
.sub-hero__label {
  font-family: var(--font-en);
  font-size: 15px;
  color: var(--white);
  letter-spacing: 3px;
  margin-bottom: 28px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.sub-hero__title {
  font-family: var(--font-kr);
  font-weight: 800;
  font-size: 72px;
  color: var(--white);
  line-height: 1.17;
  margin-bottom: 12px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}
.sub-hero__sub {
  font-family: var(--font-kr);
  font-weight: 800;
  font-size: 64px;
  color: var(--white);
  line-height: 1.17;
  text-shadow: 0 2px 16px rgba(0,0,0,0.7);
}

/* About 메인 컨텐츠 영역 — Figma 1:3
   이미지: x=0 w=700×2=1400 / 사이드바: x=1444 w=428 / 우측여백: 48px */
.about-page {
  padding: 60px 0 0;
  background: var(--white);
}
.about-page__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 0 0 80px;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.about-page__main {
  flex: 1;
  min-width: 0;
}
/* 피그마: 64px ExtraBold, x=69, 한 줄 */
.about-page__heading {
  font-family: var(--font-kr);
  font-weight: 800;
  font-size: 64px;
  color: #000;
  line-height: 1.2;
  margin-bottom: 40px;
  white-space: nowrap;
}
/* 이미지 그리드: 왼쪽 edge 출혈, 반응형 */
.about-page__img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 300px 300px;
  width: calc(90% + 80px);
  margin-left: calc(5% - 80px);
}
.about-page__img-cell {
  overflow: hidden;
  background: #DCDCDD;
}
.about-page__img-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-page__img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #DCDCDD, #b8babd);
}
/* 피그마: 32px Medium 설명 텍스트, 중앙 정렬 */
.about-page__desc {
  font-family: var(--font-kr);
  font-weight: 500;
  font-size: 32px;
  color: var(--gray);
  line-height: 1.56;
  padding: 24px 0 60px;
  text-align: center;
}

/* 우측 사이드바: w=428, gap=49px, radius=30px */
.about-sidebar {
  width: 428px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 49px;
  margin-right: 48px;
}
/* 피그마: 빠르게 견적받기 > (blue 428×184, radius 30px) */
.sidebar-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 184px;
  border-radius: 30px;
  font-family: var(--font-kr);
  font-weight: 800;
  font-size: 48px;
  color: var(--white);
  text-align: center;
  padding: 20px;
  line-height: 1.2;
  transition: opacity .2s, transform .15s;
}
.sidebar-cta:hover { opacity: .88; transform: translateY(-3px); }
.sidebar-cta--blue { background: var(--blue); }
.sidebar-cta--gray { background: var(--gray); }
/* 피그마: 전화번호 패널 (white 428×268, border 3px rgba(191,191,192,.5), radius 30px) */
.sidebar-info {
  height: 268px;
  background: var(--white);
  padding: 38px 44px;
  border: 3px solid rgba(191,191,192,0.5);
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.sidebar-info__small {
  font-family: var(--font-kr);
  font-size: 29px;
  color: var(--gray);
  font-weight: 400;
}
.sidebar-info__tel {
  font-family: var(--font-kr);
  font-size: 43px;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}
.sidebar-info__hours {
  font-family: var(--font-kr);
  font-size: 25px;
  color: var(--gray);
  line-height: 1.5;
  font-weight: 400;
}

@media (max-width: 1400px) {
  .about-page__heading { font-size: 44px; white-space: normal; }
  .about-page__desc { font-size: 22px; }
  .sidebar-cta { font-size: 32px; height: 140px; border-radius: 20px; }
  .sidebar-info { height: auto; border-radius: 20px; }
  .sidebar-info__tel { font-size: 36px; }
  .sidebar-info__small { font-size: 24px; }
  .sidebar-info__hours { font-size: 22px; }
  .about-sidebar { gap: 24px; }
}
@media (max-width: 768px) {
  .sub-hero { height: 340px; }
  .sub-hero__content { left: 24px; top: 60px; }
  .sub-hero__title { font-size: 40px; }
  .sub-hero__sub { font-size: 28px; }
  .sub-hero__label { font-size: 13px; margin-bottom: 16px; }
}

@media (max-width: 900px) {
  .about-page__inner { flex-direction: column; padding: 0 20px; gap: 32px; }
  .about-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .sidebar-cta { flex: 1; min-width: 200px; height: 100px; font-size: 22px; border-radius: 16px; }
  .sidebar-info { width: 100%; height: auto; border-radius: 16px; margin-bottom: 20px; }
  .about-page__img-grid { margin-left: 0; width: 100%; }
  .about-page__heading { font-size: 28px; white-space: normal; }
  .about-page__desc { font-size: 18px; }
}

/* ===================================
   CONTACT PAGE — Figma: Contact us (113:245)
   =================================== */
/* Hero/Map 섹션: h=900px */
.contact-map-hero {
  margin-top: var(--nav-h);
  height: 680px;
  background: #0D142A;
  position: relative;
  overflow: hidden;
}
.contact-map-hero iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(20%);
}
.contact-map-hero__overlay-text {
  position: absolute;
  bottom: 80px;
  left: 80px;
  z-index: 2;
}
.contact-map-hero__heading {
  font-family: var(--font-kr);
  font-weight: 800;
  font-size: 64px;
  color: var(--white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}

/* 컨텐츠: 문의 섹션 */
.contact-section {
  padding: 80px 0;
  background: var(--white);
}
.contact-section__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 0 0 80px;
  display: flex;
  align-items: flex-start;
}
.contact-section__main {
  flex: 1;
  min-width: 0;
  padding: 60px 60px 60px 0;
}
.contact-section__heading {
  font-family: var(--font-kr);
  font-weight: 800;
  font-size: 64px;
  color: #000000;
  line-height: 1.17;
  margin-bottom: 24px;
}
.contact-section__note {
  font-family: var(--font-kr);
  font-size: 28px;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 48px;
}

@media (max-width: 1400px) {
  .contact-map-hero { height: 540px; }
  .contact-map-hero__heading { font-size: 40px; }
  .contact-section__heading { font-size: 40px; }
  .contact-section__note { font-size: 20px; }
}
@media (max-width: 900px) {
  .contact-map-hero { height: 340px; }
  .contact-section__inner { flex-direction: column; padding: 0 20px; }
  .contact-section__main { padding: 40px 0; }
  .contact-section__heading { font-size: 28px; }
  .contact-section__note { font-size: 16px; }
}

/* ===================================
   CONTACT FORM
   =================================== */
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.contact-form__field { display: flex; flex-direction: column; gap: 8px; }
.contact-form__field--full { grid-column: 1 / -1; }
.contact-form__label {
  font-family: var(--font-kr);
  font-size: 16px;
  font-weight: 600;
  color: #000;
}
.contact-form__req { color: var(--blue); }
.contact-form__input {
  width: 100%;
  height: 52px;
  border: 1.5px solid #D0D0D0;
  background: #fff;
  padding: 0 16px;
  font-family: var(--font-kr);
  font-size: 16px;
  color: #000;
  border-radius: 0;
  transition: border-color .2s;
  outline: none;
  appearance: none;
}
.contact-form__input:focus { border-color: var(--blue); }
.contact-form__select { cursor: pointer; }
.contact-form__textarea {
  height: auto;
  padding: 16px;
  resize: vertical;
  line-height: 1.6;
}
.contact-form__submit { margin-top: 8px; width: 160px; height: 52px; font-size: 18px; }
.contact-form__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.contact-form__privacy-label { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); cursor: pointer; }
.contact-form__privacy-label input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--blue); cursor: pointer; }
.contact-form__privacy-link { background: none; border: none; padding: 0; color: var(--blue); text-decoration: underline; cursor: pointer; font-size: inherit; font-family: inherit; }
.contact-form__submit { margin-top: 0; }

/* 개인정보처리방침 모달 */
.privacy-modal { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.6); }
.privacy-modal--open { display: flex; align-items: center; justify-content: center; }
.privacy-modal__box { background: #fff; width: min(600px, 90vw); max-height: 80vh; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.privacy-modal__header { display: flex; justify-content: space-between; align-items: center; padding: 20px 28px; border-bottom: 1px solid #e8e8e8; }
.privacy-modal__title { font-size: 18px; font-weight: 700; color: #111; margin: 0; }
.privacy-modal__close { background: none; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; color: #888; padding: 5px 12px; transition: border-color .2s, color .2s; }
.privacy-modal__close:hover { border-color: #999; color: #111; }
.privacy-modal__body { padding: 24px 28px; overflow-y: auto; color: #333; font-size: 14px; line-height: 1.8; }
.privacy-modal__body h4 { font-size: 14px; font-weight: 700; color: #111; margin: 20px 0 8px; }
.privacy-modal__body h4:first-of-type { margin-top: 16px; }
.privacy-modal__body p { margin: 0 0 8px; }
.privacy-modal__body ul { margin: 0 0 8px; padding-left: 20px; }
.privacy-modal__body ul li { margin-bottom: 4px; }
.privacy-modal__footer { padding: 16px 28px; border-top: 1px solid #e8e8e8; display: flex; justify-content: flex-end; }
.privacy-modal__confirm { background: var(--blue); color: #fff; border: none; border-radius: 8px; padding: 10px 28px; font-size: 14px; font-weight: 600; cursor: pointer; }
.privacy-modal__confirm:hover { opacity: 0.85; }

/* ===== NAV LOGIN BUTTON ===== */
.nav__login {
  margin-left: 12px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  width: 108px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 0;
  font-family: var(--font-kr);
  font-weight: 600;
  font-size: 16px;
  background: none;
  cursor: pointer;
  transition: background .2s, color .2s;
  text-decoration: none;
  white-space: nowrap;
}
.nav__login:hover { background: var(--blue); color: var(--white); }
.nav__login--logout { border-color: #888; color: #888; }
.nav__login--logout:hover { background: #888; color: var(--white); }

/* ===== AUTH MODAL (로그인 / 회원가입) ===== */
.auth-modal { display: none; position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,0.55); }
.auth-modal--open { display: flex; align-items: center; justify-content: center; }
.auth-modal__box { background: #fff; width: min(420px, 92vw); border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.2); }
.auth-modal__box--wide { width: min(500px, 92vw); }
.auth-modal__header { display: flex; justify-content: space-between; align-items: center; padding: 24px 28px 0; }
.auth-modal__title { font-size: 20px; font-weight: 700; color: #111; margin: 0; }
.auth-modal__close { background: none; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; font-weight: 600; cursor: pointer; color: #888; padding: 5px 12px; transition: border-color .2s, color .2s; font-family: var(--font-kr); }
.auth-modal__close:hover { border-color: #999; color: #111; }
.auth-modal__body { padding: 20px 28px 28px; }
.auth-modal__body--scroll { max-height: calc(90vh - 80px); overflow-y: auto; }
.auth-modal__tabs { display: flex; border-bottom: 1px solid #eee; margin-bottom: 20px; }
.auth-modal__tab { flex: 1; padding: 10px 0; text-align: center; font-size: 14px; font-weight: 600; color: #bbb; cursor: pointer; background: none; border: none; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; font-family: var(--font-kr); }
.auth-modal__tab--active { color: var(--blue); border-bottom-color: var(--blue); }
.auth-modal__error { display: none; color: #e53e3e; font-size: 13px; margin-bottom: 14px; padding: 10px 14px; background: #fff5f5; border-radius: 8px; border: 1px solid #fed7d7; }
.auth-modal__success { display: none; color: #2f855a; font-size: 13px; margin-bottom: 14px; padding: 10px 14px; background: #f0fff4; border-radius: 8px; border: 1px solid #c6f6d5; }
.auth-modal__input { width: 100%; background: #fff; border: 1px solid #111; color: #111; font-size: 15px; padding: 13px 14px; border-radius: 8px; margin-bottom: 12px; box-sizing: border-box; transition: border-color .2s; outline: none; font-family: var(--font-kr); }
.auth-modal__input:focus { border-color: var(--blue); }
.auth-modal__input::placeholder { color: #bbb; }
.auth-modal__row { display: flex; gap: 10px; }
.auth-modal__row .auth-modal__input { flex: 1; }
.auth-modal__id-row { display: flex; gap: 8px; margin-bottom: 4px; }
.auth-modal__id-row .auth-modal__input { flex: 1; margin-bottom: 0; }
.auth-modal__id-check { flex-shrink: 0; padding: 0 14px; height: 50px; background: #111; color: #fff; border: 1px solid #111; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; font-family: var(--font-kr); white-space: nowrap; transition: opacity .2s; }
.auth-modal__id-check:hover { opacity: 0.75; }
.auth-modal__id-check:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-modal__id-status { display: none; font-size: 12px; margin-bottom: 8px; padding-left: 2px; }
.auth-modal__id-status--ok  { color: #2f855a; }
.auth-modal__id-status--err { color: #e53e3e; }
.auth-modal__phone-group { margin-bottom: 12px; }
.auth-modal__phone-label { display: block; font-size: 13px; color: #666; margin-bottom: 5px; font-family: var(--font-kr); }
.auth-modal__phone-row { display: flex; align-items: center; gap: 4px; }
.auth-modal__phone-input { flex: 1; min-width: 0; text-align: center; margin-bottom: 0; padding: 13px 6px; }
.auth-modal__bizno-wrap { margin-bottom: 0; }
.auth-modal__bizno-row { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.auth-modal__bizno-input { flex: 1; min-width: 0; text-align: center; margin-bottom: 0; padding: 13px 6px; }
.auth-modal__bizno-input--long { flex: 1.6; }
.auth-modal__bizno-sep { color: #999; font-size: 16px; flex-shrink: 0; }
.auth-modal__bizno-row .auth-modal__id-check { flex-shrink: 0; }
.auth-modal__select { width: 100%; background: #fff; border: 1px solid #111; color: #111; font-size: 15px; padding: 13px 14px; border-radius: 8px; margin-bottom: 12px; box-sizing: border-box; outline: none; font-family: var(--font-kr); cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.auth-modal__select:focus { border-color: var(--blue); }
.auth-modal__select option[value=""] { color: #bbb; }
.auth-modal__remember { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13px; color: #888; cursor: pointer; user-select: none; }
.auth-modal__remember input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--blue); cursor: pointer; flex-shrink: 0; }
.auth-modal__submit { width: 100%; padding: 14px; background: var(--blue); color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; transition: opacity .2s; margin-bottom: 10px; font-family: var(--font-kr); }
.auth-modal__submit:hover { opacity: 0.85; }
.auth-modal__submit:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-modal__secondary { display: block; width: 100%; padding: 13px; background: transparent; color: #333; border: 1.5px solid #ddd; border-radius: 8px; font-size: 15px; font-weight: 600; cursor: pointer; transition: border-color .2s, color .2s; text-align: center; text-decoration: none; box-sizing: border-box; font-family: var(--font-kr); }
.auth-modal__secondary:hover { border-color: #999; color: #111; }
.auth-modal__divider { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: #ccc; font-size: 12px; }
.auth-modal__divider::before, .auth-modal__divider::after { content: ''; flex: 1; height: 1px; background: #eee; }
.auth-modal__alt-btn { width: 100%; padding: 13px; background: transparent; color: #888; border: 1.5px solid #e8e8e8; border-radius: 8px; font-size: 14px; font-weight: 600; cursor: pointer; transition: border-color .2s, color .2s; font-family: var(--font-kr); }
.auth-modal__alt-btn:hover { border-color: #bbb; color: #333; }
.auth-modal__foot-link { text-align: center; font-size: 13px; color: #999; margin-top: 16px; }
.auth-modal__foot-link button { background: none; border: none; color: var(--blue); font-size: 13px; font-weight: 600; cursor: pointer; padding: 0; font-family: var(--font-kr); }
.auth-modal__foot-link button:hover { text-decoration: underline; }

.contact-form__captcha {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  padding: 16px 20px;
  background: #f8f8f8;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.contact-form__captcha-label {
  font-family: var(--font-kr);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.contact-form__captcha-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}
.contact-form__captcha-question {
  font-family: var(--font-kr);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.contact-form__captcha-input {
  width: 120px !important;
  margin-bottom: 0 !important;
}
.contact-success {
  padding: 40px;
  background: #E8FFF8;
  border: 2px solid #00C896;
  font-size: 20px;
  font-weight: 600;
  color: #006644;
  text-align: center;
  margin-top: 20px;
}
.contact-error {
  padding: 16px 20px;
  background: #FFF0F0;
  border: 1.5px solid #F00;
  font-size: 16px;
  color: #C00;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .contact-form__row { grid-template-columns: 1fr; }
}

/* ===================================
   BOARD PAGE (꿀팁모음) — Figma 113-209
   Frame: 1920×2500
   left col  x=12,  y=92,  w=1418, h=1990
   search    x=228, y=174, w=572,  h=62
   sidebar   x=1452,y=160, w=428,  h=734
   =================================== */

/* ── 외부 래퍼 ── */
.bd-outer {
  margin-top: var(--nav-h); /* 80px */
  min-height: calc(100vh - var(--nav-h));
}

/* ── 2열 그리드 ──
   1920px 기준: left=1418 / gap=22 / right=428
   padding-left=12(x=12) / padding-right=40(1920-1880) */
.bd-layout {
  display: grid;
  grid-template-columns: 1fr 428px;
  column-gap: 22px;
  padding: 12px 40px 80px 12px;
  align-items: start;
}

/* ── 왼쪽 콘텐츠 열 ── */
.bd-left {
  position: relative;
  min-height: 1990px;
  padding-bottom: 60px;
}

/* ── 검색바 — Figma: x=228-12=216, y=174-92=82, 572×62 ── */
.bd-search-wrap {
  position: relative;
  z-index: 2;
  padding: 82px 0 0 216px;
  margin-bottom: 40px;
}

.bd-search-form {
  width: 572px;
  height: 62px;
  background: #fff;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.bd-search-input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  padding: 0 22px;
  font-family: var(--font-kr);
  font-weight: 600;
  font-size: 16px;
  color: #222;
  background: transparent;
}

.bd-search-input::placeholder {
  color: #aaa;
  font-weight: 400;
}

.bd-search-btn {
  width: 62px;
  height: 62px;
  background: var(--blue);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  transition: background .2s;
}
.bd-search-btn:hover { background: #0099cc; }

/* ── 게시글 목록 래퍼 ── */
.bd-posts {
  position: relative;
  z-index: 2;
  margin: 40px 20px 0;
}

/* ── 리스트 (ul 초기화) ── */
.bd-list {
  list-style: none;
  margin: 0; padding: 0;
}

/* ── 게시글 행 ─────────────────────────────
   스크린샷 구조:
   [제목 + 메타(작성자·날짜)]  [썸네일 90×68]
   ──────────────────────────────────────── */
.bd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px;
  border-bottom: 1px solid #efefef;
  cursor: pointer;
  transition: background .15s;
}
.bd-item:first-child { border-top: 1px solid #efefef; }
.bd-item:hover { background: #fafafa; }

/* 왼쪽 텍스트 영역 */
.bd-item__main {
  flex: 1;
  min-width: 0;
}

/* 제목 */
.bd-item__title {
  display: block;
  font-family: var(--font-kr);
  font-weight: 700;
  font-size: 18px;
  color: #111;
  line-height: 1.45;
  margin-bottom: 10px;
  /* 2줄 이상이면 말줄임 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .15s;
}
.bd-item:hover .bd-item__title { color: var(--blue); }

/* 메타 (작성자 · 날짜) */
.bd-item__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}
.bd-item__author {
  font-family: var(--font-kr);
  font-weight: 600;
  color: #555;
}
.bd-item__dot {
  color: #ccc;
  font-size: 12px;
  line-height: 1;
}
.bd-item__date {
  font-family: var(--font-en);
  font-size: 13px;
  color: #aaa;
}

/* 오른쪽 썸네일 — 스크린샷 기준 약 90×68 */
.bd-item__thumb {
  width: 90px;
  height: 68px;
  flex-shrink: 0;
  overflow: hidden;
  display: block;
  background: #e8ecef;
}
.bd-item__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.bd-item:hover .bd-item__thumb img { transform: scale(1.06); }

/* 썸네일 없을 때 */
.bd-item__no-thumb {
  width: 100%; height: 100%;
  background: #fff;
}

/* 빈 목록 */
.bd-empty {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 40px;
}
.bd-empty p { font-size: 17px; color: #666; margin-bottom: 20px; }
.bd-empty__reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px; padding: 0 24px;
  background: var(--blue);
  color: #fff;
  font-size: 15px; font-weight: 600;
  font-family: var(--font-kr);
}

/* ── 페이지네이션 — Figma: Freesentation ExtraBold 800/24px, center, active=#00AEDD ── */
.bd-pager {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 60px;
  padding-bottom: 40px;
}

.bd-pager__btn {
  font-family: var(--font-kr);
  font-weight: 800;
  font-size: 24px;
  color: #000;
  text-decoration: none;
  line-height: 1;
  transition: color .15s;
  min-width: 24px;
  text-align: center;
}
.bd-pager__btn:hover { color: var(--blue); }
.bd-pager__btn.is-active { color: var(--blue); }

.bd-pager__arrow {
  font-size: 30px;
  font-weight: 400;
  color: #666;
}

/* ============================================
   오른쪽 사이드바 — Figma: x=1452,y=160,w=428
   layout pad-top=12, sidebar y=160-80=80px gap
   → extra pad = 80-12 = 68px
   ============================================ */
.bd-sidebar {
  padding-top: 68px;
  display: flex;
  flex-direction: column;
  gap: 49px; /* Figma: 233-184=49px between blocks */
}

/* CTA 버튼 — 428×184, radius 30px */
.bd-sb-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 428px;
  height: 184px;
  border-radius: 30px;
  font-family: var(--font-kr);
  font-weight: 800;
  font-size: 48px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
  flex-shrink: 0;
  transition: opacity .2s, transform .15s;
}
.bd-sb-cta:hover { opacity: .9; transform: translateY(-3px); }
.bd-sb-cta--blue { background: var(--blue); }   /* #00AEDD */
.bd-sb-cta--gray { background: var(--gray); }   /* #627A86 */

/* 연락처 박스 — 428×268, radius 30px, border 3px rgba(191,191,192,.5) */
.bd-sb-info {
  position: relative;
  width: 428px;
  height: 268px;
  background: #fff;
  border: 3px solid rgba(191,191,192,0.5);
  border-radius: 30px;
  flex-shrink: 0;
  overflow: hidden;
}

/* "전국 어디서나" — x=44,y=38, Freesentation Regular 32px, #627A86 */
.bd-sb-info__label {
  position: absolute;
  left: 44px; top: 38px;
  font-family: var(--font-kr);
  font-weight: 400;
  font-size: 32px;
  color: #627A86;
  line-height: 1;
}

/* "070-4048-3647" — x=44,y=94, Freesentation Bold 48px, #000 */
.bd-sb-info__phone {
  position: absolute;
  left: 44px; top: 94px;
  font-family: var(--font-kr);
  font-weight: 700;
  font-size: 48px;
  color: #000;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  transition: color .2s;
}
.bd-sb-info__phone:hover { color: var(--blue); }

/* 영업시간 — x=44,y=169, Freesentation Regular 32px, #627A86 */
.bd-sb-info__hours {
  position: absolute;
  left: 44px; top: 169px;
  font-family: var(--font-kr);
  font-weight: 400;
  font-size: 32px;
  color: #627A86;
  line-height: 1.3;
}

/* ── 반응형 ── */
@media (max-width: 1600px) {
  .bd-layout { grid-template-columns: 1fr 380px; padding-right: 24px; }
  .bd-sb-cta, .bd-sb-info { width: 380px; }
  .bd-sb-cta { font-size: 38px; height: 160px; }
  .bd-sb-info__phone { font-size: 38px; }
  .bd-sb-info__label, .bd-sb-info__hours { font-size: 26px; }
  .bd-search-wrap { padding-left: 60px; }
  .bd-search-form { width: 520px; }
}

@media (max-width: 1600px) {
  .bd-layout { grid-template-columns: 1fr 380px; padding-right: 24px; }
  .bd-sb-cta, .bd-sb-info { width: 380px; }
  .bd-sb-cta { font-size: 38px; height: 160px; }
  .bd-sb-info__phone { font-size: 38px; }
  .bd-sb-info__label, .bd-sb-info__hours { font-size: 26px; }
  .bd-search-wrap { padding-left: 60px; }
  .bd-search-form { width: 480px; }
}

@media (max-width: 1200px) {
  .bd-layout { grid-template-columns: 1fr; padding: 12px 20px 60px; }
  .bd-left { min-height: 0; }
  .bd-sidebar {
    padding-top: 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  .bd-sb-cta { width: calc(50% - 10px); height: 100px; font-size: 24px; border-radius: 16px; }
  .bd-sb-info { width: 100%; height: auto; position: relative; padding: 32px 44px 28px; }
  .bd-sb-info__label, .bd-sb-info__phone, .bd-sb-info__hours {
    position: static; display: block; margin-bottom: 8px;
  }
  .bd-sb-info__phone { font-size: 32px; }
  .bd-sb-info__label, .bd-sb-info__hours { font-size: 20px; }
}

@media (max-width: 900px) {
  .bd-search-wrap { padding: 32px 0 0 0; }
  .bd-search-form { width: 100%; }
  .bd-posts { margin: 20px 8px 0; }
}

@media (max-width: 768px) {
  .bd-left__bg { display: none; }
  .bd-left { min-height: 0; }
  .bd-sb-cta { width: 100%; font-size: 24px; height: 90px; }
  .bd-item { padding: 16px 12px; gap: 14px; }
  .bd-item__title { font-size: 16px; }
  .bd-item__thumb { width: 72px; height: 54px; }
}

/* ── BOARD VIEW 페이지 공통 (board-view.php에서 사용) ── */
.board-page { padding: 60px 0 80px; }
.board-page__inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.board-view-meta {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: #888;
  padding: 0 0 20px;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 40px;
}
.board-view-content {
  font-family: var(--font-kr);
  font-size: 17px;
  line-height: 1.8;
  color: #222;
  min-height: 200px;
}
.board-view-content img { max-width: 100%; height: auto; }
.board-view-content p { margin-bottom: 1em; }
.board-view-content h2 { font-size: 26px; font-weight: 700; margin: 1.5em 0 .6em; }
.board-view-content h3 { font-size: 21px; font-weight: 700; margin: 1.2em 0 .5em; }
.board-view-content ul, .board-view-content ol { margin: .5em 0 1em 1.5em; }
.board-view-content blockquote {
  border-left: 4px solid var(--blue);
  margin: 1em 0; padding: .5em 1em;
  background: #f8faff; color: #444;
}
.board-view-back { margin-top: 60px; padding-top: 24px; border-top: 1px solid #e8e8e8; }

/* ===================================
   CONTACT PAGE (기존, 유지)
   =================================== */
.contact-hero {
  margin-top: var(--nav-h);
  height: 400px;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.contact-hero__map {
  width: 100%; height: 100%;
  position: relative;
}
.contact-hero__map iframe {
  width: 100%; height: 100%;
  filter: grayscale(20%) contrast(1.05);
}
.contact-hero__map-overlay {
  position: absolute;
  bottom: 32px; left: 80px;
  z-index: 2;
}
.contact-hero__map-card {
  background: rgba(0,0,0,0.78);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  color: var(--white);
}
.contact-hero__map-label {
  font-size: 11px; letter-spacing: 3px; color: var(--blue);
  margin-bottom: 8px; font-weight: 700;
}
.contact-hero__map-addr { font-size: 14px; margin-bottom: 10px; line-height: 1.6; }
.contact-hero__map-link { font-size: 13px; color: var(--blue); font-weight: 600; }

/* Contact Body */
.contact-body { padding: 80px 0; background: var(--white); }
.contact-body__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 80px;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}
.contact-form-wrap { flex: 1; min-width: 0; }
.contact-title {
  font-size: 52px; font-weight: 800;
  color: var(--navy); margin-bottom: 16px; line-height: 1.2;
}
.contact-note {
  font-size: 16px; color: var(--gray);
  margin-bottom: 40px; line-height: 1.7;
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 4px; position: relative; }
.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #D0D5DD;
  border-radius: var(--radius-sm);
  font-family: var(--font-kr);
  font-size: 15px;
  color: var(--navy);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input::placeholder { color: var(--gray); font-size: 14px; }
.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,174,221,0.12);
}
.form-textarea { min-height: 160px; resize: vertical; }
.has-error .form-input { border-color: #E53E3E; }
.form-error { font-size: 13px; color: #E53E3E; margin-top: 2px; }

.form-group--check { flex-direction: row; align-items: flex-start; flex-wrap: wrap; }
.form-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.form-check input[type=checkbox] {
  width: 18px; height: 18px; margin-top: 2px;
  flex-shrink: 0; accent-color: var(--blue); cursor: pointer;
}
.form-check__label { font-size: 14px; color: var(--gray); line-height: 1.6; }
.form-check__link { color: var(--blue); text-decoration: underline; }

.form-submit { display: flex; justify-content: flex-end; margin-top: 8px; }
.btn--submit { min-width: 160px; font-size: 18px; padding: 16px 40px; }

/* Alert */
.alert {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  font-size: 15px;
  line-height: 1.7;
}
.alert--success {
  background: #EBF8FF;
  border-left: 4px solid var(--blue);
  color: var(--navy);
}
.alert--error {
  background: #FFF5F5;
  border-left: 4px solid #E53E3E;
  color: #C53030;
}
.alert a { color: var(--blue); }

/* Sidebar */
.contact-sidebar {
  width: 428px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.contact-sidebar__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 150px;
  border-radius: 30px;
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  transition: opacity .2s, transform .15s;
}
.contact-sidebar__cta:hover { opacity: .88; transform: translateY(-2px); }
.contact-sidebar__cta--blue { background: var(--blue); }
.contact-sidebar__cta--gray { background: var(--gray); }
.contact-sidebar__info {
  border: 2px solid rgba(191,191,192,0.4);
  border-radius: 30px;
  padding: 32px 40px;
}
.contact-sidebar__info-small {
  font-size: 24px; color: var(--gray); margin-bottom: 8px;
}
.contact-sidebar__info-tel {
  font-size: 36px; font-weight: 700; color: var(--navy);
  margin-bottom: 12px;
}
.contact-sidebar__info-hours {
  font-size: 22px; color: var(--gray); line-height: 1.6;
}

/* Responsive */
@media (max-width: 1200px) {
  .contact-body__inner { flex-direction: column; }
  .contact-sidebar { width: 100%; position: static; flex-direction: row; flex-wrap: wrap; }
  .contact-sidebar__cta { flex: 1; min-width: 200px; height: 100px; font-size: 24px; }
  .contact-sidebar__info { width: 100%; }
}
@media (max-width: 768px) {
  .contact-body__inner { padding: 0 20px; }
  .contact-title { font-size: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-hero { height: 280px; }
  .contact-hero__map-overlay { left: 20px; bottom: 16px; }
  .contact-sidebar__cta { font-size: 18px; height: 80px; border-radius: 16px; }
}

/* ===================================
   PORTFOLIO PAGE — Figma 113-333
   Frame 1920×2500 / grid x=56 y=348 w=1822
   =================================== */
.port-page-hero {
  margin-top: var(--nav-h);
  padding: 77px 80px 60px;
  text-align: center;
  background: var(--white);
}
.port-page-hero__title {
  font-family: var(--font-kr);
  font-size: 64px;
  font-weight: 800;
  color: #000;
  margin-bottom: 20px;
  line-height: 1.2;
}
.port-page-hero__sub {
  font-family: var(--font-kr);
  font-size: 36px;
  font-weight: 400;
  color: #333;
  line-height: 1.4;
}

.port-page-body { background: var(--white); padding: 0 0 100px; }
.port-page-inner {
  max-width: 1920px; margin: 0 auto; padding: 0 56px;
}

/* 카테고리 필터 */
.port-filter-bar {
  padding: 20px 0;
}
.port-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.port-filter__tab {
  padding: 9px 24px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 24px;
  font-family: var(--font-kr);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: #000000;
  transition: border-color .15s, color .15s, background .15s;
  white-space: nowrap;
}
.port-filter__tab:hover {
  border-color: var(--blue);
  color: var(--white);
}
.port-filter__tab.active {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

/* 그리드 — 포트폴리오 페이지 (port-card 동일 스타일) */
.port-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* 빈 상태 */
.port-empty {
  text-align: center; padding: 80px 20px;
  color: var(--gray); font-size: 16px;
}

/* 페이지네이션 — Figma: ExtraBold 24px, 1  2  3  4 */
.port-pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 32px;
  margin-top: 72px;
}
.port-pagination__btn {
  font-family: var(--font-kr);
  font-size: 24px; font-weight: 800;
  color: #000;
  background: none; border: none;
  width: auto; height: auto; border-radius: 0;
  padding: 0;
  transition: color .15s;
  line-height: 1;
}
.port-pagination__btn:hover,
.port-pagination__btn.active {
  color: var(--blue);
  background: none; border: none;
}

/* ===================================
   PORTFOLIO DETAIL (VIEW)
   =================================== */
.port-view {
  margin-top: var(--nav-h);
  padding: 48px 0 80px;
  background: var(--white);
}
.port-view__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 80px;
}
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--gray);
  margin-bottom: 32px;
}
.breadcrumb a { color: var(--blue); }
.breadcrumb span { color: var(--gray); }

.port-view__header { margin-bottom: 36px; }
.port-view__cat {
  display: inline-block;
  background: var(--blue); color: var(--white);
  font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 3px;
  margin-bottom: 12px; letter-spacing: .5px;
}
.port-view__title {
  font-size: 36px; font-weight: 800;
  color: var(--navy); margin-bottom: 10px;
}
.port-view__client { font-size: 16px; color: var(--gray); margin-bottom: 12px; }
.port-view__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.port-view__tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 12px; color: var(--gray);
  padding: 4px 12px; border-radius: 20px;
}

.port-view__desc {
  font-size: 16px; color: #222;
  line-height: 1.8; margin-bottom: 48px;
  max-width: 900px;
}
.port-view__desc img {
  max-width: 100%; height: auto;
  display: block;
}

/* 이전/다음 */
.port-view__nav {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  gap: 20px;
}
.port-view__nav-item {
  flex: 1; display: flex; flex-direction: column; gap: 6px;
}
.port-view__nav-label { font-size: 11px; color: var(--gray); letter-spacing: 1px; }
.port-view__nav-link { font-size: 15px; font-weight: 600; color: var(--navy); }
.port-view__nav-link:hover { color: var(--blue); }

/* Responsive */
@media (max-width: 1200px) {
  .port-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .port-page-hero { padding: 48px 20px 36px; }
  .port-page-hero__title { font-size: 36px; }
  .port-page-hero__sub { font-size: 20px; }
  .port-page-inner { padding: 0 20px; }
  .port-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .port-view__inner { padding: 0 20px; }
  .port-view__title { font-size: 24px; }
}
@media (max-width: 600px) {
  .port-page-hero__title { font-size: 28px; }
  .port-page-hero__sub { font-size: 16px; }
  .port-grid { grid-template-columns: 1fr; }
  .port-view__nav { flex-direction: column; text-align: center; }
  .port-pagination { gap: 20px; }
  .port-pagination__btn { font-size: 18px; }
}

/* ===================================
   SERVICE PAGES (Conference / Editorial / Web Design / 인쇄제작)
   피그마: content section left=80px, sidebar x=1448 w=428
   =================================== */
.svc-page {
  padding: 60px 0 0;
  background: var(--white);
}
.svc-page__inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 0 0 80px;
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.svc-page__main--flex {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}
.svc-cta-link--bottom {
  margin-top: auto;
}
.svc-page__main {
  flex: 1;
  min-width: 0;
  padding-right: 60px;
  padding-bottom: 0;
}
/* 피그마: 64px, fw=800, black */
.svc-heading {
  font-family: var(--font-kr);
  font-weight: 800;
  font-size: 64px;
  color: #000000;
  line-height: 1.17;
  margin-bottom: 40px;
}
/* 피그마: 40px, fw=500, lh=64px */
.svc-body {
  font-family: var(--font-kr);
  font-weight: 500;
  font-size: 40px;
  color: var(--gray);
  line-height: 64px;
  margin-bottom: 60px;
}
/* FAQ 목록: 피그마 아이템당 40px 제목 + 32px Q&A */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 60px;
}
.faq-item {
  padding: 24px 0;
}
.faq-item__title {
  font-family: var(--font-kr);
  font-weight: 800;
  font-size: 40px;
  color: #000;
  line-height: 1.17;
  margin-bottom: 32px;
}
.faq-item__qa {
  font-family: var(--font-kr);
  font-weight: 600;
  font-size: 32px;
  color: var(--gray);
  line-height: 1.4;
}
.faq-item__qa .qa-label { color: #000; }
.faq-item__qa .qa-q { display: block; color: var(--gray); margin-bottom: 0; }
.faq-item__qa .qa-a { display: block; color: var(--gray); }

/* 본문-배너 사이 여백 */
.svc-bottom-spacer {
  height: 80px;
}

/* 배너 아래 만나보기 버튼 */
.svc-bottom-cta {
  padding: 0 max(80px, calc((100vw - 1920px) / 2 + 80px));
  line-height: 1;
}

/* 하단 배너 자리 */
.svc-bottom-banner {
  width: 100%;
  height: 594px;
  overflow: hidden;
}
.svc-bottom-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .svc-bottom-banner { height: 300px; }
}

/* 피그마: 64px, fw=800 CTA 링크 텍스트 */
.svc-cta-link {
  display: inline-block;
  font-family: var(--font-kr);
  font-weight: 800;
  font-size: 64px;
  color: #000000;
  line-height: 1;
  transition: color .2s;
  margin-bottom: 20px;
}
.svc-cta-link:hover { color: var(--blue); }

/* 하단 포트폴리오 프리뷰 섹션: 피그마 Frame6 1920×594 */
.svc-works {
  background: #0D142A;
  padding: 60px 80px;
  min-height: 594px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.svc-works__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}
.svc-works__title {
  font-family: var(--font-kr);
  font-weight: 800;
  font-size: 36px;
  color: var(--white);
}
.svc-works__link {
  font-family: var(--font-kr);
  font-size: 18px;
  font-weight: 600;
  color: var(--blue);
  transition: opacity .2s;
}
.svc-works__link:hover { opacity: .8; }
.svc-works__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.svc-works__card {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
  transition: transform .2s;
}
.svc-works__card:hover { transform: translateY(-4px); }
.svc-works__card img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.svc-works__placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  display: flex; align-items: center; justify-content: center;
}
.svc-works__card-title {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  font-family: var(--font-kr);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

/* Responsive — service pages */
@media (max-width: 1400px) {
  .svc-heading { font-size: 44px; }
  .svc-body { font-size: 28px; line-height: 48px; }
  .faq-item__title { font-size: 28px; }
  .faq-item__qa { font-size: 22px; }
  .svc-cta-link { font-size: 44px; }
  .svc-works { padding: 48px 40px; }
  .svc-works__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .svc-page__inner { flex-direction: column; padding: 0 20px; }
  .svc-page__main { padding-right: 0; }
  .svc-heading { font-size: 28px; }
  .svc-body { font-size: 18px; line-height: 32px; }
  .svc-body br { display: none; }
  .faq-item__title { font-size: 20px; }
  .faq-item__qa { font-size: 16px; }
  .svc-cta-link { display: none; }
  .svc-bottom-cta { display: none; }
  .svc-works { padding: 40px 20px; min-height: auto; }
  .svc-works__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .svc-works__grid { grid-template-columns: 1fr; }
}
