/* =========================================
   애드썸 ADSOME — style.css
   ========================================= */

:root {
  --navy-900: #0a1220;
  --navy-800: #0f1b30;
  --navy-700: #16264200 ;
  --navy-700-solid: #16264a;
  --accent-700: #d9540a;
  --accent-600: #f2650f;
  --accent-500: #f5843d;
  --accent-100: #fdead9;
  --ink-900: #10131a;
  --ink-700: #3a4150;
  --ink-500: #6b7280;
  --ink-300: #9aa3b2;
  --line-200: #e6e9f0;
  --line-100: #f0f2f7;
  --bg-white: #ffffff;
  --bg-light: #f6f8fb;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(16, 19, 26, 0.06);
  --shadow-md: 0 12px 32px rgba(16, 19, 26, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 18, 32, 0.16);
  --container: 1160px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink-900);
  background: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: break-word;
}

img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }

.text-accent { color: var(--accent-600); }
.no-break { white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent-600);
  color: #fff;
  box-shadow: 0 8px 20px rgba(242, 101, 15, 0.28);
}
.btn--primary:hover { background: var(--accent-700); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(242,101,15,.35); }
.btn--ghost {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn--outline:hover { background: rgba(255,255,255,0.1); }
.btn--sm { padding: 10px 20px; font-size: 14px; }
.btn--lg { padding: 16px 34px; font-size: 16px; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(10, 18, 32, 0);
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
  padding: 20px 0;
}
.header.is-scrolled {
  background: rgba(10, 18, 32, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
  padding: 12px 0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-size: 22px;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}
.logo__accent { color: var(--accent-600); }
.logo--footer { color: #fff; }
.logo__en {
  margin-left: 6px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--accent-600);
  opacity: 0.7;
}

.nav__list {
  display: flex;
  gap: 36px;
}
.nav__list a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 17px;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav__list a:hover { color: #fff; }
.nav__list a.nav-highlight { color: var(--accent-500); }
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--accent-600);
  transition: width .2s ease;
}
.nav__list a:hover::after { width: 100%; }
.nav__list a.nav-highlight::after { background: #fff; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.header__cta-group { display: flex; align-items: center; gap: 10px; }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav__toggle span {
  width: 22px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-700-solid) 55%, #1c2e57 100%);
  padding: 140px 0 100px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 420px at 85% 15%, rgba(242, 101, 15, 0.24), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(217, 84, 10, 0.22), transparent 60%);
  pointer-events: none;
}
.hero__watermark {
  position: absolute;
  top: 50%;
  right: -4%;
  transform: translateY(-50%);
  z-index: 1;
  font-size: clamp(90px, 17vw, 280px);
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1;
  color: rgba(242, 101, 15, 0.04);
  -webkit-text-stroke: 1.5px rgba(242, 101, 15, 0.38);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.eyebrow {
  display: inline-block;
  color: var(--accent-600);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.eyebrow--light { color: var(--accent-600); }
.eyebrow__white { color: #fff; }
.eyebrow__dotted {
  color: var(--accent-600);
  padding-top: 9px;
  display: inline-block;
}
.eyebrow__dotted .dot-char {
  position: relative;
  display: inline-block;
}
.eyebrow__dotted .dot-char::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.hero__eyebrow-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}
.hero__eyebrow-row .eyebrow { margin-bottom: 0; }
@media (min-width: 861px) {
  .hero__eyebrow-row .eyebrow { font-size: 17px; }
}
.hero__eyebrow-brand {
  font-size: clamp(20px, 2.6vw, 30px);
  font-weight: 800;
  color: var(--accent-600);
  letter-spacing: 0.02em;
}

.hero__title {
  color: #fff;
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.3;
  margin-bottom: 22px;
}
.hero__desc {
  color: rgba(255,255,255,0.78);
  font-size: 17px;
  max-width: 620px;
  margin-bottom: 36px;
  text-wrap: balance;
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.16);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat strong { color: #fff; font-size: 30px; font-weight: 800; }
.stat span { color: rgba(255,255,255,0.6); font-size: 14px; }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 32px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 20px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  background: var(--accent-600);
  border-radius: 3px;
  transform: translateX(-50%);
  animation: scrollcue 1.6s infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 20px; }
}

/* ---------- Section shared ---------- */
section { padding: 110px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin: 14px 0 18px;
  color: var(--ink-900);
}
.section-desc { color: var(--ink-500); font-size: 16px; line-height: 1.7; text-wrap: balance; }
.section-desc + .section-desc { margin-top: 14px; }
.section-head--light h2 { color: #fff; }
.section-desc--light { color: rgba(255,255,255,0.68); }

/* ---------- About ---------- */
.about { background: var(--bg-white); }
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-100);
  color: var(--accent-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.value-card__icon svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 19px; margin-bottom: 10px; }
.value-card p { color: var(--ink-500); font-size: 15px; }

/* ---------- Services ---------- */
.services { background: var(--bg-light); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--accent-100);
  color: var(--accent-600);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { color: var(--ink-500); font-size: 15px; margin-bottom: 18px; }
.service-card__link { color: var(--accent-600); font-weight: 700; font-size: 14px; }

.service-card--cta {
  background: linear-gradient(150deg, var(--navy-900), #1c2e57);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: none;
}
.service-card--cta h3 { color: #fff; font-size: 21px; margin-bottom: 12px; }
.service-card--cta p { color: rgba(255,255,255,0.75); margin-bottom: 24px; }
.service-card--cta .btn { align-self: flex-start; }

/* ---------- Strengths ---------- */
.strengths {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700-solid));
  color: #fff;
}
.strength-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.strength-card {
  background: rgba(255,255,255,0.04);
  padding: 40px 32px;
  transition: background .25s ease;
}
.strength-card:hover { background: rgba(255,255,255,0.08); }
.strength-card__num {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent-600);
  border: 1px solid rgba(242,101,15,0.4);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 18px;
}
.strength-card h3 { font-size: 19px; margin-bottom: 10px; color: #fff; }
.strength-card p { color: rgba(255,255,255,0.68); font-size: 14.5px; }

/* ---------- Process ---------- */
.process { background: var(--bg-light); }
.process-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.process-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 30px 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.process-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.process-card__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-600);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 18px;
}
.process-card h3 { font-size: 17px; margin-bottom: 8px; }
.process-card p { color: var(--ink-500); font-size: 13.5px; line-height: 1.7; }

@media (max-width: 1024px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .process-grid { grid-template-columns: 1fr; }
}

/* ---------- Portfolio ---------- */
.portfolio { background: var(--bg-white); }
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-tab {
  background: var(--bg-light);
  border: 1px solid var(--line-200);
  color: var(--ink-700);
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  transition: all .2s ease;
}
.filter-tab:hover { border-color: var(--accent-500); color: var(--accent-600); }
.filter-tab.is-active { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.pf-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-200);
  transition: transform .25s ease, box-shadow .25s ease;
  opacity: 0;
  transform: scale(0.82) translateY(10px);
}
.pf-card:hover { transform: translateY(-6px) scale(1); box-shadow: var(--shadow-md); }
.pf-card.is-in {
  animation: pf-pop-in 480ms cubic-bezier(.22, 1.1, .36, 1) forwards;
}
@keyframes pf-pop-in {
  0%   { opacity: 0; transform: scale(0.8) translateY(14px); }
  62%  { opacity: 1; transform: scale(1.035) translateY(-2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .pf-card { opacity: 1; transform: none; }
  .pf-card.is-in { animation: none; }
}
.pf-card__thumb { aspect-ratio: 4 / 3; }
.pf-thumb--1 { background: linear-gradient(135deg,#f2650f,#0a1220); }
.pf-thumb--2 { background: linear-gradient(135deg,#f5843d,#16264a); }
.pf-thumb--3 { background: linear-gradient(135deg,#0a1220,#f2650f); }
.pf-thumb--4 { background: linear-gradient(135deg,#fdaa5c,#d9540a); }
.pf-thumb--5 { background: linear-gradient(135deg,#16264a,#f5843d); }
.pf-thumb--6 { background: linear-gradient(135deg,#0f1b30,#f2650f); }
.pf-thumb--7 { background: linear-gradient(135deg,#d9540a,#123a5e); }
.pf-thumb--8 { background: linear-gradient(135deg,#f2650f,#1c2e57); }
.pf-thumb--9 { background: linear-gradient(135deg,#fdaa5c,#0a1220); }
.pf-thumb--10 { background: linear-gradient(135deg,#123a5e,#f2650f); }
.pf-thumb--11 { background: linear-gradient(135deg,#f5843d,#0f1b30); }
.pf-thumb--12 { background: linear-gradient(135deg,#d9540a,#16264a); }
.pf-card__body { padding: 22px; }
.pf-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-600);
  background: var(--accent-100);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.pf-card__body h3 { font-size: 16px; margin-bottom: 8px; line-height: 1.4; }
.pf-card__body p { font-size: 13.5px; color: var(--ink-500); }
.pf-card.is-hidden { display: none; }

.pf-more-wrap { display: flex; justify-content: center; margin-top: 30px; }
.pf-more {
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  color: var(--navy-900);
  background: #fff;
  border: 1.5px solid var(--line-200);
  border-radius: 999px;
  padding: 13px 32px;
  transition: border-color .2s ease, color .2s ease, background .2s ease;
}
.pf-more:hover { border-color: var(--accent-500); color: var(--accent-600); }
.pf-more[hidden] { display: none; }

/* ---------- Contact ---------- */
.contact { background: var(--bg-light); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: start;
}
.contact-info {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700-solid));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
}
.contact-info__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.contact-info__item:last-of-type { border-bottom: none; }
.contact-info__label { font-size: 13px; color: rgba(255,255,255,0.55); }
.contact-info__item strong { font-size: 16px; font-weight: 700; }
.contact-info__item strong a { color: #fff; }
.contact-info__item strong a:hover { color: var(--accent-600); }
.contact-info__note { margin-top: 18px; font-size: 12.5px; color: rgba(255,255,255,0.4); }

.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-700);
  margin-bottom: 8px;
}
.form-field label span { color: var(--accent-600); }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14.5px;
  color: var(--ink-900);
  background: #fcfcfd;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 3px rgba(242,101,15,0.15);
  background: #fff;
}
.form-field textarea { resize: vertical; }

.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-700);
  cursor: pointer;
}
.checkbox input { width: 16px; height: 16px; accent-color: var(--accent-600); }
.checkbox--agree { margin: 0; font-size: 13.5px; }
.checkbox--agree span { color: var(--accent-600); }

.agree-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 6px 0 22px;
}
.privacy-link {
  font-size: 13px;
  color: var(--ink-500);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.privacy-link:hover { color: var(--accent-600); }

.form-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  min-height: 20px;
}
.form-status.is-success { color: var(--accent-600); }
.form-status.is-error { color: #e0433a; }

/* ---------- Success modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(10, 18, 32, 0.55);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  animation: modal-fade-in .22s ease forwards;
}
.modal-overlay[hidden] { display: none; }
@keyframes modal-fade-in { to { opacity: 1; } }

.modal-box {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 380px;
  width: 100%;
  padding: 40px 32px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(10px) scale(0.97);
  opacity: 0;
  animation: modal-pop-in .32s cubic-bezier(.22, 1.1, .36, 1) .05s forwards;
}
@keyframes modal-pop-in {
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent-100);
  color: var(--accent-600);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-icon svg { width: 28px; height: 28px; }

.modal-box h3 { font-size: 19px; margin: 0 0 8px; color: var(--ink-900); }
.modal-box p { font-size: 14.5px; color: var(--ink-500); margin: 0 0 26px; line-height: 1.6; }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 30px;
  height: 30px;
  border: none;
  background: none;
  color: var(--ink-300);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .15s ease, color .15s ease;
}
.modal-close:hover { background: var(--bg-light); color: var(--ink-700); }
.modal-close svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  .modal-overlay, .modal-box { animation: none; opacity: 1; transform: none; }
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding-top: 70px; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand p { margin: 18px 0 22px; font-size: 14px; line-height: 1.7; }
.footer__channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 22px;
}
.footer__channels a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
  transition: color .2s ease;
}
.footer__channels a:hover { color: var(--accent-500); }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 18px; }
.footer__col li { font-size: 14px; margin-bottom: 10px; }
.footer__col a:hover { color: #fff; }
.footer__biz-list li { margin-bottom: 14px; line-height: 1.6; }
.footer__biz-label { display: block; font-size: 12px; color: rgba(255,255,255,0.4); margin-bottom: 2px; }
.footer__bottom { padding: 22px 0 30px; }
.footer__bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.4);
}
.footer__policy-link { color: rgba(255,255,255,0.6); text-decoration: underline; text-underline-offset: 2px; }
.footer__policy-link:hover { color: #fff; }

/* ---------- Policy page (privacy.html) ---------- */
.policy-header {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-700-solid));
  padding: 160px 0 60px;
  color: #fff;
}
.policy-header h1 { font-size: clamp(26px, 3.4vw, 36px); margin-top: 12px; }
.policy-header p { color: rgba(255,255,255,0.65); margin-top: 12px; font-size: 14px; }
.policy-body { padding: 70px 0 100px; }
.policy-content { max-width: 760px; margin: 0 auto; }
.policy-content section { padding: 0; margin-bottom: 40px; }
.policy-content h2 { font-size: 19px; margin-bottom: 14px; color: var(--ink-900); }
.policy-content h3 { font-size: 16.5px; margin: 32px 0 10px; color: var(--ink-900); font-weight: 700; }
.policy-content h3:first-child { margin-top: 0; }
.policy-content p, .policy-content li { color: var(--ink-700); font-size: 14.5px; line-height: 1.8; }
.policy-content p { margin-bottom: 18px; }
.policy-content p:last-child { margin-bottom: 0; }
.policy-content ul { list-style: disc; padding-left: 20px; margin-bottom: 18px; }
.policy-content li { margin-bottom: 6px; }
/* 자주 묻는 질문 (AEO — AI 답변 추출용 Q&A) */
.report-faq {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 2px solid var(--line-200);
}
.report-faq__title { font-size: 21px; color: var(--ink-900); margin-bottom: 20px; }
.report-faq__item {
  padding: 18px 20px;
  margin-bottom: 12px;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  background: var(--bg-light, #f6f8fb);
}
.report-faq__item:last-child { margin-bottom: 0; }
.report-faq__q {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 8px;
  padding-left: 22px;
  position: relative;
}
.report-faq__q::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-600);
  font-weight: 800;
}
.report-faq__a {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--ink-700);
  padding-left: 22px;
  position: relative;
}
.report-faq__a::before {
  content: "A";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ink-300);
  font-weight: 800;
}

/* "이 주제, 다른 채널에서도 보기" — 홈페이지 리포트에서 티스토리/네이버 글로 상호 링크 */
.report-related {
  margin-top: 40px;
  padding: 18px 22px;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-md);
  background: var(--bg-light, #f6f8fb);
}
.report-related__label { font-size: 13px; font-weight: 700; color: var(--ink-500); margin-bottom: 10px; }
.report-related ul { display: flex; flex-direction: column; gap: 8px; }
.report-related a { font-size: 14.5px; font-weight: 600; color: var(--accent-600); }
.report-related a:hover { text-decoration: underline; }
.report-related a::after { content: " ↗"; font-size: 12px; color: var(--ink-300); }

/* Publisher signature pinned to the end of every 마케팅 리포트 detail page */
.report-signature {
  margin-top: 48px;
  padding: 24px 26px;
  border: 1px solid var(--line-200);
  border-left: 3px solid var(--accent-600);
  border-radius: var(--radius-md);
  background: var(--ink-50, #f8f9fb);
}
.report-signature p { margin-bottom: 12px; font-size: 14px; line-height: 1.75; }
.report-signature p:last-child { margin-bottom: 0; }
.report-signature__by { color: var(--ink-700); }
.report-signature__by strong { color: var(--navy-900); }
.report-signature__contact { color: var(--ink-500); font-size: 13.5px; }
.report-signature__contact a { color: var(--accent-600); font-weight: 600; }
.report-signature__contact a:hover { text-decoration: underline; }
.report-signature__copyright {
  color: var(--ink-500);
  font-size: 12.5px;
  padding-top: 12px;
  border-top: 1px solid var(--line-200);
}
@media (max-width: 480px) {
  .report-signature { padding: 20px; margin-top: 36px; }
  .report-signature p { font-size: 13.5px; }
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.policy-table th, .policy-table td {
  border: 1px solid var(--line-200);
  padding: 12px 14px;
  text-align: left;
  color: var(--ink-700);
}
.policy-table th { background: var(--bg-light); font-weight: 700; }
.policy-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.75);
  font-size: 14px;
  font-weight: 600;
}
.policy-back:hover { color: #fff; }
.policy-header__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.policy-header__top .eyebrow { margin: 0; }
.policy-header__divider {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.35);
}

/* ---------- Reports (board) ---------- */
.nav__list a.is-active { color: var(--accent-500); }
.reports-body { padding: 70px 0 100px; background: var(--bg-white); }
@media (min-width: 861px) {
  #reportFilterTabs.filter-tabs { row-gap: 12px; }
  #reportFilterTabs .filter-tab {
    flex: 0 0 calc((100% - 40px) / 5);
    text-align: center;
  }
}
.report-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 8px;
}
.report-card {
  display: block;
  background: #fff;
  border: 1px solid var(--line-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.report-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.report-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 12.5px;
  color: var(--ink-500);
}
.report-card__cat {
  color: var(--accent-600);
  background: var(--accent-100);
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}
.report-card h3 { font-size: 18px; margin-bottom: 10px; line-height: 1.4; color: var(--ink-900); }
.report-card p { color: var(--ink-500); font-size: 14px; line-height: 1.7; }
.report-card__tags { margin-top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.report-card__tag { font-size: 12px; color: var(--ink-500); background: var(--bg-light); padding: 3px 9px; border-radius: 999px; }
.report-card.is-hidden { display: none; }
.report-empty { grid-column: 1 / -1; text-align: center; color: var(--ink-500); padding: 60px 0; }

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

/* ---------- Floating CTA / Scroll top ---------- */
.floating-actions {
  position: fixed;
  right: 28px; bottom: 28px;
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 10px;
}
.floating-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
  background: var(--accent-600);
  color: #fff;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 28px rgba(242,101,15,0.4);
  transition: transform .2s ease, box-shadow .2s ease;
}
.floating-cta:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(242,101,15,0.48); }
.floating-cta svg { width: 18px; height: 18px; }
.floating-cta svg.icon-call { width: 22px; height: 22px; }

.floating-kakao {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
  background: #fee500;
  color: #391b1b;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.floating-kakao:hover { transform: translateY(-3px); }
.floating-kakao svg { width: 20px; height: 20px; flex-shrink: 0; }

.scroll-top {
  position: fixed;
  right: 28px; bottom: 92px;
  z-index: 400;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-200);
  background: #fff;
  color: var(--ink-700);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all .25s ease;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top svg { width: 18px; height: 18px; }

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

/* Hero eyebrow brand: rises up after the eyebrow text finishes typing */
.hero__eyebrow-brand.reveal { transition-delay: 1.7s; }

/* Hero title: emerges from the center of the screen instead of sliding up */
.hero__title.reveal {
  transform: scale(0.9);
  transform-origin: center;
  transition: opacity .9s ease, transform .9s cubic-bezier(.16, .84, .44, 1);
  transition-delay: 2.18s;
}
.hero__title.reveal.is-visible { transform: scale(1); }

/* Hero eyebrow / description: typewriter-style character reveal */
/* Snappy per-keystroke pop so the jamo build (ㄷ→드) reads as crisp keyboard taps,
   not a slow left-to-right fade. Opacity hits full before the next stroke (45ms). */
.type-char { display: inline-block; white-space: pre; opacity: 0; transform: translateY(2px) scale(.85); animation: heroTypeIn .09s cubic-bezier(.2,.7,.3,1.4) forwards; }
@keyframes heroTypeIn {
  0%   { opacity: 0; transform: translateY(2px) scale(.85); }
  40%  { opacity: 1; }
  60%  { transform: translateY(0) scale(1.1); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Blinking typewriter caret that trails the typed text (empty char spans are zero-width,
   so it naturally sits just after the last typed stroke). */
.type-caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  margin-left: 3px;
  background: #fff; /* JS가 타이핑 구간 색(흰색/주황)으로 바꿈 */
  vertical-align: -0.15em;
  border-radius: 1px;
  transition: background .15s ease;
  animation: typeCaretBlink .85s steps(1, end) infinite;
}
@keyframes typeCaretBlink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
.type-caret--end { animation: none; opacity: 0; transition: opacity .45s ease; }

@media (prefers-reduced-motion: reduce) {
  .type-char { animation: none; opacity: 1; transform: none; }
  .type-caret { display: none; }
}

.only-desktop { display: inline; }
.only-mobile { display: none; }
@media (max-width: 720px) {
  .only-desktop { display: none; }
  .only-mobile { display: inline; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .value-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .strength-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); top: 0; height: 100vh;
    background: var(--navy-900); padding: 100px 32px 32px; transform: translateX(100%);
    transition: transform .3s ease; z-index: 450; }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 26px; }
  .nav__list a { font-size: 18px; }
  .nav__toggle { display: flex; }
  .header__cta-group { display: none; }
}

@media (max-width: 720px) {
  section { padding: 76px 0; }
  .hero { padding-top: 120px; }
  .hero__watermark { display: none; }
  .value-grid, .service-grid, .strength-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__stats { gap: 28px; }
  .contact-info, .contact-form { padding: 28px; }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pf-card__body { padding: 12px 12px 14px; }
  .pf-tag { font-size: 10.5px; padding: 3px 8px; margin-bottom: 8px; }
  .pf-card__body h3 { font-size: 13.5px; margin-bottom: 4px; }
  .pf-card__body p { font-size: 11.5px; line-height: 1.45; }
  .pf-more { font-size: 14px; padding: 12px 26px; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .floating-cta span { display: none; }
  .floating-cta { padding: 14px; }
  .floating-kakao span { display: none; }
  .floating-kakao { padding: 14px; }
}
