/* =====================================================================
   간다GO · 영남·제주 출장마사지 — Premium Design System
   Pretendard + Design Tokens (premium palette) + Component Overlays
   ===================================================================== */

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

/* ----------------------------------------------------------------
   1. Design Tokens — Premium Palette
   ---------------------------------------------------------------- */
:root {
  /* Base surfaces — deep charcoal-navy */
  --bg-base:        #0b0f14;
  --bg-deep:        #070a0e;
  --surface-1:      #141a22;
  --surface-2:      #1a222c;
  --surface-3:      #212b37;
  --surface-glass:  rgba(26, 34, 44, 0.72);

  /* Lines & borders */
  --line:           rgba(255, 255, 255, 0.08);
  --line-strong:    rgba(255, 255, 255, 0.14);

  /* Text */
  --text-hi:        #f5f7fa;
  --text:           #d6dbe2;
  --text-muted:     #9aa4b1;
  --text-dim:       #6b7480;

  /* Primary — premium orange (brand accent) */
  --primary:        #f5871f;
  --primary-600:    #f2760a;
  --primary-400:    #ff9a2e;
  --primary-soft:   rgba(245, 135, 31, 0.14);
  --primary-line:   rgba(245, 135, 31, 0.42);
  --grad-primary:   linear-gradient(135deg, #ff9a2e 0%, #f2760a 100%);
  --glow-primary:   0 10px 34px -8px rgba(242, 118, 10, 0.55);

  /* Premium gold micro-accent */
  --gold:           #d9b26a;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-1: 0 2px 10px rgba(0, 0, 0, 0.28);
  --shadow-2: 0 12px 40px -12px rgba(0, 0, 0, 0.6);
  --shadow-card: 0 18px 50px -22px rgba(0, 0, 0, 0.75);

  /* Layout */
  --wrap: 1160px;
  --gutter: 20px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ----------------------------------------------------------------
   2. Reset & Base
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 700px at 80% -10%, rgba(242, 118, 10, 0.10), transparent 60%),
    radial-gradient(900px 600px at -10% 10%, rgba(45, 78, 120, 0.16), transparent 55%),
    var(--bg-base);
  line-height: 1.7;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s var(--ease); }
h1, h2, h3, h4 { color: var(--text-hi); line-height: 1.28; letter-spacing: -0.02em; margin: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary-400);
  padding: 6px 14px; border: 1px solid var(--primary-line);
  border-radius: var(--r-pill); background: var(--primary-soft); margin-bottom: 18px;
}
.section { padding: 74px 0; }
.section-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; }
.section-head p { color: var(--text-muted); margin-top: 14px; font-size: 16px; }

/* ----------------------------------------------------------------
   3. Buttons
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 15px; padding: 13px 24px; border-radius: var(--r-pill);
  border: 1px solid var(--line-strong); color: var(--text-hi);
  background: var(--surface-2); cursor: pointer; transition: transform 0.18s var(--ease), box-shadow 0.2s, background 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--grad-primary); border: none; color: #1a1206;
  box-shadow: var(--glow-primary);
}
.btn-primary:hover { box-shadow: 0 16px 42px -8px rgba(242, 118, 10, 0.7); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--primary-line); }
.btn-lg { padding: 16px 30px; font-size: 16px; }

/* ----------------------------------------------------------------
   4. Header / Navigation
   ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(10, 14, 19, 0.78); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; color: var(--text-hi); font-size: 19px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px; background: var(--grad-primary);
  display: grid; place-items: center; color: #1a1206; font-weight: 900; font-size: 15px;
  box-shadow: var(--glow-primary);
}
.brand small { display: block; font-size: 11px; font-weight: 600; color: var(--text-dim); letter-spacing: 0.06em; }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 9px 13px;
  font-size: 15px; font-weight: 600; color: var(--text-muted); border-radius: var(--r-sm);
  white-space: nowrap;
}
.nav-link:hover, .nav-item:hover .nav-link { color: var(--text-hi); background: rgba(255, 255, 255, 0.05); }
.nav-link .caret { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: 0.6; }

.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 230px; background: var(--surface-2); border: 1px solid var(--line-strong);
  border-radius: var(--r-md); padding: 8px; box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); z-index: 950;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a { display: block; padding: 9px 13px; font-size: 14px; color: var(--text-muted); border-radius: 9px; }
.dropdown a:hover { background: var(--primary-soft); color: var(--primary-400); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-tel { font-weight: 800; color: var(--text-hi); font-size: 15px; white-space: nowrap; }
.nav-tel span { color: var(--primary-400); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line-strong); border-radius: 10px; width: 42px; height: 40px; cursor: pointer; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--text-hi); margin: 3px auto; }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(86vw, 340px); z-index: 999;
  background: var(--surface-1); border-left: 1px solid var(--line-strong);
  transform: translateX(100%); transition: transform 0.3s var(--ease);
  overflow-y: auto; padding: 78px 18px 40px;
}
.mobile-nav.open { transform: translateX(0); box-shadow: -20px 0 60px rgba(0, 0, 0, 0.6); }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary { padding: 14px 6px; font-weight: 700; color: var(--text-hi); cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav details a { display: block; padding: 9px 14px; color: var(--text-muted); font-size: 14px; }
.mobile-nav > a { display: block; padding: 14px 6px; font-weight: 700; color: var(--text-hi); border-bottom: 1px solid var(--line); }
.nav-scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.6); z-index: 998; opacity: 0; visibility: hidden; transition: opacity 0.3s; }
.nav-scrim.open { opacity: 1; visibility: visible; }

/* ----------------------------------------------------------------
   5. Hero (background image overlay)
   ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(180deg, rgba(9, 12, 17, 0.72) 0%, rgba(9, 12, 17, 0.55) 45%, rgba(9, 12, 17, 0.92) 100%),
    var(--hero-image, url("/assets/images/hero.webp"));
  background-size: cover; background-position: center; transform: scale(1.03);
}
.hero-inner { position: relative; z-index: 1; padding: 96px 0 80px; }
.hero h1 { font-size: clamp(30px, 5.2vw, 52px); font-weight: 800; max-width: 16ch; }
.hero .lead { color: var(--text); font-size: clamp(16px, 2vw, 19px); max-width: 60ch; margin-top: 20px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-stat b { display: block; font-size: 24px; color: var(--text-hi); font-weight: 800; }
.hero-stat span { font-size: 13px; color: var(--text-dim); }

/* ----------------------------------------------------------------
   6. Cards & Grids
   ---------------------------------------------------------------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px;
  transition: transform 0.22s var(--ease), border-color 0.22s, box-shadow 0.22s;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(140deg, rgba(245, 135, 31, 0.28), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity 0.22s;
}
.card:hover { transform: translateY(-4px); border-color: var(--primary-line); box-shadow: var(--shadow-card); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 14.5px; margin: 0; }
.card .card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--primary-400); font-weight: 700; font-size: 14px; }
.card .card-link::after { content: "→"; transition: transform 0.2s; }
.card:hover .card-link::after { transform: translateX(4px); }
.card-icon { width: 46px; height: 46px; border-radius: 13px; background: var(--primary-soft); border: 1px solid var(--primary-line); display: grid; place-items: center; font-size: 22px; margin-bottom: 16px; }

/* ----------------------------------------------------------------
   7. Price Table (shown on every page)
   ---------------------------------------------------------------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--line-strong); border-radius: var(--r-xl); padding: 34px 26px; text-align: center;
}
.price-card.featured {
  border-color: var(--primary); box-shadow: var(--glow-primary), inset 0 0 60px rgba(242, 118, 10, 0.06);
  background: linear-gradient(180deg, #241a10, var(--surface-1));
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-primary); color: #1a1206; font-weight: 800; font-size: 13px;
  padding: 6px 18px; border-radius: var(--r-pill); box-shadow: var(--glow-primary);
}
.price-card .course { font-size: 18px; font-weight: 700; color: var(--text-hi); }
.price-card .amount { font-size: 40px; font-weight: 800; color: var(--text-hi); margin: 16px 0 4px; letter-spacing: -0.03em; }
.price-card .amount span { font-size: 17px; font-weight: 600; color: var(--text-muted); }
.price-card .dur { color: var(--primary-400); font-weight: 800; font-size: 15px; margin-bottom: 6px; }
.price-card .desc { color: var(--text-muted); font-size: 14px; min-height: 42px; }
.price-card .btn { width: 100%; margin-top: 20px; }
.pricing-note { text-align: center; color: var(--text-dim); font-size: 14px; margin-top: 26px; }
.pricing-note a { color: var(--primary-400); font-weight: 700; }

/* ----------------------------------------------------------------
   8. Article / long-form body
   ---------------------------------------------------------------- */
.article { max-width: 820px; margin: 0 auto; }
.article h2 { font-size: 24px; font-weight: 800; margin: 42px 0 14px; padding-top: 10px; }
.article h3 { font-size: 18px; font-weight: 700; margin: 26px 0 10px; color: var(--primary-400); }
.article p { color: var(--text); font-size: 16px; }
.article ul.bullets { margin: 14px 0 20px; }
.article ul.bullets li { position: relative; padding: 6px 0 6px 26px; color: var(--text); }
.article ul.bullets li::before { content: ""; position: absolute; left: 4px; top: 15px; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.article a.inline { color: var(--primary-400); font-weight: 600; border-bottom: 1px solid var(--primary-line); }
.article a.inline:hover { color: var(--primary); }

.callout {
  background: var(--primary-soft); border: 1px solid var(--primary-line);
  border-radius: var(--r-md); padding: 20px 22px; margin: 24px 0;
}
.callout strong { color: var(--primary-400); }

/* Who-How-Why */
.whw { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 26px 0; }
.whw-item { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.whw-item h4 { color: var(--primary-400); font-size: 15px; margin-bottom: 10px; letter-spacing: 0.04em; }
.whw-item p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: var(--r-md); margin-bottom: 12px; background: var(--surface-1); overflow: hidden; }
.faq summary { padding: 18px 22px; font-weight: 700; color: var(--text-hi); cursor: pointer; list-style: none; position: relative; padding-right: 50px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 16px; font-size: 22px; color: var(--primary-400); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--text-muted); font-size: 15px; }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-dim); padding: 18px 0; }
.crumbs a:hover { color: var(--primary-400); }
.crumbs span.sep { opacity: 0.5; }

/* Related links */
.related { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: var(--r-pill);
  background: var(--surface-2); border: 1px solid var(--line-strong); font-size: 14px; font-weight: 600; color: var(--text-muted); }
.chip:hover { border-color: var(--primary-line); color: var(--primary-400); background: var(--primary-soft); }

/* Notice bar (illegal service disclaimer) */
.notice-bar { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 20px; margin: 30px 0; color: var(--text-muted); font-size: 14px; display: flex; gap: 12px; align-items: flex-start; }
.notice-bar b { color: var(--text-hi); }

/* ----------------------------------------------------------------
   8b. Reviews
   ---------------------------------------------------------------- */
.stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; white-space: nowrap; }
.stars .off { color: rgba(255, 255, 255, 0.16); }
.agg-star { vertical-align: -1px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card {
  margin: 0; background: linear-gradient(180deg, var(--surface-2), var(--surface-1));
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
}
.review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.review-title { font-weight: 700; color: var(--text-hi); font-size: 15px; }
.review-card blockquote { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.75; flex: 1; }
.review-meta { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; font-size: 13px; }
.review-meta b { color: var(--text); }
.review-meta span { color: var(--text-dim); }

/* Long-tail topic links */
.longtail { background: var(--surface-1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.longtail h2 { font-size: 20px; margin-bottom: 8px; }
.longtail p { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; }

@media (max-width: 860px) { .review-grid { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------
   9. Footer
   ---------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); margin-top: 60px; }
.footer-cta { padding: 54px 0; text-align: center; border-bottom: 1px solid var(--line); }
.footer-cta h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; }
.footer-cta p { color: var(--text-muted); margin-top: 12px; }
.footer-cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 26px; }
.btn-tg { gap: 9px; }
.btn-tg svg { width: 18px; height: 18px; }

.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 54px 0; }
.footer-brand p { color: var(--text-dim); font-size: 14px; max-width: 34ch; margin-top: 14px; }
.footer-col h4 { font-size: 14px; color: var(--text-hi); margin-bottom: 14px; letter-spacing: 0.04em; }
.footer-col a { display: block; color: var(--text-muted); font-size: 14px; padding: 5px 0; }
.footer-col a:hover { color: var(--primary-400); }
.footer-info { color: var(--text-dim); font-size: 13.5px; line-height: 1.9; }
.footer-info b { color: var(--text-muted); }
.footer-info .tel { color: var(--primary-400); font-weight: 800; font-size: 16px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--text-dim); font-size: 13px; }

/* ----------------------------------------------------------------
   10. Floating call button (mobile) — animated, tap-to-call
   ---------------------------------------------------------------- */
.float-call {
  position: fixed; right: 18px; bottom: 20px; z-index: 940;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--grad-primary); color: #1a1206;
  display: none; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px -6px rgba(242, 118, 10, 0.6);
  animation: fc-bob 1.8s var(--ease) infinite;
}
.float-call svg { width: 28px; height: 28px; animation: fc-ring 1.8s ease-in-out infinite; }
.float-call::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--primary-400); animation: fc-pulse 1.8s ease-out infinite;
}
.float-call .fc-label {
  position: absolute; right: 72px; white-space: nowrap; background: var(--surface-2);
  border: 1px solid var(--primary-line); color: var(--text-hi); font-size: 13px; font-weight: 700;
  padding: 7px 13px; border-radius: var(--r-pill); box-shadow: var(--shadow-1);
}
@keyframes fc-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes fc-ring { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-14deg); } 30% { transform: rotate(14deg); } 45% { transform: rotate(-10deg); } 60% { transform: rotate(6deg); } 75% { transform: rotate(0); } }
@keyframes fc-pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .float-call, .float-call svg, .float-call::after { animation: none; }
}

/* ----------------------------------------------------------------
   11. Responsive
   ---------------------------------------------------------------- */
@media (max-width: 1080px) {
  .nav-menu { display: none; }
  .nav-toggle { display: block; }
}
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-tel { display: none; }
  .float-call { display: flex; }
  .grid-2, .grid-3, .grid-4, .pricing, .whw { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .hero-inner { padding: 64px 0 56px; }
  .footer-main { grid-template-columns: 1fr; gap: 30px; }
  .price-card.featured { transform: none; }
}
@media (max-width: 520px) {
  .hero-stats { gap: 18px; }
  .footer-cta-btns .btn { width: 100%; }
}
