/* ==========================================================================
   미소자원산업 — 강릉 고물상 · 공인계량소
   정적 사이트 스타일시트 (빌드 도구 없음)
   1) 토큰  2) 기본  3) 헤더  4) 히어로  5) 섹션 공통  6) 서비스
   7) 품목 갤러리  8) 절차  9) 회사 소개  10) 오시는 길  11) FAQ
   12) CTA  13) 푸터  14) 모바일 상담바  15) 유틸/모션
   ========================================================================== */

/* 1) 토큰 ---------------------------------------------------------------- */
:root {
  --ink: #0E1621;
  --ink-2: #16232F;
  --ink-3: #1E2C3A;
  --steel: #5C6B79;
  --steel-light: #8A97A3;
  --paper: #F4F1EA;
  --paper-2: #EDE8DD;
  --white: #FFFFFF;
  --amber: #F2A31B;
  --amber-deep: #D98A0B;
  --amber-soft: #FDF1DC;
  --line: rgba(14, 22, 33, .12);
  --line-strong: rgba(14, 22, 33, .2);
  --line-light: rgba(255, 255, 255, .14);

  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", "Noto Sans KR", sans-serif;
  --font-cond: "Barlow Condensed", "Pretendard Variable", Pretendard, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(14, 22, 33, .06);
  --shadow: 0 14px 34px rgba(14, 22, 33, .1);
  --shadow-lg: 0 26px 60px rgba(14, 22, 33, .18);

  --container: 1180px;
  --header-h: 66px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* 2) 기본 ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  word-break: keep-all;          /* 한국어 단어 중간 줄바꿈 방지 */
  overflow-wrap: break-word;
}

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

h1, h2, h3 { margin: 0; line-height: 1.22; letter-spacing: -.022em; font-weight: 800; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

button { font: inherit; color: inherit; }

strong { font-weight: 700; }

::selection { background: var(--amber); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--amber-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--amber);
  color: var(--ink);
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

.muted { color: var(--steel); font-weight: 500; }

/* 3) 헤더 ---------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 22, 33, .96);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: saturate(140%) blur(10px);
  color: var(--paper);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }

.header-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: 0 20px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand-mark { flex: none; display: block; line-height: 0; border-radius: 10px; overflow: hidden; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.06rem; letter-spacing: -.01em; }
.brand-text span { font-size: .72rem; letter-spacing: .06em; color: var(--steel-light); margin-top: 3px; }

.nav ul { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav a {
  font-size: .95rem;
  font-weight: 600;
  color: rgba(244, 241, 234, .82);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav a:hover { color: var(--amber); border-color: var(--amber); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1px solid rgba(242, 163, 27, .55);
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  color: var(--amber);
  letter-spacing: .01em;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.header-phone:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--paper);
  border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 4) 히어로 -------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(38px, 6vw, 76px) 0 clamp(40px, 5vw, 64px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 88% 8%, rgba(242, 163, 27, .16), transparent 62%),
    radial-gradient(90% 70% at 0% 100%, rgba(63, 96, 122, .28), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .022) 0 2px, transparent 2px 12px);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--amber);
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--amber-deep); }
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 4px rgba(242, 163, 27, .18);
}

.hero h1 {
  font-size: clamp(2.25rem, 7.2vw, 4.15rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  margin-bottom: 20px;
}
.hero h1 .hl {
  color: var(--amber);
  position: relative;
  white-space: nowrap;
}
.hero h1 .hl::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: .04em;
  height: .1em;
  background: rgba(242, 163, 27, .28);
  border-radius: 2px;
}

.hero-lead {
  max-width: 33em;
  font-size: clamp(1rem, 1.35vw, 1.1rem);
  color: rgba(244, 241, 234, .82);
  margin-bottom: 28px;
}
.hero-lead strong { color: var(--paper); }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform .18s var(--ease), background .2s var(--ease),
    border-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--amber);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(242, 163, 27, .28);
}
.btn-primary:hover { background: #FFB733; box-shadow: 0 14px 30px rgba(242, 163, 27, .36); }
.btn-primary em {
  font-style: normal;
  font-weight: 800;
  padding-left: 10px;
  margin-left: 2px;
  border-left: 1px solid rgba(14, 22, 33, .25);
  letter-spacing: .01em;
}

.btn-ghost {
  background: rgba(255, 255, 255, .04);
  border-color: rgba(255, 255, 255, .28);
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); background: rgba(242, 163, 27, .08); }

.btn-ghost-light {
  background: transparent;
  border-color: rgba(14, 22, 33, .45);
  color: var(--ink);
}
.btn-ghost-light:hover { background: rgba(14, 22, 33, .08); }

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
  padding: 11px 18px;
  font-size: .92rem;
}
.btn-outline:hover { border-color: var(--ink); background: rgba(14, 22, 33, .04); }

.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--ink-3); }

.btn-quiet {
  background: transparent;
  border-color: var(--line);
  color: var(--steel);
  padding: 11px 16px;
  font-size: .92rem;
}
.btn-quiet:hover { border-color: var(--steel); color: var(--ink); }

.btn-sm { padding: 11px 18px; font-size: .92rem; }
.btn-lg { padding: 16px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.hero-note {
  margin: 18px 0 0;
  font-size: .88rem;
  color: rgba(244, 241, 234, .58);
  max-width: 34em;
}

.hero-figure { margin: 0; }
.hero-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--shadow-lg);
  background: var(--ink-2);
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.95) contrast(1.02);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 22, 33, 0) 45%, rgba(14, 22, 33, .55) 100%);
  pointer-events: none;
}
.photo-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 8px 14px 9px;
  background: var(--amber);
  color: var(--ink);
  border-radius: 10px;
  line-height: 1.05;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .28);
}
.photo-badge strong { font-family: var(--font-cond); font-size: 1.9rem; font-weight: 700; letter-spacing: .01em; }
.photo-badge span { font-size: .72rem; font-weight: 700; letter-spacing: .06em; }

.hero-figure figcaption {
  margin-top: 10px;
  font-size: .8rem;
  color: rgba(244, 241, 234, .5);
  letter-spacing: .02em;
}

.trust-strip {
  position: relative;
  list-style: none;
  margin: clamp(30px, 4vw, 44px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .035);
  overflow: hidden;
}
.trust-strip li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-left: 1px solid rgba(255, 255, 255, .08);
}
.trust-strip li:nth-child(-n+2) { border-top: 0; }
.trust-strip li:nth-child(odd) { border-left: 0; }
.trust-strip strong { font-size: 1rem; color: var(--amber); letter-spacing: -.01em; }
.trust-strip span { font-size: .82rem; color: rgba(244, 241, 234, .62); }

/* 5) 섹션 공통 ----------------------------------------------------------- */
.section { padding: clamp(56px, 7vw, 100px) 0; }
.section-paper { background: var(--paper); }
.section-dark {
  background: var(--ink);
  color: var(--paper);
  background-image: radial-gradient(90% 70% at 100% 0%, rgba(242, 163, 27, .1), transparent 60%);
}

.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 46px); }
.section-head h2 { font-size: clamp(1.62rem, 3.6vw, 2.5rem); margin-bottom: 14px; }
.section-lead { font-size: clamp(.98rem, 1.2vw, 1.06rem); color: var(--steel); max-width: 44em; }
.section-dark .section-lead { color: rgba(244, 241, 234, .72); }

/* 6) 서비스 -------------------------------------------------------------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.service-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--amber), rgba(242, 163, 27, 0));
  opacity: 0;
  transition: opacity .25s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-strong);
}
.service-card:hover::before { opacity: 1; }

.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.service-no {
  font-family: var(--font-cond);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--amber-deep);
  letter-spacing: .04em;
}
.service-icon { width: 34px; height: 34px; color: var(--ink-3); opacity: .8; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; letter-spacing: -.02em; }
.service-card p { font-size: .94rem; color: var(--steel); }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.service-tags span {
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #8A5B00;
  background: var(--amber-soft);
  border: 1px solid rgba(217, 138, 11, .22);
  padding: 4px 9px;
  border-radius: 999px;
}

/* 7) 품목 갤러리 --------------------------------------------------------- */
.filters {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.js .filters { display: flex; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  font-size: .9rem;
  font-weight: 600;
  color: var(--steel);
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.chip span {
  font-family: var(--font-cond);
  font-size: .84rem;
  color: inherit;
  opacity: .7;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip.is-active span { opacity: .85; }

.item-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.item-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.item-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.item-card.is-hidden { display: none; }
.item-photo { background: var(--ink-2); overflow: hidden; }
.item-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.item-card:hover .item-photo img { transform: scale(1.04); }
.item-body { padding: 16px 18px 20px; }
.item-cat {
  margin: 0 0 6px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--amber-deep);
  text-transform: uppercase;
}
.item-body h3 { font-size: 1.05rem; margin-bottom: 7px; letter-spacing: -.015em; }
.item-body p { font-size: .89rem; color: var(--steel); margin: 0; line-height: 1.6; }

.item-more {
  margin-top: 28px;
  padding: 24px 22px;
  background: rgba(255, 255, 255, .6);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.item-more h3 { font-size: 1.02rem; margin-bottom: 14px; }
.tag-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag-list li {
  font-size: .88rem;
  font-weight: 600;
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-2);
}
.item-more-note { font-size: .86rem; color: var(--steel); margin: 0; }

/* 8) 절차 ---------------------------------------------------------------- */
.steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 22px 22px 20px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
}
.steps li::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), rgba(242, 163, 27, 0));
}
.step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  font-weight: 800;
  font-size: 1rem;
}
.steps h3 { font-size: 1.12rem; margin-bottom: 8px; }
.steps p { font-size: .92rem; color: rgba(244, 241, 234, .68); margin: 0; }

.process-callout {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--line-light);
  border-left: 3px solid var(--amber);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .03);
}
.process-callout p { margin: 0; font-size: .95rem; color: rgba(244, 241, 234, .8); }
.process-callout strong { color: var(--paper); }

/* 9) 회사 소개 ----------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.about-copy h2 { font-size: clamp(1.62rem, 3.4vw, 2.4rem); margin-bottom: 18px; }
.about-copy p { color: var(--steel); font-size: 1rem; }
.about-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.about-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.about-card h3 { font-size: 1rem; letter-spacing: .04em; margin-bottom: 14px; }
.about-card dl { margin: 0; }
.about-card dl > div {
  display: grid;
  grid-template-columns: 8.2em 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.about-card dl > div:first-child { border-top: 0; padding-top: 0; }
.about-card dt { font-size: .82rem; font-weight: 700; color: var(--steel); letter-spacing: .02em; }
.about-card dd { margin: 0; font-size: .93rem; font-weight: 600; line-height: 1.5; }

/* 10) 오시는 길 ---------------------------------------------------------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}
.map-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.map-visual { height: 210px; background: #E9E4D9; }
.map-visual svg { width: 100%; height: 100%; }
.map-body { padding: 22px; }
.map-label {
  margin: 0 0 6px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .12em;
  color: var(--amber-deep);
  text-transform: uppercase;
}
.map-address { font-size: 1.14rem; font-weight: 700; line-height: 1.45; margin-bottom: 16px; letter-spacing: -.01em; }
.map-address .muted { display: block; font-size: .88rem; font-weight: 500; margin-top: 4px; }
.map-buttons { display: flex; flex-wrap: wrap; gap: 8px; }

.contact-card {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
}
.contact-card h3 { font-size: 1rem; letter-spacing: .04em; margin-bottom: 12px; color: rgba(244, 241, 234, .75); }
.contact-list { list-style: none; margin: 0 0 16px; padding: 0; }
.contact-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
}
.contact-list li:first-child { border-top: 0; padding-top: 0; }
.contact-key { flex: none; width: 4.4em; font-size: .8rem; font-weight: 700; color: var(--steel-light); letter-spacing: .06em; }
.contact-value { font-weight: 600; font-size: .98rem; overflow-wrap: anywhere; }
a.contact-value:hover { color: var(--amber); }
.contact-value.big { font-size: 1.36rem; font-weight: 800; color: var(--amber); letter-spacing: .01em; }
.contact-note { font-size: .86rem; color: rgba(244, 241, 234, .6); margin-bottom: 20px; }
.contact-card .btn-primary { margin-top: auto; }

/* 11) FAQ ---------------------------------------------------------------- */
.faq-wrap { max-width: 860px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  position: relative;
  padding: 18px 44px 18px 0;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  transition: color .18s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--amber-deep); }
.faq-list summary::after,
.faq-list summary::before {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--steel);
  border-radius: 2px;
  transition: transform .22s var(--ease), background .18s var(--ease);
}
.faq-list summary::before { transform: translateY(-50%) rotate(90deg); }
.faq-list summary::after { transform: translateY(-50%); }
.faq-list details[open] summary::before { transform: translateY(-50%) rotate(0deg); }
.faq-list details[open] summary::after { background: var(--amber-deep); }
.faq-list details[open] summary { color: var(--ink); }
.faq-list details p {
  padding: 0 44px 20px 0;
  margin: 0;
  font-size: .95rem;
  color: var(--steel);
  animation: fade-in .25s var(--ease);
}
@keyframes fade-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* 12) CTA ---------------------------------------------------------------- */
.cta-band {
  background: linear-gradient(100deg, var(--amber) 0%, #F7B844 52%, #F2A31B 100%);
  color: var(--ink);
  padding: clamp(40px, 5vw, 64px) 0;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}
.cta-band h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); margin-bottom: 8px; }
.cta-band p { margin: 0; font-size: .98rem; color: rgba(14, 22, 33, .78); max-width: 34em; }
.cta-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band .btn-primary { background: var(--ink); color: var(--amber); box-shadow: 0 12px 26px rgba(14, 22, 33, .2); }
.cta-band .btn-primary:hover { background: var(--ink-3); }

/* 13) 푸터 --------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: rgba(244, 241, 234, .66);
  padding: clamp(40px, 5vw, 60px) 0 26px;
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer-name { font-size: 1.16rem; font-weight: 800; color: var(--paper); margin-bottom: 4px; letter-spacing: -.01em; }
.footer-tag { font-size: .82rem; letter-spacing: .06em; color: var(--amber); font-weight: 700; margin-bottom: 12px; }
.footer-desc { font-size: .88rem; max-width: 26em; margin: 0; }
.footer-info { font-style: normal; }
.footer-info p { margin: 0 0 7px; display: flex; gap: 10px; line-height: 1.5; }
.footer-info span { flex: none; width: 7.6em; color: rgba(244, 241, 234, .42); font-size: .82rem; }
.footer-info a:hover { color: var(--amber); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: .8rem;
  color: rgba(244, 241, 234, .42);
}
.footer-bottom p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-links a:hover { color: var(--amber); }

/* 14) 모바일 상담바 ------------------------------------------------------ */
.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(14, 22, 33, .14);
  border-top: 1px solid rgba(14, 22, 33, .16);
  padding-bottom: env(safe-area-inset-bottom);
  backdrop-filter: blur(12px);
}
.call-bar-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 9px 4px 8px;
  background: rgba(255, 255, 255, .97);
  font-size: .74rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .02em;
}
.call-bar-btn.primary { background: var(--amber); }

/* 15) 유틸/모션 ---------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translate(-50%, 12px);
  z-index: 150;
  padding: 11px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: .9rem;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
  max-width: calc(100% - 32px);
  text-align: center;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 반응형 ---------- */
@media (min-width: 560px) {
  .container { padding-inline: 24px; }
  .item-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1.2fr; }
}

@media (min-width: 720px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .process-callout { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-inner { flex-direction: row; align-items: center; justify-content: space-between; }
  .trust-strip { grid-template-columns: repeat(4, 1fr); }
  .trust-strip li { border-top: 0; padding: 20px 22px; }
  .trust-strip li:nth-child(odd) { border-left: 1px solid rgba(255, 255, 255, .08); }
  .trust-strip li:first-child { border-left: 0; }
  .map-visual { height: 260px; }
}

@media (min-width: 960px) {
  :root { --header-h: 74px; }
  body { font-size: 18px; }
  .hero-grid { grid-template-columns: 1.04fr .96fr; gap: clamp(36px, 5vw, 64px); }
  .about-grid { grid-template-columns: 1.15fr .85fr; }
  .location-grid { grid-template-columns: 1.08fr .92fr; }
  .about-card { position: sticky; top: calc(var(--header-h) + 24px); }
}

@media (min-width: 1080px) {
  .service-grid { grid-template-columns: repeat(4, 1fr); }
  .item-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 900px) {
  /* 모바일·태블릿: 햄버거 메뉴 + 하단 상담바 */
  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink-2);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s var(--ease);
    visibility: hidden;
  }
  .nav.is-open { max-height: 420px; visibility: visible; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; }
  .nav li { border-top: 1px solid rgba(255, 255, 255, .08); }
  .nav li:first-child { border-top: 0; }
  .nav a { display: block; padding: 14px 4px; font-size: 1rem; border-bottom: 0; }
  .header-phone span { display: none; }
  .header-phone { padding: 0; width: 44px; height: 44px; justify-content: center; }
  .header-phone svg { width: 19px; height: 19px; }
  .call-bar { display: grid; }
  body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .hero { padding-bottom: 44px; }
}

@media (max-width: 560px) {
  .br-sm { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .btn-primary em { margin-left: auto; }
  .hero h1 { letter-spacing: -.04em; }
  .photo-badge strong { font-size: 1.6rem; }
  .section-head h2 br { display: none; }
  .footer-info p { flex-direction: column; gap: 0; }
  .footer-info span { width: auto; }
  .map-address { font-size: 1.05rem; }
  .about-card dl > div { grid-template-columns: 7.2em 1fr; }

  /* 모바일에서는 사진을 왼쪽에 둔 가로 카드로 — 8장을 빠르게 훑을 수 있게 */
  .item-card { flex-direction: row; align-items: stretch; }
  .item-photo { flex: 0 0 40%; }
  .item-photo img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
  .item-body { padding: 14px 15px; }
  .item-body h3 { font-size: 1rem; }
  .item-body p { font-size: .85rem; }
  .item-cat { font-size: .68rem; }
}
