@charset "UTF-8";

/* ==========================================================================
   하수구마켓 (SEWER MARKET) - Modern Clean Tech Core Stylesheet
   Design Concept: Clean, Minimal, Visual-First, Perfectly Responsive
   ========================================================================== */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
  --primary: #0284c7;
  --primary-light: #38bdf8;
  --primary-dark: #0369a1;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --bg-dark: #0b1120;
  --bg-card-dark: #131d31;
  --bg-light: #f8fafc;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-light: #e2e8f0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global Korean Word Break Optimization - Prevents awkward single-character line wraps */
body, h1, h2, h3, h4, h5, h6, p, span, a, li, button, div, strong, label {
  word-break: keep-all !important;
  overflow-wrap: break-word;
}

/* Nav links must never wrap */
header nav a, header nav span, .nav-item {
  white-space: nowrap !important;
  word-break: keep-all !important;
}

body {
  background-color: var(--bg-light);
  color: var(--text-main);
  overflow-x: hidden;
  padding-bottom: 74px; /* mobile floating bar offset */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

/* Glassmorphism Header */
.glass-header {
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Gradients */
.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #06b6d4 50%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-blue {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-mesh-bg {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(at 0% 0%, rgba(2, 132, 199, 0.22) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(6, 182, 212, 0.18) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(16, 185, 129, 0.12) 0px, transparent 50%);
}

/* Live Badge Ping */
.live-indicator {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}

.live-indicator .ping {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: #10b981;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.75;
}

.live-indicator .dot {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background-color: #10b981;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: #0b1120;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #0284c7;
}

/* Clean Photo Card Hover */
.photo-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e2e8f0;
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -10px rgba(2, 132, 199, 0.12);
  border-color: #38bdf8;
}

.photo-card img {
  transition: transform 0.4s ease;
}

.photo-card:hover img {
  transform: scale(1.05);
}

/* Ticker Animation */
.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
}

.ticker-content {
  display: inline-block;
  animation: ticker 35s linear infinite;
}

.ticker-content:hover {
  animation-play-state: paused;
}

@keyframes ticker {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Accordion */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-content {
  max-height: 400px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #0284c7;
}

/* Floating Actions */
.floating-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(11, 17, 32, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 12px;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-weight: 700;
  transition: all 0.25s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  box-shadow: 0 8px 20px -4px rgba(2, 132, 199, 0.4);
}

.btn-kakao {
  background-color: #fee500;
  color: #191919;
  font-weight: 700;
  transition: all 0.25s ease;
}

.btn-kakao:hover {
  background-color: #fdd800;
  box-shadow: 0 8px 20px -4px rgba(254, 229, 0, 0.4);
}

.btn-call {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  font-weight: 700;
  transition: all 0.25s ease;
}

.btn-call:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.4);
}

/* ── Lightbox Modal ── */
#galleryModal {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ── Banner Cards ── */
.banner-card {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease;
}

.banner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -10px rgba(2, 132, 199, 0.25);
}

.banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.banner-card:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   Distribution Page (pSEO / AEO / GEO) Layout Styles
   Benchmarked against reference (Paran / Moco100 SEO Architecture)
   ========================================================================== */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Top Notice Strip */
.lstrip {
  position: sticky; top: 0; z-index: 950;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 38px; background: linear-gradient(90deg, #0b1120, #0284c7 55%, #0b1120);
  color: #fff; padding: 0 20px; font-size: 13.5px; font-weight: 700; text-align: center;
}
.lstrip .hl { color: #fde047; font-weight: 800; }
.lstrip a { color: #fff; }

/* Distribution Header Navigation */
.gnav {
  position: sticky; top: 0; z-index: 500;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border-light);
}
.gnav-logo { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 900; color: #0b1120; }
.gnav-logo .logo-accent { color: #0284c7; }
.gnav-links { display: flex; gap: 24px; align-items: center; }
.gnav-links a { font-size: 15px; font-weight: 600; color: #334155; transition: color 0.2s; }
.gnav-links a:hover { color: #0284c7; }
.gnav-links a.highlight { color: #f59e0b; font-weight: 700; }
.gnav-tel {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #fff; font-weight: 800; font-size: 14px;
  padding: 9px 18px; border-radius: 999px; transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}
.gnav-tel:hover { background: #0369a1; }

/* Breadcrumb */
.crumb { font-size: 13px; color: var(--text-muted); padding: 18px 0 6px; }
.crumb a:hover { color: #0284c7; }
.crumb b { color: #1e293b; font-weight: 700; }
.crumb span { margin: 0 6px; color: #cbd5e1; }

/* Distribution Hero Section */
.dist-hero { padding: 20px 0 10px; }
.eyebrow {
  display: inline-block; font-size: 12.5px; font-weight: 800;
  color: #0284c7; background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 999px; padding: 5px 14px; margin-bottom: 12px;
}
.dist-hero h1 { font-size: 30px; font-weight: 900; letter-spacing: -0.03em; margin: 0 0 10px; line-height: 1.35; color: #0b1120; }
.aeo-updated { font-size: 13px; color: var(--text-muted); margin: 4px 0 12px; }
.dist-hero p.sub { font-size: 15.5px; color: #334155; line-height: 1.8; margin: 0 0 16px; }

/* AEO Answer Box */
.answer-box {
  background: #f0f9ff; border: 1.5px solid #bae6fd;
  border-radius: 14px; padding: 18px 20px; margin: 16px 0 18px;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.06);
}
.answer-box b { color: #0284c7; font-size: 15.5px; display: block; margin-bottom: 6px; }
.answer-box p { margin: 0; font-size: 15px; line-height: 1.8; color: #1e293b; }

/* Hero CTA Buttons */
.hero-cta { display: flex; gap: 10px; flex-wrap: nowrap; margin: 18px 0 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border-radius: 999px; padding: 14px 22px; font-size: 15px; font-weight: 800;
  cursor: pointer; border: 1.5px solid transparent; text-align: center; white-space: nowrap; flex: 1;
  transition: all 0.2s;
}
.btn-dist-blue { background: #0284c7; color: #fff; box-shadow: 0 3px 10px rgba(2, 132, 199, 0.25); }
.btn-dist-blue:hover { background: #0369a1; }
.btn-dist-amber { background: #f59e0b; color: #000; box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3); }
.btn-dist-amber:hover { background: #d97706; }
.btn-dist-kakao { background: #fee500; color: #000; box-shadow: 0 3px 10px rgba(254, 229, 0, 0.3); }
.btn-dist-kakao:hover { background: #fdd800; }
.btn-dist-line { background: #fff; border-color: var(--border-light); color: #1e293b; }
.btn-dist-line:hover { border-color: #0284c7; color: #0284c7; }

/* Top Single Banner */
.top-banner { margin: 18px 0; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.top-banner img { width: 100%; height: auto; object-fit: cover; }

/* AEO Fact Sheet Table */
.aeo-fact { margin: 18px 0; }
.aeo-fhead {
  background: linear-gradient(135deg, #0b1120, #0284c7);
  color: #fff; font-weight: 800; font-size: 15.5px; padding: 13px 20px;
  border-radius: 14px 14px 0 0;
}
.aeo-fact table.aeo-t {
  width: 100%; border-collapse: collapse; border: 1.5px solid #0284c7;
  border-top: none; border-radius: 0 0 14px 14px; overflow: hidden; background: #fff;
}
.aeo-t td { padding: 13px 20px; border-top: 1px solid #f1f5f9; font-size: 14.5px; }
.aeo-t td:first-child { color: var(--text-muted); font-weight: 700; width: 28%; white-space: nowrap; }
.aeo-t td:last-child { font-weight: 700; color: #0f172a; }

/* Guarantee Fund Box */
.fund {
  display: flex; gap: 16px; align-items: flex-start;
  background: linear-gradient(135deg, #0b1120, #0369a1 60%, #0284c7);
  color: #fff; border-radius: 16px; padding: 22px 24px; margin: 20px 0;
  box-shadow: 0 6px 20px rgba(11, 17, 32, 0.15);
}
.fund .fund-icon { font-size: 32px; line-height: 1; flex-shrink: 0; }
.fund .big { font-size: 19px; font-weight: 900; letter-spacing: -0.02em; }
.fund p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.7; color: rgba(255,255,255,0.92); }
.fund .warn { margin-top: 9px; font-size: 13px; font-weight: 700; color: #fde047; }

/* General Section Card */
.sec {
  background: #fff; border: 1px solid var(--border-light); border-radius: 16px;
  padding: 26px; margin: 20px 0; box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.sec h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 12px; color: #0b1120; }
.sec p { font-size: 15px; color: #475569; line-height: 1.8; margin: 0 0 10px; }

/* 5 Images Cases Carousel / Grid */
.cases-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px;
  overflow-x: auto; padding: 8px 2px 14px; scroll-snap-type: x mandatory;
}
@media (max-width: 900px) {
  .cases-grid { display: flex; }
  .case-card { flex: 0 0 210px; }
}
.case-card {
  background: #fff; border: 1px solid var(--border-light); border-radius: 14px;
  overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.04); display: flex; flex-direction: column;
}
.case-card .c-img { width: 100%; height: 145px; object-fit: cover; }
.case-card .c-body { padding: 12px 14px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.case-card strong { font-size: 13.5px; font-weight: 800; color: #0f172a; line-height: 1.45; display: block; margin-bottom: 6px; }
.case-card span { font-size: 12px; color: #0284c7; font-weight: 700; }

/* Process Accordion */
.procflow .pflow { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.pstep-d { border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; background: #fff; transition: border-color 0.2s; }
.pstep-d[open] { border-color: #0284c7; box-shadow: 0 4px 14px rgba(2, 132, 199, 0.08); }
.pstep {
  display: flex; align-items: center; gap: 12px; background: #f8fafc;
  padding: 14px 18px; font-size: 15px; font-weight: 700; color: #1e293b;
  cursor: pointer; list-style: none; user-select: none;
}
.pstep::-webkit-details-marker { display: none; }
.pstep .pnum {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; background: #0284c7;
  color: #fff; font-size: 13px; font-weight: 800; flex: 0 0 26px;
}
.pstep .plabel { flex: 1; }
.pstep .pchev { color: #0284c7; font-size: 14px; transition: transform 0.2s; }
.pstep-d[open] .pstep .pchev { transform: rotate(180deg); }
.pstep-body { padding: 14px 18px 18px 56px; }
.pstep-body p { margin: 0; font-size: 14.5px; color: #475569; line-height: 1.75; }

/* Hook List (6 Key Strengths) */
.hooklist { list-style: none; padding: 0; margin: 12px 0 0; }
.hooklist li {
  padding: 10px 0 10px 28px; position: relative; font-size: 14.5px;
  color: #1e293b; border-bottom: 1px solid #f1f5f9; font-weight: 600;
}
.hooklist li:before {
  content: '✓'; position: absolute; left: 0; color: #10b981;
  font-weight: 900; font-size: 16px;
}

/* Info Cards */
.info {
  background: #f8fafc; border: 1px solid #e2e8f0;
  border-radius: 14px; padding: 18px 20px; margin-bottom: 14px;
}
.info h3 { margin: 0 0 8px; font-size: 15.5px; font-weight: 800; color: #0b1120; }
.info p { margin: 0; font-size: 14px; color: #475569; line-height: 1.75; }
.info .src { display: block; margin-top: 8px; font-size: 12px; color: #94a3b8; }

/* FAQ Section */
.faq-dist details {
  background: #fff; border: 1px solid var(--border-light);
  border-radius: 12px; margin-bottom: 10px; overflow: hidden;
}
.faq-dist summary {
  font-size: 15.5px; font-weight: 700; padding: 16px 20px; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-dist summary::-webkit-details-marker { display: none; }
.faq-dist summary::after { content: '+'; font-size: 22px; font-weight: 300; color: var(--text-muted); }
.faq-dist details[open] summary { color: #0284c7; }
.faq-dist details[open] summary::after { content: '−'; color: #0284c7; }
.faq-dist .a { font-size: 14.5px; color: #475569; line-height: 1.8; padding: 0 20px 18px; }
.aeo-lead { color: #0284c7; font-weight: 800; }

/* Related Keyword Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0 4px; }
.tabs a {
  font-size: 13.5px; font-weight: 600; color: #475569; background: #fff;
  border: 1px solid var(--border-light); border-radius: 999px; padding: 8px 16px;
  transition: all 0.2s;
}
.tabs a.on { background: #0284c7; color: #fff; border-color: #0284c7; }
.tabs a:hover { border-color: #0284c7; color: #0284c7; }
.tabs a.on:hover { color: #fff; }

/* Child Grid (Neighboring Dongs / Hub Links) */
.childgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 760px) { .childgrid { grid-template-columns: repeat(2, 1fr); } }
.childgrid a {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border: 1px solid var(--border-light); border-radius: 12px;
  padding: 13px 16px; font-size: 14.5px; font-weight: 600; color: #1e293b;
  transition: all 0.2s;
}
.childgrid a:hover { border-color: #0284c7; color: #0284c7; transform: translateY(-1px); }
.childgrid a .arr { color: #94a3b8; }
.childgrid a:hover .arr { color: #0284c7; }

/* Bottom CTA Band */
.ctaband {
  background: linear-gradient(135deg, #0b1120, #0284c7);
  color: #fff; border-radius: 18px; padding: 36px 24px; text-align: center; margin: 26px 0;
  box-shadow: 0 8px 24px rgba(11, 17, 32, 0.15);
}
.ctaband h2 { font-size: 23px; font-weight: 900; letter-spacing: -0.02em; margin: 0 0 10px; color: #fff; }
.ctaband p { margin: 0 0 20px; opacity: 0.92; font-size: 15px; }
.ctaband .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: nowrap; max-width: 480px; margin: 0 auto; }
.ctaband .btn-white { background: #fff; color: #0284c7; font-weight: 800; }
.ctaband .btn-white:hover { background: #f8fafc; }

/* Distribution Footer */
footer.rf { background: #0b1120; color: #94a3b8; margin-top: 40px; padding: 42px 0 32px; font-size: 13.5px; }
footer.rf .logo { font-size: 18px; font-weight: 900; color: #fff; margin-bottom: 14px; }
footer.rf nav { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; font-size: 13.5px; }
footer.rf nav a { color: #cbd5e1; font-weight: 600; }
footer.rf nav a:hover { color: #fff; }
footer.rf nav.sub a { color: #94a3b8; font-weight: 500; font-size: 12.5px; }
footer.rf .regions { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; margin-top: 10px; }
footer.rf .regions .rl { font-weight: 700; color: #64748b; margin-right: 4px; font-size: 12.5px; }
footer.rf .biz { font-size: 12.5px; color: #64748b; line-height: 1.75; margin: 16px 0 0; }
footer.rf .copy { font-size: 12px; color: #475569; margin-top: 10px; }
footer.rf .sep { color: #334155; margin: 0 6px; }

/* Mobile Fixed Bottom Bar (for distribution pages) */
.mfix {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  display: flex; gap: 10px; justify-content: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-light); box-shadow: 0 -2px 14px rgba(11, 17, 32, 0.08);
}
.mfix a {
  flex: 1; max-width: 280px; display: flex; align-items: center; justify-content: center;
  text-align: center; gap: 6px; border-radius: 12px; padding: 14px 10px;
  font-size: 15px; font-weight: 800; text-decoration: none; white-space: nowrap;
}
.mfix .m-call { background: #fff; color: #0284c7; border: 1.8px solid #0284c7; }
.mfix .m-quote { background: #0284c7; color: #fff; }

/* Mobile Responsive */
@media (max-width: 600px) {
  .wrap { padding: 0 14px; }
  .gnav { padding: 0 14px; height: 60px; }
  .gnav-links { display: none; }
  .dist-hero h1 { font-size: 23px; }
  .dist-hero p.sub { font-size: 14.5px; }
  .sec { padding: 20px 15px; border-radius: 14px; }
  .sec h2 { font-size: 17.5px; }
  .fund { flex-direction: column; gap: 10px; padding: 18px 16px; }
  .fund .big { font-size: 17px; }
  .pstep-body { padding: 12px 14px 14px 14px; }
  .ctaband { padding: 26px 16px; }
  .ctaband h2 { font-size: 19px; }
  .hero-cta { flex-direction: column; }
  .ctaband .btns { flex-direction: column; }
}
