/* ===== Design tokens - Cobalt Glass (샤워부스파티션 8FUN) ===== */
:root {
  --ink:          #14181F;
  --ink-mid:      #1B212B;
  --ink-soft:     #5A6472;
  --accent:       #2F4FB0;
  --accent-deep:  #23408F;
  --accent-light: #9FB4E8;
  --paper:        #F1EEE4;
  --paper-mid:    #E4DFCF;
  --paper-dark:   #D2CAB0;
  --white:        #FAF9F4;
  --border:       #D6CFBB;
  --text-on-light: #14181F;
  --text-on-dark:  #FAF9F4;

  --f-sans: 'Pretendard', 'Noto Sans KR', sans-serif;

  --fs-display: clamp(3rem, 7.4vw, 5.8rem);
  --fs-h1:      clamp(2.3rem, 4.6vw, 3.8rem);
  --fs-h2:      clamp(1.6rem, 2.8vw, 2.3rem);
  --fs-h3:      clamp(1.05rem, 1.7vw, 1.3rem);
  --fs-body:    clamp(0.92rem, 1.3vw, 1rem);
  --fs-small:   0.83rem;
  --fs-label:   0.75rem;

  --sp:    clamp(64px, 8vw, 112px);
  --sp-sm: clamp(40px, 5vw, 72px);
  --max-w: 1180px;
  --col:   clamp(16px, 4vw, 48px);

  --t:      0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 480px) {
  :root {
    --fs-display: clamp(2.4rem, 11vw, 3.2rem);
    --fs-h1: clamp(1.9rem, 8vw, 2.4rem);
    --fs-h2: clamp(1.35rem, 5vw, 1.7rem);
  }
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 0;
}
body, p, h1, h2, h3, h4, h5, h6, li, td, th, a, span, div, button {
  word-break: keep-all;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
h1, h2 { font-family: var(--f-sans); font-weight: 900; letter-spacing: -0.025em; color: var(--ink); }
h3, h4 { font-family: var(--f-sans); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
table { border-collapse: collapse; width: 100%; }
.wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--col); }
.table-scroll { overflow-x: auto; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; background: var(--accent); z-index: 9999; }

/* ===== Header/Nav ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--paper); border-bottom: 1px solid var(--border); transition: border-color var(--t); }
.site-header.scrolled { border-bottom-color: var(--ink); }
.nav-inner { display: flex; align-items: center; padding: 14px var(--col); max-width: calc(var(--max-w) + var(--col)*2); margin: 0 auto; gap: 32px; }
.site-logo { display: flex; flex-direction: column; }
.logo-text { font-family: var(--f-sans); font-size: 1.15rem; font-weight: 900; letter-spacing: -0.01em; }
.logo-sub { font-size: 0.66rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0.02em; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav a { font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); padding: 8px 12px; transition: color var(--t); }
.main-nav a:not(.nav-cta) { border-bottom: 2px solid transparent; }
.main-nav .nav-cta { margin-left: 8px; background: var(--ink); color: var(--white); padding: 10px 20px; font-weight: 700; font-size: 0.85rem; transition: background var(--t); }
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 32px; height: 32px; margin-left: auto; }
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--ink); transition: transform var(--t), opacity var(--t); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (hover: hover) and (pointer: fine) {
  .main-nav a:not(.nav-cta):hover { color: var(--ink); border-bottom-color: var(--accent); }
  .main-nav .nav-cta:hover { background: var(--accent-deep); }
  .btn-primary:hover { background: var(--accent); }
  .btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
  .btn-outline-dark:hover { background: var(--paper); color: var(--ink); }
  .btn-accent:hover { background: var(--accent-deep); }
  .card:hover { border-color: var(--ink); }
  .card:hover .card-img img { transform: scale(1.04); }
  .row-item:hover { background: var(--paper-mid); }
  .row-item:hover .row-item-title { color: var(--accent); }
  .floating-consult:hover { background: var(--accent-deep); transform: translateY(-2px); }
  .faq-summary:hover { color: var(--accent); }
  .footer-nav a:hover { color: var(--paper); }
  .feature-strip-item:hover { background: rgba(255,255,255,0.06); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: -100%; width: min(280px, 85vw); height: 100dvh;
    background: var(--paper); flex-direction: column; align-items: flex-start;
    padding: 80px 24px 32px; border-left: 1px solid var(--border);
    transition: right 0.35s cubic-bezier(0.22,1,0.36,1); z-index: 1002;
  }
  .main-nav.open { right: 0; }
  .main-nav a { width: 100%; padding: 14px 4px; }
  body.nav-open { overflow: hidden; }
}

/* ===== Label tag ===== */
.label-tag { display: inline-block; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); padding-left: 20px; position: relative; }
.label-tag::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 12px; height: 2px; background: var(--accent); }
.label-tag--light { color: var(--accent-light); }
.label-tag--light::before { background: var(--accent-light); }

/* ===== Hero - full-bleed photo, large sans display type, bottom scrim only ===== */
.hero-full { position: relative; min-height: 100dvh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: 56px; overflow: hidden; background: var(--ink); }
.hero-full-media { position: absolute; inset: 0; }
.hero-full-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: hero-crossfade 12s ease-in-out infinite; }
.hero-full-media img:nth-child(1) { animation-delay: 0s; }
.hero-full-media img:nth-child(2) { animation-delay: 4s; }
.hero-full-media img:nth-child(3) { animation-delay: 8s; }
@keyframes hero-crossfade {
  0%, 100% { opacity: 0; }
  3%, 30% { opacity: 1; }
  33% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-full-media img { animation: none; opacity: 0; }
  .hero-full-media img:nth-child(1) { opacity: 1; }
}
.hero-full-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 58%; background: linear-gradient(to top, rgba(20,24,31,0.94) 0%, rgba(20,24,31,0.62) 55%, transparent 100%); pointer-events: none; }
.hero-full-content { position: relative; z-index: 2; padding-bottom: 56px; }
.hero-full-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.hero-full-eyebrow-line { width: 40px; height: 1px; background: var(--accent-light); }
.hero-full-eyebrow-text { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-light); }
.hero-full h1 { color: var(--white); font-size: var(--fs-display); line-height: 1.08; margin-bottom: 22px; }
.hero-full-sub { font-size: 1rem; font-weight: 400; color: rgba(250,249,244,0.78); line-height: 1.8; max-width: 460px; margin-bottom: 32px; }
.hero-full-meta { position: relative; z-index: 2; display: flex; gap: 28px; padding: 24px 0 40px; border-top: 1px solid rgba(250,249,244,0.16); flex-wrap: wrap; }
.hero-full-meta-num { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 4px; }
.hero-full-meta-val { font-size: 0.88rem; font-weight: 600; color: var(--white); }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-sub { font-size: 0.95rem; font-weight: 400; color: var(--ink-soft); line-height: 1.8; max-width: 440px; }

/* ===== Sub-hero (detail/guide pages) ===== */
.sub-hero { min-height: 44vh; position: relative; display: flex; align-items: flex-end; padding-bottom: 48px; padding-top: 56px; overflow: hidden; background: var(--ink); }
.sub-hero-img { position: absolute; inset: 0; }
.sub-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.sub-hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,24,31,0.94) 0%, rgba(20,24,31,0.5) 55%, rgba(20,24,31,0.15) 100%); }
.sub-hero-content { position: relative; z-index: 2; max-width: calc(var(--max-w) + var(--col)*2); margin: 0 auto; padding: 0 var(--col); }
.sub-hero h1 { color: var(--white); font-size: var(--fs-h1); }
.sub-hero p { color: rgba(250,249,244,0.72); font-size: 1rem; margin-top: 12px; max-width: 520px; font-weight: 400; }
.sub-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 768px) { .sub-hero { min-height: 36vh; } .sub-hero h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); } }

/* AEO/GEO 텍스트 히어로(이미지 없음) */
.text-hero { background: var(--ink); padding: 120px 0 56px; }
.text-hero h1 { color: var(--white); font-size: var(--fs-h1); }
.text-hero p { color: rgba(250,249,244,0.72); margin-top: 14px; max-width: 560px; font-weight: 400; }

/* ===== Breadcrumb ===== */
.breadcrumb { background: var(--paper-mid); border-bottom: 1px solid var(--border); padding: 10px 0; font-size: 0.8rem; }
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: var(--ink-soft); }

/* ===== Buttons ===== */
.btn-primary { display: inline-block; background: var(--ink); color: var(--paper); padding: 14px 26px; font-size: 0.9rem; font-weight: 700; transition: background var(--t); }
.btn-ghost { display: inline-block; color: var(--ink-soft); font-size: 0.85rem; font-weight: 500; border-bottom: 1px solid var(--border); padding-bottom: 2px; transition: color var(--t), border-color var(--t); }
.btn-outline-dark { display: inline-block; border: 1.5px solid var(--paper); color: var(--paper); padding: 12px 22px; font-size: 0.88rem; font-weight: 600; transition: background var(--t), color var(--t); }
.btn-accent { display: inline-block; background: var(--accent); color: var(--white); padding: 14px 26px; font-size: 0.9rem; font-weight: 700; transition: background var(--t); }

/* ===== Grid card system (border grid, radius 0) ===== */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
.grid3 { display: grid; grid-template-columns: repeat(3,1fr); border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px,1fr)); border-left: 1px solid var(--border); border-top: 1px solid var(--border); }
.grid2 > *, .grid3 > *, .grid-auto > * { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (max-width: 768px) { .grid2, .grid3 { grid-template-columns: 1fr; } }

.card { background: var(--white); transition: border-color var(--t); overflow: hidden; }
.card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; border-bottom: 1px solid var(--border); }
.card-img img { transition: transform 0.5s var(--t-slow); }
.card-body { padding: 20px 24px 24px; }
.card-num { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 8px; display: block; }
.card-title { font-family: var(--f-sans); font-size: 0.95rem; font-weight: 800; margin-bottom: 6px; }
.card-desc { font-size: 0.82rem; color: var(--ink-soft); line-height: 1.6; }

/* Before/After 정적 배치 */
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--border); border: 1px solid var(--border); }
.ba-item { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--white); }
.ba-item img { width: 100%; height: 100%; object-fit: cover; }
.ba-label { position: absolute; bottom: 8px; left: 8px; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; padding: 3px 10px; text-transform: uppercase; }
.ba-label.before { background: var(--ink); color: var(--paper); }
.ba-label.after { background: var(--accent); color: #fff; }

/* ===== Featured case gallery (asymmetric - homepage) ===== */
.case-gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2px; background: var(--border); border: 1px solid var(--border); }
.case-gallery-side { display: grid; grid-template-rows: repeat(5, 1fr); gap: 2px; }
.case-feature, .case-mini { position: relative; background: var(--white); overflow: hidden; display: block; }
.case-feature { min-height: 420px; }
.case-feature img, .case-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--t-slow); }
.case-mini { min-height: 138px; }
.case-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 18px 20px; background: linear-gradient(to top, rgba(20,24,31,0.88), transparent); }
.case-cap-mini { padding: 12px 14px; }
.case-cap .card-num { color: var(--accent-light); }
.case-cap-title { font-weight: 800; color: var(--white); font-size: 1.05rem; }
.case-cap-mini .case-cap-title { font-size: 0.85rem; }
@media (hover: hover) and (pointer: fine) {
  .case-feature:hover img, .case-mini:hover img { transform: scale(1.05); }
}
@media (max-width: 900px) {
  .case-gallery { grid-template-columns: 1fr; }
  .case-gallery-side { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; }
  .case-feature { min-height: 320px; }
  .case-mini { min-height: 180px; }
}
@media (max-width: 560px) { .case-gallery-side { grid-template-columns: 1fr; } }

/* ===== Services - editorial row list (dark) ===== */
.services-section { background: var(--ink); padding: var(--sp) 0; }
.services-head { display: flex; justify-content: space-between; align-items: flex-end; padding: 0 0 40px; flex-wrap: wrap; gap: 16px; }
.services-head h2 { color: var(--white); margin-top: 10px; }
.row-list { border-top: 1px solid rgba(250,249,244,0.14); }
.row-item { display: grid; grid-template-columns: 90px 1fr 2fr; gap: 24px; align-items: center; padding: 28px 4px; border-bottom: 1px solid rgba(250,249,244,0.14); transition: background var(--t); }
.row-item-num { font-family: var(--f-sans); font-size: 1.6rem; font-weight: 800; color: var(--accent-light); font-variant-numeric: tabular-nums; }
.row-item-title { font-size: 1.05rem; font-weight: 800; color: var(--white); transition: color var(--t); }
.row-item-desc { font-size: 0.85rem; color: rgba(250,249,244,0.56); line-height: 1.7; }
@media (max-width: 768px) {
  .row-item { grid-template-columns: 48px 1fr; }
  .row-item-desc { grid-column: 2 / 3; }
}

/* ===== Features strip ===== */
.feature-strip { background: var(--accent); }
.feature-strip-inner { display: grid; grid-template-columns: repeat(4,1fr); border-left: 1px solid rgba(250,249,244,0.16); }
.feature-strip-item { padding: 32px 24px; border-right: 1px solid rgba(250,249,244,0.16); display: flex; flex-direction: column; gap: 8px; transition: background var(--t); }
.feature-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(250,249,244,0.7); }
.feature-value { font-size: 1rem; font-weight: 900; color: var(--white); }
@media (max-width: 1024px) { .feature-strip-inner { grid-template-columns: repeat(2,1fr); } }

/* ===== Process - vertical editorial stepper ===== */
.process-section { background: var(--paper); padding: var(--sp) 0; }
.proc-list { display: flex; flex-direction: column; margin: 40px 0 0; padding: 0; max-width: 640px; }
.proc-step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 40px; padding-left: 4px; }
.proc-step:not(:last-child)::before { content: ''; position: absolute; left: 27px; top: 52px; bottom: -4px; width: 1px; background: var(--border); }
.proc-num { position: relative; z-index: 1; width: 54px; height: 54px; border: 1px solid var(--ink); background: var(--paper); color: var(--ink); display: flex; align-items: center; justify-content: center; font-family: var(--f-sans); font-weight: 800; font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.proc-step h4 { font-size: 1rem; margin-bottom: 6px; padding-top: 10px; }
.proc-step p { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 600px) {
  .proc-step { grid-template-columns: 44px 1fr; padding-bottom: 28px; }
  .proc-num { width: 44px; height: 44px; font-size: 1rem; }
  .proc-step:not(:last-child)::before { left: 21px; top: 44px; }
}

/* ===== Editorial pull-quote ===== */
.pull-quote { border-top: 3px solid var(--ink); border-bottom: 3px solid var(--ink); padding: 40px 0; }
.pull-quote p { font-family: var(--f-sans); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.5; color: var(--ink); max-width: 820px; }
.pull-quote-cite { display: block; margin-top: 20px; font-family: var(--f-sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

/* ===== CTA section ===== */
.cta-section { background: var(--ink-mid); padding: var(--sp) 0; }
.cta-inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.cta-section h2 { color: var(--white); margin-bottom: 14px; font-size: clamp(1.7rem,4vw,2.6rem); }
.cta-desc { font-size: 0.95rem; color: rgba(250,249,244,0.6); font-weight: 400; max-width: 460px; line-height: 1.8; }
.cta-badges { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.cta-badge { font-size: 0.78rem; color: rgba(250,249,244,0.52); display: flex; gap: 8px; }
.cta-badge::before { content: '-'; color: var(--accent-light); }
@media (max-width: 1024px) { .cta-inner { grid-template-columns: 1fr; } }

/* ===== FAQ (details/summary) - numbered editorial ===== */
.faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 56px; align-items: start; }
.faq-item { border-bottom: 1px solid var(--border); counter-increment: faq; }
.faq-list { counter-reset: faq; }
.faq-summary { display: flex; align-items: flex-start; gap: 16px; padding: 18px 0; font-size: 0.95rem; font-weight: 700; cursor: pointer; list-style: none; transition: color var(--t); }
.faq-summary::before { content: counter(faq, decimal-leading-zero); font-family: var(--f-sans); font-weight: 800; color: var(--accent); flex-shrink: 0; font-variant-numeric: tabular-nums; }
.faq-summary::-webkit-details-marker { display: none; }
.faq-answer { padding: 0 0 20px 40px; }
.faq-answer p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.75; }
@media (max-width: 768px) { .faq-layout { grid-template-columns: 1fr; gap: 24px; } }

/* ===== Info card badges (모바일 세로 스택) ===== */
.card-badges { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 768px) { .card-badges { flex-direction: column; align-items: flex-start; gap: 6px; } }
.badge { font-size: 0.72rem; font-weight: 700; padding: 4px 10px; background: var(--paper-mid); color: var(--ink-soft); border: 1px solid var(--border); }

/* ===== Deepdive stack (AEO 더알아보기) ===== */
.deepdive-stack { display: flex; flex-direction: column; gap: 2px; background: var(--border); border: 1px solid var(--border); }
.deepdive-item { display: flex; gap: 20px; padding: 24px; background: var(--white); }
.deepdive-num { flex-shrink: 0; font-family: var(--f-sans); font-size: 1rem; font-weight: 700; color: var(--accent); padding-top: 2px; }
.deepdive-item p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.8; }
@media (max-width: 600px) { .deepdive-item { flex-direction: column; gap: 8px; } }

/* ===== Timeline (AEO) ===== */
.timeline { border-left: 2px solid var(--border); padding-left: 24px; display: flex; flex-direction: column; gap: 28px; }
.timeline-item { position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -29px; top: 4px; width: 10px; height: 10px; background: var(--accent); }
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p { font-size: 0.88rem; color: var(--ink-soft); line-height: 1.7; }

/* ===== Checklist (AEO) ===== */
.checklist { display: flex; flex-direction: column; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; padding: 12px 16px; background: var(--white); border: 1px solid var(--border); }
.checklist li::before { content: '✓'; color: var(--accent); font-weight: 800; flex-shrink: 0; }

/* ===== Stat blocks ===== */
.stat3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; text-align: center; }
.stat3 .stat-num { font-family: var(--f-sans); font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 900; color: var(--accent); }
.stat3 .stat-label { font-size: 0.8rem; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 600px) { .stat3 { grid-template-columns: 1fr; gap: 16px; } }

/* ===== Compare table ===== */
.compare-table th, .compare-table td { padding: 12px 16px; border: 1px solid var(--border); font-size: 0.85rem; text-align: left; }
.compare-table th { background: var(--paper-mid); font-weight: 700; }

/* ===== nseo related grid ===== */
.nseo-section { background: var(--paper-mid); padding: var(--sp) 0; border-top: 1px solid var(--border); }

/* ===== Footer ===== */
.sticky-cta { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1001; box-shadow: 0 -2px 12px rgba(0,0,0,0.15); }
.sticky-cta a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px 8px; min-height: 54px; font-weight: 700; font-size: 0.9rem; }
.sticky-tel { background: var(--ink); color: var(--paper); }
.sticky-sms { background: var(--accent); color: var(--white); }
@media (max-width: 768px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 64px; }
}

.site-footer { background: #0E1116; color: rgba(250,249,244,0.55); padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-biz p, .footer-nav li { font-size: 0.82rem; line-height: 1.9; }
.footer-biz h4, .footer-nav h4 { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 14px; }
.footer-nav a { transition: color var(--t); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; display: flex; justify-content: space-between; font-size: 0.75rem; flex-wrap: wrap; gap: 8px; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; } }

.floating-btns { position: fixed; bottom: 28px; right: 24px; z-index: 999; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; transition: bottom 0.25s ease; }
body.sticky-active .floating-btns { bottom: 78px; }
.floating-consult { display: flex; align-items: center; gap: 10px; background: var(--accent); color: var(--white); padding: 12px 18px; font-size: 0.85rem; font-weight: 700; box-shadow: 0 4px 20px rgba(47,79,176,0.35); position: relative; transition: background var(--t), transform var(--t); }
.pulse-ring { position: absolute; inset: -3px; border: 1.5px solid rgba(47,79,176,0.4); animation: pulse-ring 3s infinite; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.8; } 70%, 100% { transform: scale(1.06); opacity: 0; } }
.floating-top { display: none; width: 40px; height: 40px; background: var(--ink); color: var(--paper); align-items: center; justify-content: center; }
.floating-top.visible { display: flex; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--t-slow), transform 0.7s var(--t-slow); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ===== 의미단위 줄바꿈 토글 ===== */
.br-mobile { display: none; }
.br-desktop { display: inline; }
@media (max-width: 768px) { .br-desktop { display: none; } .br-mobile { display: inline; } }

/* ===== Content section spacing ===== */
.section { padding: var(--sp) 0; }
.section-sm { padding: var(--sp-sm) 0; }
.section-head { margin-bottom: 40px; }
.section-head h2 { margin-top: 10px; }
.prose { max-width: 760px; }
.prose p { margin-bottom: 16px; color: var(--ink-soft); }
