/* ============================================================
   건우건설 GUNWOO CONSTRUCTION
   Design tokens — Beige base + pastel blue-green accent
   Font: Pretendard
   ============================================================ */

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable.min.css");

:root {
  /* Base — white + warm beige, luxury monochrome */
  --paper:      #ffffff;
  --beige:      #f4f0e8;   /* section band — warm beige */
  --beige-deep: #e7e0d1;
  --card:       #ffffff;

  /* ── Neutral ramp: BLACK ↔ CHARCOAL (조화 규칙의 뼈대) ──
     · black    = 가장 깊은 곳: 헤드라인 강조어, 다크 그라디언트의 바닥, 버튼 hover
     · charcoal = 다크 표면 기본: 버튼/다크 카드/밴드/푸터 표면
     · charcoal-2 = 소프트 차콜: 다크 그라디언트의 윗면(빛 받는 쪽) */
  --black:      #131109;
  --charcoal:   #2b2822;
  --charcoal-2: #3d382f;

  /* Text ramp — 제목은 잉크, 본문은 소프트, 캡션은 페인트 */
  --ink:        #1e1b15;
  --ink-soft:   #57524a;
  --ink-faint:  #9b9488;

  /* Accent — 은은한 토프(taupe) 포인트 */
  --mint:       #b6a789;   /* soft warm taupe for small accents */
  --mint-light: #e7ddc9;
  --mint-wash:  #f3eee4;
  --sky:        #cabfa6;   /* light taupe support */

  /* Semantic aliases (램프에 매핑 — 기존 셀렉터 호환) */
  --teal:       var(--charcoal);   /* primary surface / small label */
  --teal-deep:  var(--black);      /* hover / strongest emphasis */

  /* 다크 표면 공통 그라디언트 — 모든 다크 카드·밴드·푸터가 이 한 규칙을 공유 */
  --surface-dark: linear-gradient(158deg, var(--charcoal-2) 0%, var(--charcoal) 45%, var(--black) 100%);

  /* Lines & shadow */
  --line:       #e8e2d6;
  --line-soft:  #f0ebe0;
  --shadow-sm:  0 1px 2px rgba(23, 21, 18, .05);
  --shadow-md:  0 10px 34px rgba(23, 21, 18, .09);
  --shadow-lg:  0 26px 64px rgba(23, 21, 18, .14);

  /* Rhythm */
  --radius:     16px;
  --radius-sm:  10px;
  --radius-lg:  28px;
  --wrap:       1180px;
  --gutter:     clamp(20px, 5vw, 48px);

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "system-ui", "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

/* ---------- reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 17px;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  /* 한글은 단어 단위로 줄바꿈한다.
     기본값은 글자 단위라 "정리해 전 / 합니다."처럼 단어 중간이 끊긴다.
     긴 URL 등은 break-word로 넘침만 막는다. */
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--beige { background: var(--beige); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--teal);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--mint); border-radius: 2px; }
.section-title { font-size: clamp(26px, 4vw, 40px); color: var(--ink); }
/* ⚠️ 본문 폭에 ch 단위를 쓰지 말 것.
   ch는 영문 '0' 글자 폭 기준이라 한글(약 2배 폭)에서는 절반만 들어가
   "…정리해 전 / 합니다." 처럼 어색하게 끊긴다. 한글 기준은 em을 쓴다. */
.section-lead { margin-top: 16px; color: var(--ink-soft); max-width: 46em; font-size: 17px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; transition: all .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--teal); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--teal-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--light { background: #fff; color: var(--teal-deep); }
.btn--light:hover { background: var(--mint-wash); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 241, .82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__ko {
  font-weight: 800; font-size: 27px; color: var(--ink); letter-spacing: -0.02em;
}
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a:not(.btn) {
  padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 500;
  color: var(--ink-soft); transition: all .18s ease;
}
.nav__links a:not(.btn):hover { color: var(--teal-deep); background: var(--mint-wash); }
.nav__cta { margin-left: 10px; }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background: var(--beige); }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-block: clamp(56px, 8vw, 104px);
}
.hero__tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 15px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--teal-deep);
  margin-bottom: 24px; box-shadow: var(--shadow-sm);
}
.hero__tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.hero h1 {
  font-size: clamp(32px, 5.4vw, 58px); line-height: 1.14; color: var(--ink); font-weight: 800;
}
.hero h1 .accent { color: var(--black); }
.hero__sub { margin-top: 22px; font-size: clamp(16px, 2vw, 19px); color: var(--ink-soft); max-width: 26em; }

/* rolling banner (overlapping grid so height = tallest slide) */
.hero__slides { display: grid; }
.hero__slide {
  grid-area: 1 / 1; opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}
.hero__slide.is-active { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.hero__dots { display: flex; gap: 9px; margin-top: 26px; }
.hero__dots button {
  width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px;
  background: var(--beige-deep); cursor: pointer; transition: all .25s ease;
}
.hero__dots button:hover { background: var(--mint); }
.hero__dots button.is-active { width: 26px; background: var(--teal); }

.hero__actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__stats { margin-top: 46px; display: flex; gap: 34px; flex-wrap: wrap; }
.hero__stat .num { font-size: 30px; font-weight: 800; color: var(--teal-deep); letter-spacing: -0.03em; }
.hero__stat .lbl { font-size: 13px; color: var(--ink-faint); font-weight: 500; }

/* hero visual (placeholder until real photos) */
.hero__visual { position: relative; }
.hero__photo {
  position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, #f1ebdd 0%, #e6ddcc 45%, #d9cfb9 100%);
  box-shadow: var(--shadow-lg);
}
/* 사진 3장을 겹쳐 두고 문구 전환에 맞춰 페이드 */
.hero__photo__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .6s ease;
}
.hero__photo__img.is-active { opacity: 1; }

/* ============================================================
   BUSINESS / services
   ============================================================ */
.svc-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 30px 26px; transition: all .22s ease; box-shadow: var(--shadow-sm);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--mint); }
.svc-card__ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--mint-wash); color: var(--teal-deep); margin-bottom: 20px;
}
.svc-card__ico svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 19px; color: var(--ink); }
.svc-card p { margin-top: 10px; font-size: 15px; color: var(--ink-soft); line-height: 1.65; }
.svc-card--feature { background: var(--surface-dark); color: #fff; border: 0; }
.svc-card--feature .svc-card__ico { background: rgba(255,255,255,.16); color: #fff; }
.svc-card--feature h3 { color: #fff; }
.svc-card--feature p { color: rgba(255,255,255,.85); }

/* ============================================================
   WHY / trust strip
   ============================================================ */
.why-grid { margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item { text-align: left; }
.why-item .n { font-size: 13px; font-weight: 700; color: var(--mint); letter-spacing: .1em; }
.why-item h4 { margin-top: 10px; font-size: 18px; color: var(--ink); }
.why-item p { margin-top: 8px; font-size: 14px; color: var(--ink-soft); }

/* ============================================================
   NEWS / 포천 건설소식 preview
   ============================================================ */
.news-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
/* 제목·설명 블록이 남는 폭을 가져가게 한다(버튼에 밀려 좁아지지 않도록) */
.news-head > div:first-child { flex: 1 1 32em; min-width: 0; }
.news-head .section-lead { max-width: none; }
.news-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  overflow: hidden; transition: all .22s ease; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__thumb {
  aspect-ratio: 16 / 7;
  background: linear-gradient(150deg, var(--mint-wash), var(--beige-deep));
  position: relative;
}
/* 사진 대기 자리 — 은은한 이미지 아이콘 */
.post-card__thumb::after {
  content: "";
  position: absolute; inset: 0; margin: auto; width: 34px; height: 34px; opacity: .35;
  background: no-repeat center / contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171512' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='16' rx='2'/><circle cx='8.5' cy='9.5' r='1.5'/><path d='M21 16l-5-5L5 20'/></svg>");
}
.post-card__thumb.has-img { aspect-ratio: 16 / 10; }
.post-card__thumb.has-img::after { content: none; }
.post-card__thumb.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-card__thumb .cat {
  position: absolute; left: 14px; top: 14px; z-index: 1; background: rgba(255,255,255,.92);
  color: var(--teal-deep); font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
}
.post-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__date { font-size: 12.5px; color: var(--ink-faint); font-weight: 500; }
.post-card h3 { margin-top: 8px; font-size: 18px; color: var(--ink); line-height: 1.4; }
.post-card p { margin-top: 10px; font-size: 14.5px; color: var(--ink-soft); flex: 1; }
.post-card__more { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--teal); }

/* ============================================================
   CTA band
   ============================================================ */
.cta-band {
  background: var(--surface-dark);
  border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 68px); color: #fff;
  display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center;
}
.cta-band h2 { font-size: clamp(24px, 3.4vw, 34px); color: #fff; }
.cta-band p { margin-top: 12px; color: rgba(255,255,255,.85); }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--surface-dark); color: #cfc9bd; padding-block: 60px 40px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand .brand__ko { color: #fff; }
.footer-brand .brand__en { color: #8a8577; }
.footer-brand p { margin-top: 16px; font-size: 14px; color: #9c968a; max-width: 26em; }
.footer-col h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #8a8577; margin-bottom: 16px; }
.footer-col a, .footer-col li { display: block; font-size: 14.5px; color: #cfc9bd; margin-bottom: 10px; }
.footer-col a:hover { color: var(--mint); }
.footer-bottom {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.09);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: #8a8577;
}

/* ============================================================
   LIST PAGE (시공실적 / 개발노하우 목록)
   ============================================================ */
.page-hero { background: var(--beige); padding-block: clamp(52px, 8vw, 92px) clamp(40px, 5vw, 60px); }
.page-hero h1 { font-size: clamp(30px, 5vw, 46px); color: var(--ink); }
.page-hero p { margin-top: 16px; color: var(--ink-soft); max-width: 50em; font-size: 17px; }
.list-section { padding-block: clamp(48px, 6vw, 80px); }
a.post-card { color: inherit; }
.list-empty {
  text-align: center; color: var(--ink-faint); padding: 60px 20px;
  border: 1px dashed var(--line); border-radius: var(--radius);
}

/* ============================================================
   ARTICLE (상세 웹진)
   ============================================================ */
/* 본문 폭 — 780px는 한글 기준으로 답답해 보여 넓혔다.
   더 넓히면 한 줄이 길어져 읽기 어려우므로 이 선에서 유지한다. */
.article-wrap { max-width: 920px; }
.article-head { padding-block: clamp(44px, 6vw, 76px) clamp(24px, 3vw, 34px); }
.article-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 26px; }
.article-back:hover { color: var(--teal-deep); }
.article-cat {
  display: inline-block; background: var(--charcoal); color: #fff;
  font-size: 12.5px; font-weight: 600; padding: 6px 13px; border-radius: 999px; margin-bottom: 18px;
}
.article-title { font-size: clamp(26px, 4.4vw, 42px); color: var(--ink); line-height: 1.22; }
.article-meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-faint); font-size: 14.5px; font-weight: 500; }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-cover {
  aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; margin: 8px 0 clamp(30px, 4vw, 46px);
  background: linear-gradient(158deg, var(--beige) 0%, var(--beige-deep) 100%);
  position: relative; box-shadow: var(--shadow-md);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover--empty::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; opacity: .3;
  background: no-repeat center / contain
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171512' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='16' rx='2'/><circle cx='8.5' cy='9.5' r='1.5'/><path d='M21 16l-5-5L5 20'/></svg>");
}
.article-body { font-size: 17px; line-height: 1.85; color: #34302a; }
.article-body > *:first-child { margin-top: 0; }
.article-body h2 { margin-top: 1.8em; font-size: clamp(21px, 3vw, 26px); color: var(--ink); }
.article-body h3 { margin-top: 1.5em; font-size: 19px; color: var(--ink); }
.article-body p { margin-top: 1.05em; }
.article-body ul, .article-body ol { margin-top: 1.05em; padding-left: 1.3em; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-top: .4em; }
.article-body li::marker { color: var(--mint); }
.article-body strong { font-weight: 700; color: var(--ink); }
.article-body a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 3px; }
.article-body img { margin: 1.7em 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.article-body blockquote {
  margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--mint);
  color: var(--ink-soft); font-size: 17px;
}
.article-body figure { margin: 1.7em 0; }
.article-body figure img { margin: 0; }
.article-body figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-faint); text-align: center; }
.article-gallery { margin: clamp(30px, 4vw, 48px) 0 0; }
.article-gallery h2 { font-size: 20px; color: var(--ink); margin-bottom: 18px; }
.article-gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.article-gallery__grid img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }
/* ---------- 시리즈 목차 (글 하단) ---------- */
.series-nav {
  margin-top: clamp(36px, 5vw, 56px);
  background: var(--mint-wash); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 24px 24px 20px;
}
.series-nav__label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 14px;
}
.series-nav__label::before { content: ""; width: 20px; height: 2px; background: var(--mint); border-radius: 2px; }
.series-nav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.series-nav__list li { margin: 0; }
.series-nav__list a,
.series-nav__list li.is-current {
  display: flex; align-items: baseline; gap: 10px;
  padding: 11px 12px; border-radius: var(--radius-sm); font-size: 15.5px;
}
.series-nav__list a { color: var(--ink); transition: background .15s, color .15s; }
.series-nav__list a:hover { background: #fff; color: var(--teal-deep); }
.series-nav__list .n { font-weight: 700; color: var(--teal); flex-shrink: 0; }
.series-nav__list .t { flex: 1; }
.series-nav__list a:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.series-nav__list li.is-current { background: #fff; font-weight: 600; }
.series-nav__list li.is-current .now {
  font-size: 12px; font-weight: 600; color: var(--ink-faint);
  background: var(--beige); padding: 3px 9px; border-radius: 999px; flex-shrink: 0;
}

.article-end {
  margin-top: clamp(44px, 6vw, 72px); padding-top: 30px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.article-end p { color: var(--ink-soft); font-size: 15px; }

/* ============================================================
   ABOUT — 회사소개
   ============================================================ */
/* 대표 인사말 */
.greet { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
/* 사진 없이 글만 있는 인사말 — 한 단으로 두되 읽기 좋은 폭으로 제한 */
.greet--nophoto { grid-template-columns: 1fr; max-width: 760px; }
.greet__photo {
  aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(158deg, var(--beige) 0%, var(--beige-deep) 100%);
  box-shadow: var(--shadow-md);
}
.greet__photo img { width: 100%; height: 100%; object-fit: cover; }
.greet__photo--empty::after {
  content: "대표 사진"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 13px; font-weight: 600; color: var(--ink-faint);
}
.greet__body p { margin-top: 1.1em; color: #34302a; font-size: 16.5px; line-height: 1.85; }
.greet__body p:first-child { margin-top: 0; }
.greet__sign { margin-top: 30px; font-size: 15px; color: var(--ink-soft); }
.greet__sign b { font-size: 19px; color: var(--ink); font-weight: 700; margin-left: 8px; letter-spacing: -.02em; }

/* 회사 개요 표 */
.info-table { margin-top: 40px; border-top: 2px solid var(--ink); }
.info-table dl { display: grid; grid-template-columns: 180px 1fr; margin: 0; border-bottom: 1px solid var(--line); }
.info-table dt {
  padding: 17px 20px; font-weight: 600; font-size: 15px; color: var(--ink);
  background: var(--mint-wash); display: flex; align-items: center;
}
.info-table dd { padding: 17px 20px; margin: 0; color: var(--ink-soft); font-size: 15.5px; display: flex; align-items: center; }
.info-table dd a:hover { color: var(--teal-deep); text-decoration: underline; }

/* 연혁 */
.timeline { margin-top: 44px; position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding-bottom: 30px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -26px; top: 7px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--paper); border: 2px solid var(--mint);
}
.tl-item--now::before { background: var(--teal); border-color: var(--teal); }
.tl-item .yr { font-size: 14px; font-weight: 700; color: var(--teal); letter-spacing: .04em; }
.tl-item p { margin-top: 5px; font-size: 15.5px; color: var(--ink-soft); }

/* ============================================================
   BUSINESS — 사업분야 상세
   ============================================================ */
.biz-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center;
  padding-block: clamp(40px, 6vw, 68px); border-bottom: 1px solid var(--line-soft);
}
.biz-row:last-child { border-bottom: 0; }
.biz-row:nth-child(even) .biz-row__visual { order: -1; }
.biz-row__n { font-size: 13px; font-weight: 700; color: var(--mint); letter-spacing: .12em; }
.biz-row h3 { margin-top: 10px; font-size: clamp(21px, 3vw, 28px); color: var(--ink); }
.biz-row > div > p { margin-top: 14px; color: var(--ink-soft); font-size: 16px; line-height: 1.8; }
.biz-list { margin-top: 20px; display: grid; gap: 9px; }
.biz-list li { position: relative; padding-left: 20px; font-size: 15px; color: var(--ink-soft); }
.biz-list li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--mint);
}
.biz-row__visual {
  margin: 0;                                  /* figure 기본 여백 제거 */
  aspect-ratio: 4 / 3; border-radius: var(--radius-lg); position: relative; overflow: hidden;
  background: linear-gradient(158deg, var(--beige) 0%, var(--beige-deep) 100%);
  box-shadow: var(--shadow-md); display: grid; place-items: center;
}
.biz-row__visual img { width: 100%; height: 100%; object-fit: cover; }
/* 출처 표기 — 사진 위에 얹되 읽는 흐름을 방해하지 않게 작고 옅게 */
.biz-row__visual figcaption {
  position: absolute; right: 10px; bottom: 9px;
  font-size: 11px; font-weight: 500; letter-spacing: .01em;
  color: rgba(255, 255, 255, .92); background: rgba(19, 17, 9, .42);
  backdrop-filter: blur(3px); padding: 4px 9px; border-radius: 999px;
}
.biz-row__visual--empty::after {
  content: "시공 사진"; font-size: 13px; font-weight: 600; color: var(--ink-faint);
}

/* ============================================================
   CONTACT — 문의
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 46px; }
.contact-card {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm); transition: all .22s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--mint); }
.contact-card__ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--mint-wash); color: var(--teal-deep); margin-bottom: 17px;
}
.contact-card__ico svg { width: 22px; height: 22px; }
.contact-card h3 { font-size: 16px; color: var(--ink); }
.contact-card .big { margin-top: 8px; font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.02em; }
.contact-card .big a:hover { color: var(--teal); }
.contact-card p { margin-top: 7px; font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* 견적 문의 폼 */
.form-wrap {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 48px); box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-f { display: flex; flex-direction: column; }
.form-f--full { grid-column: 1 / -1; }
.form-f label { font-size: 14.5px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.form-f .req { color: #b4453a; margin-left: 3px; }
.form-f input, .form-f select, .form-f textarea {
  padding: 14px 15px; font-family: inherit; font-size: 16px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s, box-shadow .15s;
}
.form-f input:focus, .form-f select:focus, .form-f textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(43, 40, 34, .08);
}
.form-f textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.form-f select {
  appearance: none; padding-right: 42px; background-repeat: no-repeat;
  background-position: right 13px center; background-size: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357524a' stroke-width='2' stroke-linecap='round'><path d='M6 9l6 6 6-6'/></svg>");
}
.form-agree { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.form-agree input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--teal); }
.form-actions { grid-column: 1 / -1; margin-top: 6px; }
.form-actions .btn { width: 100%; padding: 17px; font-size: 16px; }
.form-msg { grid-column: 1 / -1; text-align: center; font-size: 14.5px; min-height: 20px; }
.form-msg.err { color: #b4453a; }
.form-msg.ok { color: #3f6b4f; }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 문의 완료 */
.form-done { display: none; text-align: center; padding: 40px 20px; }
.form-done .ic {
  width: 62px; height: 62px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--teal); display: grid; place-items: center;
}
.form-done .ic svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 2.4; }
.form-done h3 { font-size: 21px; }
.form-done p { margin-top: 10px; color: var(--ink-soft); font-size: 15.5px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .greet { grid-template-columns: 1fr; }
  .greet__photo { max-width: 320px; }
  .biz-row { grid-template-columns: 1fr; }
  .biz-row:nth-child(even) .biz-row__visual { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 440px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav__links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--paper); padding: 16px var(--gutter) 28px; gap: 4px; border-bottom: 1px solid var(--line);
    transform: translateY(-140%); transition: transform .28s ease; box-shadow: var(--shadow-md); }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 14px 16px; font-size: 16px; }
  .nav__cta { margin: 8px 0 0; }
  .nav__toggle { display: block; }
  .svc-grid, .why-grid, .news-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__stats { gap: 24px; }
  /* 모바일에선 히어로 사진을 감춘다. 사진 자체도 JS가 받지 않는다(main.js). */
  .hero__visual { display: none; }
  .hero__inner { padding-block: clamp(40px, 8vw, 72px); }
  /* 회사개요 표는 모바일에서 라벨/값을 위아래로 */
  .info-table dl { grid-template-columns: 1fr; }
  .info-table dt { padding: 13px 16px 6px; background: transparent; font-size: 13px; color: var(--ink-faint); }
  .info-table dd { padding: 0 16px 15px; }
  .form-grid { grid-template-columns: 1fr; }

  /* 시공 사진 3열은 폰에서 너무 작아진다 */
  .article-gallery__grid { grid-template-columns: repeat(2, 1fr); }
  /* 글 끝 CTA — 버튼이 잘리지 않게 세로로 */
  .article-end { flex-direction: column; align-items: stretch; }
  .article-end .btn { width: 100%; }
  /* 목록 헤더의 '전체보기' 버튼이 제목을 밀지 않게 */
  .news-head { align-items: flex-start; }
  .news-head > div:first-child { flex: 1 1 100%; }
}
