/* ==========================================================================
   아트크린엔공간 — 친환경 줄눈 시공 전문 브랜드 사이트
   ========================================================================== */

:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f6f4ef;
  --color-bg-soft-2: #eeece4;
  --color-ink: #1b2130;
  --color-ink-2: #262e40;
  --color-gold: #b8935a;
  --color-gold-light: #e6d2a8;
  --color-text: #333333;
  --color-text-soft: #6b7280;
  --color-line: #e5e2d9;
  --shadow-soft: 0 10px 30px rgba(27, 33, 48, 0.08);
  --shadow-strong: 0 20px 50px rgba(27, 33, 48, 0.18);
  --radius: 14px;
  --font-heading: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  --font-body: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Apple SD Gothic Neo", "Segoe UI", sans-serif;
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 800; margin: 0; color: var(--color-ink); letter-spacing: -0.01em; }
p { margin: 0; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 96px 0;
}
.section--soft { background: var(--color-bg-soft); }
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--color-gold);
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.35;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--color-text-soft);
  font-size: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn--gold {
  background: linear-gradient(135deg, var(--color-gold), #a67c45);
  color: #fff;
  box-shadow: 0 10px 24px rgba(184, 147, 90, 0.35);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(184, 147, 90, 0.45); }
.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}
.btn--outline:hover { background: rgba(255,255,255,0.12); }
.btn--dark {
  background: var(--color-ink);
  color: #fff;
}
.btn--dark:hover { background: var(--color-ink-2); }
.btn--sm { padding: 10px 20px; font-size: 13px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(255,255,255,0);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,0.96);
  box-shadow: 0 2px 18px rgba(0,0,0,0.06);
  backdrop-filter: saturate(180%) blur(8px);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-ink);
  white-space: nowrap;
}
.site-header:not(.is-scrolled) .brand { color: #fff; }
.brand-mark {
  height: 40px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--color-ink);
  position: relative;
}
.site-header:not(.is-scrolled) .main-nav a { color: #fff; }
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--color-gold);
  transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border: none; background: transparent;
  cursor: pointer;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  margin: 5px auto;
  background: var(--color-ink);
  transition: all 0.2s ease;
}
.site-header:not(.is-scrolled) .nav-toggle span,
.site-header:not(.is-scrolled) .nav-toggle::before,
.site-header:not(.is-scrolled) .nav-toggle::after { background: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: var(--color-ink);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,19,28,0.72) 0%, rgba(15,19,28,0.6) 45%, rgba(15,19,28,0.88) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 90px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--color-gold-light);
  border: 1px solid rgba(230, 210, 168, 0.45);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(32px, 5.4vw, 54px);
  line-height: 1.4;
  color: #fff;
  margin-bottom: 22px;
}
.hero-title em {
  font-style: normal;
  color: var(--color-gold-light);
}
.hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.86);
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 28px;
}
.hero-stat b {
  display: block;
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--color-gold-light);
}
.hero-stat span { font-size: 13px; color: rgba(255,255,255,0.75); }
.hero-content { padding-bottom: 70px; }
.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.hero-scroll .line { width: 1px; height: 34px; background: rgba(255,255,255,0.5); animation: scrolldown 1.8s infinite; }
@keyframes scrolldown {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--color-ink);
  padding: 0;
  margin-top: -1px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust-item {
  padding: 34px 24px;
  text-align: center;
  color: #fff;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.trust-item:first-child { border-left: none; }
.trust-item .num { font-family: var(--font-heading); color: var(--color-gold-light); font-size: 22px; display: block; margin-bottom: 6px; }
.trust-item .label { font-size: 13.5px; color: rgba(255,255,255,0.82); line-height: 1.5; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-strong);
}
.about-photo img { aspect-ratio: 4/5; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 22px; left: 22px;
  background: rgba(255,255,255,0.95);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: var(--shadow-soft);
}
.about-badge b { display: block; font-family: var(--font-heading); font-size: 20px; color: var(--color-gold); }
.about-badge span { font-size: 12.5px; color: var(--color-text-soft); }
.about-text .section-eyebrow { margin-bottom: 14px; }
.about-lede {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.55;
  margin-bottom: 22px;
}
.about-body {
  color: var(--color-text-soft);
  font-size: 15.5px;
  margin-bottom: 30px;
  white-space: pre-line;
}
.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.promise-card {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: 22px 20px;
}
.promise-card .num {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  background: var(--color-ink);
  padding: 3px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}
.promise-card p {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-ink);
  line-height: 1.5;
}

/* ---------- Cases (Before/After) ---------- */
.case-block {
  margin-bottom: 64px;
}
.case-block:last-child { margin-bottom: 0; }
.case-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.case-head h3 { font-size: 22px; }
.case-head span { color: var(--color-text-soft); font-size: 14px; }
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.compare-col { position: relative; }
.compare-col .tag {
  position: absolute; top: 16px; left: 16px;
  z-index: 2;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em;
  padding: 7px 14px; border-radius: 999px;
  color: #fff;
}
.compare-col.is-before .tag { background: rgba(38,46,64,0.85); }
.compare-col.is-after .tag { background: var(--color-gold); }
.compare-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.compare-strip::-webkit-scrollbar { display: none; }
.compare-strip img {
  scroll-snap-align: start;
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  cursor: zoom-in;
}

/* ---------- Case carousel (rolling before/after) ---------- */
.case-carousel { position: relative; margin-bottom: 40px; }
.case-page { display: none; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-page.is-active { display: grid; }
.case-page.is-active.is-partial { display: flex; justify-content: center; }
.case-page.is-partial .case-block { flex: 0 1 calc(33.333% - 14px); }
.case-carousel .case-block { margin-bottom: 0; }
.case-carousel .case-head { margin-bottom: 10px; flex-direction: column; align-items: flex-start; gap: 2px; }
.case-carousel .case-head h3 { font-size: 16px; }
.case-carousel .case-head span { font-size: 12px; }
.case-nav {
  position: absolute;
  top: 84px;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 19px;
  cursor: pointer;
  z-index: 5;
  color: var(--color-ink);
  transition: background 0.2s ease, color 0.2s ease;
}
.case-nav:hover { background: var(--color-gold); color: #fff; }
.case-nav-prev { left: 8px; }
.case-nav-next { right: 8px; }
.case-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.case-dots button {
  width: 8px; height: 8px; border-radius: 999px;
  background: rgba(0,0,0,0.15); border: none; cursor: pointer; padding: 0;
  transition: all 0.2s ease;
}
.case-dots button.is-active { background: var(--color-gold); width: 22px; }
.case-cta-row { display: flex; justify-content: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .case-page { grid-template-columns: 1fr; }
  .case-page.is-partial .case-block { flex: 1 1 100%; }
  .case-nav { top: -54px; }
  .case-nav-prev { left: auto; right: 60px; }
  .case-nav-next { right: 8px; }
}

/* ---------- Filter gallery ---------- */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.filter-tabs button {
  border: 1px solid var(--color-line);
  background: #fff;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-soft);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-tabs button.is-active,
.filter-tabs button:hover {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: #fff;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.gallery-grid figure {
  margin: 0;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 1/1;
  background: var(--color-bg-soft-2);
}
.gallery-grid img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-grid figure:hover img { transform: scale(1.08); }
.gallery-grid figure figcaption {
  position: absolute; top: 8px; left: 8px;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
  color: #fff;
}
.gallery-grid figure[data-cat="before"] figcaption { background: rgba(38,46,64,0.82); }
.gallery-grid figure[data-cat="after"] figcaption { background: var(--color-gold); }
.gallery-more {
  text-align: center;
  margin-top: 30px;
}

/* ---------- Process filmstrip ---------- */
.process-strip-wrap { position: relative; }
.process-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 8px 4px 26px;
  scroll-snap-type: x proximity;
}
.process-strip::-webkit-scrollbar { height: 8px; }
.process-strip::-webkit-scrollbar-thumb { background: var(--color-line); border-radius: 8px; }
.process-card {
  flex: 0 0 auto;
  width: 230px;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
  position: relative;
  background: var(--color-bg-soft-2);
}
.process-card img { aspect-ratio: 4/3; object-fit: cover; }
.process-card .step {
  position: absolute; top: 10px; left: 10px;
  background: rgba(27,33,48,0.78);
  color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px;
}
.process-card.is-result .step { background: var(--color-gold); }
.process-hint { text-align: center; color: var(--color-text-soft); font-size: 13.5px; margin-top: 4px; }

/* ---------- Kerapoxy ---------- */
.kerapoxy { background: var(--color-ink); color: #fff; }
.kerapoxy .section-title, .kerapoxy .section-desc { color: #fff; }
.kerapoxy .section-desc { color: rgba(255,255,255,0.72); }
.kerapoxy-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}
.kerapoxy-feature-list { display: flex; flex-direction: column; gap: 18px; }
.kerapoxy-feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px; color: rgba(255,255,255,0.88);
}
.kerapoxy-feature-list .dot {
  flex-shrink: 0; margin-top: 7px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--color-gold);
}
.kerapoxy-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-strong); }
.kerapoxy-photo img { aspect-ratio: 4/3; object-fit: cover; }
.kerapoxy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}
.kerapoxy-grid figure {
  margin: 0; border-radius: 10px; overflow: hidden; cursor: zoom-in; aspect-ratio: 1/1;
  background: rgba(255,255,255,0.05);
}
.kerapoxy-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.kerapoxy-grid figure:hover img { transform: scale(1.08); }

/* ---------- Video ---------- */
.video-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}
.video-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-ink);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16/9;
}
.video-card video { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play-btn {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(15,19,28,0.28);
  cursor: pointer;
  border: none;
  transition: background 0.2s ease;
}
.video-play-btn:hover { background: rgba(15,19,28,0.4); }
.video-play-btn .circle {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.video-play-btn.is-hidden { display: none; }
.video-card.is-secondary { aspect-ratio: auto; }
.video-secondary-stack { display: flex; flex-direction: column; gap: 20px; }
.video-secondary-stack .video-card { aspect-ratio: 16/10; }
.video-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.video-cta p { font-weight: 700; color: var(--color-ink); font-size: 15.5px; }
.video-cta span { display: block; color: var(--color-text-soft); font-weight: 400; font-size: 13.5px; margin-top: 4px; }

/* ---------- Reviews marquee ---------- */
.reviews { overflow: hidden; }
.review-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 0 auto 46px;
  flex-wrap: wrap;
}
.review-stats .stat { text-align: center; }
.review-stats .stat b { display: block; font-family: var(--font-heading); font-size: 30px; color: var(--color-gold); }
.review-stats .stat span { font-size: 13.5px; color: var(--color-text-soft); }
.review-track-wrap {
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.review-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: marquee 76s linear infinite;
}
.review-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.review-card {
  flex: 0 0 auto;
  width: 300px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}
.review-card .stars { color: var(--color-gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.review-card p { font-size: 14px; color: var(--color-text); line-height: 1.65; min-height: 76px; }
.review-card .who { margin-top: 16px; font-size: 12.5px; font-weight: 700; color: var(--color-text-soft); }
.review-placeholder {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  border: 1px dashed var(--color-line);
  border-radius: var(--radius);
  padding: 40px 30px;
  color: var(--color-text-soft);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid var(--color-line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--color-ink);
  cursor: pointer;
}
.faq-question .q-mark {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--color-ink);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.faq-question .plus {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--color-gold);
  font-weight: 400;
  transition: transform 0.25s ease;
}
.faq-item.is-open .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer p {
  padding: 0 24px 22px 66px;
  color: var(--color-text-soft);
  font-size: 14.5px;
  line-height: 1.7;
}

/* ---------- Area / map ---------- */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.area-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.area-badges span {
  padding: 9px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--color-line);
  font-weight: 700;
  font-size: 14px;
  color: var(--color-ink);
}
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: none;
  width: 100%;
  height: 360px;
}

/* ---------- SNS ---------- */
.sns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.sns-card {
  padding: 34px 28px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--color-line);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sns-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.sns-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.sns-icon.youtube { background: #ff3b30; }
.sns-icon.blog { background: #03c75a; }
.sns-icon.instagram { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); padding: 8px; }
.sns-icon.instagram img { width: 100%; height: 100%; object-fit: contain; border-radius: 7px; }
.sns-card h4 { font-size: 17px; }
.sns-card p { color: var(--color-text-soft); font-size: 14px; }
.sns-card .go { margin-top: auto; font-weight: 700; color: var(--color-gold); font-size: 14px; }

/* ---------- Contact / CTA ---------- */
.contact {
  position: relative;
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.contact-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.contact-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,19,28,0.86), rgba(15,19,28,0.78));
}
.contact .container { position: relative; z-index: 2; }
.contact-title { font-size: clamp(26px, 4vw, 38px); color: #fff; margin-bottom: 16px; }
.contact-desc { color: rgba(255,255,255,0.82); margin-bottom: 34px; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.contact-phone { font-family: var(--font-heading); font-size: 22px; color: var(--color-gold-light); margin-top: 26px; letter-spacing: 0.02em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-ink-2); color: rgba(255,255,255,0.72); padding: 52px 0 30px; }
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 22px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 19px; color: #fff; margin-bottom: 10px; }
.footer-logo {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  padding: 5px;
}
.footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.footer-info p { font-size: 13.5px; margin-bottom: 6px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,0.72); }
.footer-links a:hover { color: var(--color-gold-light); }
.footer-bottom { font-size: 12.5px; color: rgba(255,255,255,0.45); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- Quick widget (fixed side icon stack) ---------- */
.quick-widget {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quick-widget a {
  position: relative;
  width: 50px; height: 50px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(0,0,0,0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.quick-widget a:hover { transform: translateX(-4px); box-shadow: 0 10px 22px rgba(0,0,0,0.3); }
.quick-widget a.qw-blog { background: #03c75a; }
.quick-widget a.qw-instagram { background: linear-gradient(135deg,#f58529,#dd2a7b,#8134af); padding: 9px; }
.quick-widget a.qw-instagram img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
.quick-widget a.qw-youtube { background: #ff3b30; }
.quick-widget a.qw-kakao { background: #FEE500; padding: 10px; }
.quick-widget a.qw-kakao svg { width: 100%; height: 100%; fill: #391B1B; }
.quick-widget a.qw-phone {
  background: linear-gradient(135deg, var(--color-gold), #8f6a3c);
  animation: pulse 2.4s infinite;
}
.quick-widget .qw-tip {
  position: absolute;
  right: 62px; top: 50%;
  transform: translateY(-50%);
  background: var(--color-ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.quick-widget a:hover .qw-tip { opacity: 1; }
@keyframes pulse {
  0% { box-shadow: 0 8px 18px rgba(184,147,90,0.4), 0 0 0 0 rgba(184,147,90,0.5); }
  70% { box-shadow: 0 8px 18px rgba(184,147,90,0.4), 0 0 0 12px rgba(184,147,90,0); }
  100% { box-shadow: 0 8px 18px rgba(184,147,90,0.4), 0 0 0 0 rgba(184,147,90,0); }
}
@media (max-width: 760px) {
  .quick-widget { right: 12px; top: auto; bottom: 16px; transform: none; gap: 8px; }
  .quick-widget a { width: 44px; height: 44px; font-size: 17px; border-radius: 12px; }
  .quick-widget .qw-tip { display: none; }
  .hero-desc { max-width: 100%; padding-right: 56px; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(10,12,18,0.94);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1000px, 100%); max-height: 84vh;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 50%;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 18px;
}
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.7); font-size: 13px;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .kerapoxy-intro, .area-grid { grid-template-columns: 1fr; gap: 36px; }
  .video-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: none; }
  .sns-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .section { padding: 68px 0; }
  .compare { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 92vh; }
  .footer-grid { flex-direction: column; }
  .hero-scroll { display: none; }
  .hero-content { padding-bottom: 0; }
  .brand { font-size: 16px; gap: 8px; }
  .brand-mark { height: 32px; }
  .site-header .container { height: 66px; }
  .header-actions { gap: 8px; }
  .header-actions .btn--sm { padding: 9px 14px; font-size: 13px; }
  .main-nav.is-open { top: 66px; }
  .hero-stats { gap: 18px 30px; }
  .floating-call { width: 52px; height: 52px; right: 16px; bottom: 16px; font-size: 15px; }
}
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-left: none !important; border-top: 1px solid rgba(255,255,255,0.1); }
  .trust-item:first-child { border-top: none; }
}

/* Mobile nav drawer */
.main-nav.is-open {
  display: flex;
  position: fixed;
  top: 78px; left: 0; right: 0;
  background: #fff;
  flex-direction: column;
  padding: 20px 24px 30px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  gap: 0;
}
.main-nav.is-open a {
  color: var(--color-ink) !important;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-line);
}
