/* ═══ AYS — As You Said · 디자인 시스템 (크라우니 프리미엄 표준) ═══ */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.css');

:root {
  --gold: #C9A961;
  --gold-soft: #E0C988;
  --ink: #14110d;
  --ink-2: #2a241c;
  --paper: #faf8f4;
  --paper-2: #f1ece3;
  --line: #e4ddd0;
  --muted: #7a7062;
  --text: #2a241c;
  --shadow: 0 8px 30px rgba(20,17,13,.08);
  --shadow-lg: 0 20px 60px rgba(20,17,13,.16);
  --radius: 16px;
  --maxw: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.section-tag {
  display: inline-block; font-size: 13px; letter-spacing: .18em; font-weight: 700;
  color: var(--gold); text-transform: uppercase; margin-bottom: 14px;
}
.section-title { font-size: clamp(26px, 4vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.section-sub { color: var(--muted); font-size: 16px; margin-top: 12px; max-width: 640px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ── Nav ── */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,244,.86); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: baseline; gap: 9px; font-weight: 800; }
.logo .mark {
  font-size: 26px; letter-spacing: .04em; color: var(--ink);
  border: 2.5px solid var(--gold); padding: 2px 10px; border-radius: 9px; line-height: 1;
}
.logo .sub { font-size: 12px; color: var(--muted); letter-spacing: .12em; font-weight: 600; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--ink); color: #fff !important; padding: 10px 20px; border-radius: 100px;
  font-size: 14px; font-weight: 700;
}
.nav-cta:hover { background: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--ink); }

/* ── Hero ── */
.hero {
  position: relative; padding: 120px 0 110px; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(201,169,97,.18), transparent 60%),
    linear-gradient(160deg, #18140d 0%, #2a241c 55%, #1d1810 100%);
  color: #f6f1e6;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .14em;
  color: var(--gold-soft); font-weight: 700; border: 1px solid rgba(201,169,97,.4);
  padding: 7px 16px; border-radius: 100px; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(32px, 6vw, 60px); font-weight: 900; line-height: 1.15; letter-spacing: -.03em; }
.hero h1 .accent { color: var(--gold-soft); }
.hero p.lead { margin-top: 22px; font-size: clamp(16px, 2.2vw, 20px); color: #d8cfbf; max-width: 620px; }
.hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 16px;
  padding: 15px 28px; border-radius: 100px; cursor: pointer; border: 0; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(201,169,97,.4); }
.btn-ghost { background: rgba(255,255,255,.08); color: #f6f1e6; border: 1px solid rgba(246,241,230,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.hero-stats { margin-top: 52px; display: flex; gap: 44px; flex-wrap: wrap; }
.hero-stat .n { font-size: 30px; font-weight: 800; color: var(--gold-soft); }
.hero-stat .l { font-size: 13px; color: #b8ad9b; letter-spacing: .05em; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; height: auto; display: block; border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0,0,0,.38), 0 0 0 1px rgba(201,169,97,.25);
}
.hero-visual-cap {
  position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: #18140d; background: rgba(224,197,133,.94);
  padding: 8px 15px; border-radius: 100px; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; max-width: 440px; margin: 0 auto; }
}

/* ── 사업영역 ── */
.div-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.div-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden;
}
.div-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.div-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.div-image { width: 100%; aspect-ratio: 8/5; border-radius: 12px; background-size: cover; background-position: center; margin: -6px 0 18px; background-color: var(--line); }
.div-icon { font-size: 38px; margin-bottom: 14px; }
.div-card h3 { font-size: 22px; font-weight: 800; }
.div-card .tagline { color: var(--gold); font-weight: 600; font-size: 14px; margin: 6px 0 14px; }
.div-card .intro { color: var(--ink-2); font-size: 15px; }
.div-detail { margin-top: 18px; }
.div-detail h4 { font-size: 13px; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { background: var(--paper-2); color: var(--ink-2); font-size: 12.5px; padding: 5px 11px; border-radius: 100px; font-weight: 500; }
.bullets { list-style: none; margin-top: 6px; }
.bullets li { position: relative; padding-left: 20px; font-size: 14px; color: var(--ink-2); margin-bottom: 6px; }
.bullets li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 800; }

/* ── About / Values ── */
.about { background: var(--paper-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.slogan-box {
  background: var(--ink); color: #f6f1e6; border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow-lg);
}
.slogan-box .ays { font-size: 44px; font-weight: 900; color: var(--gold-soft); letter-spacing: .03em; }
.slogan-box .ko { font-size: 18px; font-weight: 700; margin: 4px 0 18px; }
.slogan-box p { color: #cfc6b5; font-size: 15px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.value { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.value .num { font-size: 13px; font-weight: 800; color: var(--gold); }
.value h4 { font-size: 18px; font-weight: 800; margin: 8px 0 8px; }
.value p { font-size: 14.5px; color: var(--ink-2); }

/* ── Process ── */
.process-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 44px; }
.pstep { text-align: center; position: relative; }
.pstep .circle {
  width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--gold-soft); font-weight: 800; font-size: 20px; border: 2px solid var(--gold);
}
.pstep h4 { font-size: 17px; font-weight: 800; }
.pstep p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }

/* ── Cases ── */
.case-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.filter-btn {
  background: #fff; border: 1px solid var(--line); color: var(--ink-2); padding: 9px 18px; border-radius: 100px;
  font-size: 14px; font-weight: 600; cursor: pointer; transition: all .18s;
}
.filter-btn.active, .filter-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.case-card:hover { transform: translateY(-4px); }
.case-thumb { height: 168px; background: linear-gradient(135deg, var(--paper-2), #d8d0c0); display: flex; align-items: center; justify-content: center; font-size: 46px; position: relative; }
.case-badge { position: absolute; top: 12px; left: 12px; background: rgba(20,17,13,.82); color: var(--gold-soft); font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 100px; }
.case-body { padding: 22px; }
.case-body h4 { font-size: 17px; font-weight: 800; line-height: 1.4; }
.case-meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); margin: 9px 0 12px; }
.case-meta span { display: inline-flex; align-items: center; gap: 4px; }
.case-body p { font-size: 14px; color: var(--ink-2); }

/* ── Reviews ── */
.reviews { background: var(--ink); color: #f0eadd; }
.reviews .section-title, .reviews .section-tag { color: #f6f1e6; }
.reviews .section-tag { color: var(--gold-soft); }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.review-card { background: rgba(255,255,255,.05); border: 1px solid rgba(246,241,230,.12); border-radius: var(--radius); padding: 26px; }
.stars { color: var(--gold-soft); font-size: 16px; letter-spacing: 2px; }
.review-card p { font-size: 14.5px; color: #ddd4c4; margin: 12px 0 16px; }
.review-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.review-foot .who { font-weight: 700; color: #f6f1e6; }
.review-foot .where { color: #a89e8c; }
.review-div { display: inline-block; font-size: 11px; color: var(--gold-soft); border: 1px solid rgba(201,169,97,.4); padding: 2px 9px; border-radius: 100px; margin-bottom: 12px; }
.review-actions { margin-top: 36px; text-align: center; }

/* ── Knowledge / Videos ── */
.know-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.know-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.know-card .cat { font-size: 12px; font-weight: 700; color: var(--gold); letter-spacing: .06em; }
.know-card h4 { font-size: 19px; font-weight: 800; margin: 8px 0 12px; }
.know-card p { font-size: 14.5px; color: var(--ink-2); }
.know-tip { margin-top: 14px; background: var(--paper-2); border-left: 3px solid var(--gold); padding: 12px 16px; border-radius: 8px; font-size: 13.5px; color: var(--ink); }
.know-tip b { color: var(--gold); }
.video-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.video-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.video-card:hover { transform: translateY(-3px); }
.video-thumb { height: 120px; background: linear-gradient(135deg, #2a241c, #4a3f2c); display: flex; align-items: center; justify-content: center; position: relative; }
.video-thumb .play { width: 48px; height: 48px; border-radius: 50%; background: rgba(201,169,97,.92); display: flex; align-items: center; justify-content: center; color: var(--ink); font-size: 18px; }
.video-card .vbody { padding: 16px 18px; }
.video-card .vtopic { font-size: 11.5px; color: var(--gold); font-weight: 700; }
.video-card h5 { font-size: 14.5px; font-weight: 700; margin-top: 4px; }
.video-note { text-align: center; font-size: 13px; color: var(--muted); margin-top: 20px; }

/* ── Partners ── */
.partners { background: var(--paper-2); }
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.partner-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.partner-card h4 { font-size: 17px; font-weight: 800; }
.partner-card .field { color: var(--gold); font-size: 13px; font-weight: 600; margin: 5px 0 12px; }
.partner-card p { font-size: 14px; color: var(--ink-2); }

/* ── FAQ ── */
.faq-list { margin-top: 36px; max-width: 820px; margin-left: auto; margin-right: auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-q { padding: 20px 24px; font-weight: 700; font-size: 16px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .ic { color: var(--gold); font-size: 20px; transition: transform .2s; flex-shrink: 0; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; padding: 0 24px; color: var(--ink-2); font-size: 14.5px; }
.faq-item.open .faq-a { max-height: 400px; padding: 0 24px 20px; }

/* ── 접수 폼 (CTA) ── */
.intake { background: linear-gradient(160deg, #18140d, #2a241c); color: #f6f1e6; }
.intake-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.intake-info h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; line-height: 1.25; }
.intake-info p { color: #cfc6b5; margin-top: 16px; font-size: 16px; }
.intake-contact { margin-top: 28px; }
.intake-contact a { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; color: var(--gold-soft); }
.intake-contact .biz { font-size: 13px; color: #a89e8c; margin-top: 8px; }
.intake-form { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-lg); }
.intake-form h3 { color: var(--ink); font-size: 20px; font-weight: 800; margin-bottom: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 16px;
  font-family: inherit; color: var(--ink); background: var(--paper); transition: border .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 80px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-msg { font-size: 14px; margin-top: 12px; padding: 12px; border-radius: 8px; display: none; }
.form-msg.ok { display: block; background: #eef7ed; color: #2c6e2c; border: 1px solid #bfe0bd; }
.form-msg.err { display: block; background: #fcebea; color: #b3261e; border: 1px solid #f3c2bf; }

/* ── Footer ── */
footer { background: #0f0c08; color: #b8ad9b; padding: 56px 0 36px; font-size: 14px; }
.foot-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-brand .mark { font-size: 24px; font-weight: 900; color: #f6f1e6; letter-spacing: .04em; }
.foot-brand .slogan { color: var(--gold-soft); font-size: 14px; margin-top: 6px; }
.foot-links { display: flex; gap: 40px; flex-wrap: wrap; }
.foot-col h5 { color: #f6f1e6; font-size: 14px; margin-bottom: 12px; }
.foot-col a { display: block; color: #9a9080; margin-bottom: 8px; font-size: 13.5px; }
.foot-col a:hover { color: var(--gold-soft); }
.foot-bottom { padding-top: 24px; font-size: 12.5px; color: #6f665a; line-height: 1.9; }
.foot-bottom .crowny { color: var(--gold-soft); }

/* ── 반응형 ── */
@media (max-width: 900px) {
  section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 20px 24px; gap: 18px;
  }
  .div-grid, .about-grid, .values, .case-grid, .review-grid, .know-grid, .video-row, .partner-grid, .intake-grid, .process-row, .field-row {
    grid-template-columns: 1fr;
  }
  .process-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .hero-stats { gap: 28px; }
  .foot-top { flex-direction: column; }
}
@media (max-width: 560px) {
  .case-grid, .review-grid, .video-row, .partner-grid { grid-template-columns: 1fr; }
  .process-row { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero-actions { flex-direction: column; }
}

/* ── 후기 모달 ── */
.ays-modal { position: fixed; inset: 0; background: rgba(20,17,13,.6); display: none; align-items: center; justify-content: center; z-index: 200; padding: 20px; }
.ays-modal.open { display: flex; }
.ays-modal-box { background: #fff; border-radius: var(--radius); padding: 34px; max-width: 520px; width: 100%; position: relative; box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto; }
.ays-modal-box h3 { font-size: 20px; font-weight: 800; margin-bottom: 18px; color: var(--ink); }
.ays-modal-close { position: absolute; top: 16px; right: 18px; background: none; border: 0; font-size: 22px; cursor: pointer; color: var(--muted); }

/* ── 크라우니 모노톤 아이콘 ── */
.cic, [data-cic] { display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; line-height: 0; }
.cic-svg { display: block; }
.btn [data-cic] { margin-right: 2px; }
.div-icon { color: var(--gold); }
.div-icon .cic-svg { width: 38px; height: 38px; stroke-width: 1.5; }
.case-thumb [data-cic], .case-thumb .cic-svg { width: 46px; height: 46px; color: var(--gold); opacity: .55; }
.video-thumb .play { color: var(--ink); }
.case-meta [data-cic] { color: var(--gold); }
.know-tip b [data-cic] { color: var(--gold); margin-right: 3px; }
.stars { display: inline-flex; gap: 1px; }
.stars .cic-svg { width: 16px; height: 16px; }

/* ── 사례 썸네일 커버 이미지 (실제 사진 들어오면 자동 교체) ── */
.case-thumb { background-size: cover; background-position: center; }
.case-thumb [data-cic], .case-thumb .cic-svg { display: none; }
