:root {
  --bg: #f6f6f6;
  --surface: #ffffff;
  --text: #111111;
  --muted: #4b5563;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --black: #111111;
  --blue: #1EA7FF;
  --blue-soft: #f3faff;
  --blue-text: #1378b8;
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 0; }
.brand span { display: none; }
.brand-logo { height: 25px; width: auto; display: block; }
.top-nav { display: flex; gap: 30px; font-size: 14px; font-weight: 900; }
.top-nav a { color: #111111; transition: opacity .18s ease; }
.top-nav a:hover { opacity: .62; }

/* =========================
   HERO / ACO FINAL
========================= */
.hero {
  padding: 34px 0 56px;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 560px;
  gap: 56px;
  align-items: center;
  background: #111111;
  color: #ffffff;
  border-radius: 32px;
  padding: 58px 56px;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
  overflow: hidden;
}
.hero-copy { min-width: 0; }
.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 13px;
  letter-spacing: .16em;
  font-weight: 900;
}
.eyebrow.dark { color: var(--blue); }
h1 {
  margin: 0;
  font-size: clamp(48px, 4.4vw, 60px);
  line-height: 1.08;
  letter-spacing: -.075em;
  font-weight: 900;
  color: #ffffff;
}
.hero-desc {
  max-width: 660px;
  margin: 26px 0 0;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.88;
  font-weight: 800;
}
.hero-hours {
  margin: 20px 0 0;
  color: #d7d7d7;
  font-size: 13px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.btn,
.btn-outline-hero,
.card-link,
.contact-btn {
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid #111111;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn-outline-hero {
  border-color: #ffffff;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
}
.btn:hover,
.btn-outline-hero:hover,
.card-link:hover,
.contact-card:hover .contact-btn {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
  transform: translateY(-1px);
}

/* ACO card size restored */
.ai-intro {
  position: relative;
  min-height: 392px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 295px;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  background: #ffffff;
  color: #111111;
  border: 1px solid #e1e5eb;
  border-radius: 28px;
  box-shadow: 0 18px 38px rgba(17,17,17,.14);
}
.ai-intro::before,
.ai-intro::after { display: none; }
.ai-intro-copy {
  padding: 36px 28px 34px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.ai-badge,
.tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 11px;
  border: 0;
  border-radius: 999px;
  background: var(--blue-soft);
  color: var(--blue-text);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}
.ai-intro h2 {
  margin: 16px 0 0;
  font-size: 31px;
  line-height: 1.15;
  letter-spacing: -.06em;
  color: #111111;
  font-weight: 900;
}
.ai-intro p {
  margin: 18px 0 0;
  color: #111111;
  line-height: 1.62;
  word-break: keep-all;
}
.aco-origin {
  max-width: 300px;
  font-size: 15px;
  font-weight: 900;
}
.aco-desc { display: none; }
.ai-card-btn {
  margin-top: 26px;
  width: 230px;
  min-height: 54px;
  background: #111111;
  color: #ffffff;
  border-color: #111111;
  box-shadow: 0 12px 24px rgba(17,17,17,.12);
}
.ai-card-btn:hover { background: #2a2a2a; color: #ffffff; }

.aco-visual {
  margin: 0;
  max-width: none;
  width: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  border-left: 0;
  background:
    radial-gradient(circle at 52% 48%, rgba(241,244,248,.95) 0, rgba(241,244,248,.95) 42%, rgba(255,255,255,0) 43%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 62%, #f6f7f9 100%);
  overflow: hidden;
  padding: 20px 24px 0;
}
.aco-image-panel {
  flex: 1;
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  overflow: visible;
  background: transparent;
}
.aco-character {
  width: 282px;
  max-width: 282px;
  max-height: 330px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 14px 28px rgba(0,0,0,.12));
}
.aco-caption {
  width: auto;
  min-width: 74px;
  height: 38px;
  min-height: 38px;
  padding: 0 12px;
  margin-top: 0;
  background: transparent;
  color: #4b5563;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
}

/* =========================
   SECTIONS - 기본 톤 유지
========================= */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--line);
}
.section-head h2,
.guide-grid h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1;
  letter-spacing: -.08em;
  color: #111111;
  font-weight: 900;
}
.section-head p,
.section-desc {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 650;
}
.service-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card,
.contact-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 10px 26px rgba(0,0,0,.035);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.service-card {
  min-height: 270px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}
.service-card:hover,
.contact-card:hover {
  border-color: #111111;
  box-shadow: 0 14px 30px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
.service-card h3,
.contact-card h3 {
  margin: 20px 0 0;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -.055em;
  color: #111111;
  font-weight: 900;
}
.service-card p,
.contact-card p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
  flex: 1;
}
.card-link,
.contact-btn {
  margin-top: 26px;
  width: 100%;
  min-height: 46px;
}
.guide-section { background: #ffffff; }
.guide-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.guide-list { display: grid; gap: 12px; }
.guide-item {
  display: grid;
  grid-template-columns: 54px 132px 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
}
.guide-num {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111111;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}
.guide-item strong { font-size: 17px; color: #111111; }
.guide-item span { color: var(--muted); line-height: 1.8; }

.contact-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.contact-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
  min-height: 240px;
}
.contact-card:first-child .contact-btn {
  background: #111111;
  color: #ffffff;
}

/* Footer */
.footer {
  padding: 32px 0;
  background: linear-gradient(90deg,#1b1b1b 0%,#262626 50%,#1b1b1b 100%);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.footer-slogan {
  color: #ffffff;
  font-weight: 900;
}
.footer-copy {
  color: #d7d7d7;
  font-weight: 700;
}

/* Chat */
#ai-chat-btn { display: none; }
#chatBox {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 390px;
  height: 560px;
  background: #ffffff;
  border: 1px solid var(--line);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
  box-shadow: 0 24px 60px rgba(0,0,0,.2);
}
#chatHeader {
  background: #111111;
  color: #ffffff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
#chatHeader strong { display: block; font-size: 15px; }
#chatHeader span { display: block; font-size: 12px; margin-top: 3px; color: #d1d5db; }
#chatCloseBtn { border: 0; background: none; color: #ffffff; font-size: 30px; line-height: 1; cursor: pointer; }
#chatContent { flex: 1; padding: 16px; overflow-y: auto; background: #f7f8fa; }
.chat-notice {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.chat-row { display: flex; margin: 10px 0; }
.chat-row.user { justify-content: flex-start; }
.chat-row.bot { justify-content: flex-end; }
.chat-bubble {
  max-width: 82%;
  padding: 12px 14px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: break-word;
  font-size: 14px;
}
.user-bubble { background: #ffffff; color: #111111; border: 1px solid var(--line); }
.bot-bubble { background: #111111; color: #ffffff; }
.bot-bubble a { color: #ffffff; text-decoration: underline; font-weight: 800; word-break: break-all; }
#chatInputWrap { display: flex; border-top: 1px solid var(--line); background: #ffffff; }
#chatInput { flex: 1; border: 0; padding: 16px; font-size: 14px; background: #ffffff; }
#chatInput:focus { outline: none; }
#chatInput:disabled { background: #f3f4f6; color: #9ca3af; cursor: not-allowed; }
#chatSendBtn { width: 76px; border: 0; background: #111111; color: #ffffff; font-weight: 900; cursor: pointer; }

@media (max-width: 1040px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .ai-intro {
    max-width: 760px;
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .aco-character {
    width: 250px;
    max-width: 250px;
  }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .top-nav { display: none; }
  .header-inner { min-height: 62px; }
  .hero {
    padding: 24px 0 42px;
  }
  .hero-inner {
    padding: 36px 24px;
    gap: 22px;
    border-radius: 28px;
  }
  h1 {
    font-size: 36px;
    line-height: 1.12;
  }
  .hero-desc {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.78;
  }
  .hero-hours {
    margin-top: 16px;
    font-size: 13px;
  }
  .hero-actions {
    margin-top: 24px;
    gap: 10px;
  }
  .hero-actions .btn,
  .hero-actions .btn-outline-hero {
    width: 100%;
    min-height: 48px;
  }
  .ai-intro {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .ai-intro-copy {
    padding: 26px;
  }
  .ai-card-btn {
    width: 100%;
    min-height: 48px;
    margin-top: 22px;
  }
  .aco-visual { display: none; }
  .section {
    padding: 46px 0;
  }
  .section-head h2,
  .guide-grid h2 {
    font-size: 40px;
    line-height: 1.08;
  }
  .section-head p,
  .section-desc {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.75;
  }
  .service-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .service-card,
  .contact-card {
    min-height: auto;
    padding: 24px;
  }
  .service-card h3,
  .contact-card h3 {
    margin-top: 16px;
    font-size: 27px;
  }
  .card-link,
  .contact-btn {
    min-height: 46px;
    margin-top: 20px;
  }
  .guide-item {
    grid-template-columns: 48px 1fr;
    gap: 10px 16px;
    padding: 18px 16px;
  }
  .guide-num {
    width: 42px;
    height: 42px;
  }
  .guide-item strong { font-size: 20px; }
  .guide-item > span:last-child {
    grid-column: 2;
    font-size: 15px;
  }
  .footer {
    padding: 28px 0;
  }
  #chatBox {
    right: 0;
    bottom: 0;
    width: 100%;
    height: 72vh;
    border-left: 0;
    border-right: 0;
  }
}


/* =========================================================
   FINAL COPY + TYPE WEIGHT FIX
   - Hero title slightly reduced
   - Hero description final two-line copy
   - Guide numbers forced white
========================================================= */
.hero h1,
h1 {
  font-size: clamp(42px, 4vw, 54px) !important;
  line-height: 1.1 !important;
}

.hero-desc {
  font-size: 17px !important;
  line-height: 1.8 !important;
  font-weight: 700 !important;
  max-width: 620px !important;
}

.guide-num,
.guide-item .guide-num,
span.guide-num {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* =========================================================
   FINAL ACO WORD WRAP FIX
   - Keep "Always Connected Operator" in one line
   - Do not touch other sections
========================================================= */
.nowrap {
  white-space: nowrap !important;
}

.aco-origin {
  max-width: 315px !important;
  font-size: 14.5px !important;
  line-height: 1.62 !important;
  letter-spacing: -0.015em !important;
}


/* =========================================================
   FINAL CONTACT BUTTON FIX
   - 채널톡/네이버 톡톡 버튼 기본 스타일 통일
   - 마우스 hover 시 검정 배경으로 변경
========================================================= */
.contact-card:first-child .contact-btn,
.contact-card .contact-btn {
  background: #ffffff !important;
  color: #111111 !important;
  border-color: #111111 !important;
  -webkit-text-fill-color: #111111 !important;
}

.contact-card:hover .contact-btn,
.contact-card:first-child:hover .contact-btn,
.contact-btn:hover {
  background: #111111 !important;
  color: #ffffff !important;
  border-color: #111111 !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* =========================================================
   FINAL MICRO FIX
   - 제목 크기 소폭 축소
   - 영문 라벨 하늘색 톤 다운
   - 왼쪽/오른쪽 CTA 버튼 높이감 정렬
========================================================= */

/* 하늘색 포인트를 살리되 조금 덜 밝게 */
:root {
  --blue: #168FD0 !important;
  --blue-text: #126FA5 !important;
  --blue-soft: #F2F8FC !important;
}

.eyebrow,
.eyebrow.dark,
.hero .eyebrow,
#services .eyebrow,
#guide .eyebrow,
#contact .eyebrow {
  color: #168FD0 !important;
  -webkit-text-fill-color: #168FD0 !important;
}

.ai-badge,
.tag {
  background: #F2F8FC !important;
  color: #126FA5 !important;
  -webkit-text-fill-color: #126FA5 !important;
}

/* 히어로 제목 과한 느낌만 소폭 완화 */
.hero h1,
h1 {
  font-size: clamp(40px, 3.75vw, 52px) !important;
  line-height: 1.1 !important;
}

/* 왼쪽 설명문과 버튼 간격을 줄여 오른쪽 ACO 버튼 높이와 더 맞춤 */
.hero-desc {
  font-size: 17px !important;
  line-height: 1.8 !important;
  font-weight: 700 !important;
  max-width: 620px !important;
  margin-top: 22px !important;
}

.hero-hours {
  margin-top: 16px !important;
}

.hero-actions {
  margin-top: 24px !important;
}

/* 오른쪽 ACO 버튼은 살짝 내려서 왼쪽 버튼 라인과 시각적으로 맞춤 */
.ai-card-btn {
  margin-top: 30px !important;
}

/* ACO 카드 문구 줄간격만 자연스럽게 */
.aco-origin {
  line-height: 1.66 !important;
}


/* =========================================================
   FINAL HOTFIX - HERO ONLY
   - 서비스 보기 버튼 제거 대응
   - ACO 약자 줄바꿈 안정화
   - 왼쪽/오른쪽 버튼 라인 안정화
   - 하단 섹션 레이아웃 영향 없음
========================================================= */

/* 서비스 보기 버튼이 남아 있을 경우 숨김 */
.hero-actions a[href="#services"] {
  display: none !important;
}

/* 히어로 제목/문구 크기 안정화 */
.hero h1,
h1 {
  font-size: clamp(40px, 3.75vw, 52px) !important;
  line-height: 1.1 !important;
}

.hero-desc {
  font-size: 17px !important;
  line-height: 1.8 !important;
  font-weight: 700 !important;
  max-width: 620px !important;
  margin-top: 22px !important;
}

.hero-hours {
  margin-top: 16px !important;
}

.hero-actions {
  margin-top: 24px !important;
}

/* ACO 카드 문구 줄바꿈/폭 보정 */
.nowrap {
  white-space: nowrap !important;
}

.aco-origin {
  max-width: 270px !important;
  font-size: 14px !important;
  line-height: 1.58 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

/* 오른쪽 ACO 버튼이 너무 내려가지 않도록 복구 */
.ai-card-btn {
  margin-top: 24px !important;
}

/* 24시간 이용 배지 과도한 테두리 느낌 방지 */
.ai-badge {
  border: 0 !important;
  background: #F3FAFF !important;
  color: #1378B8 !important;
  -webkit-text-fill-color: #1378B8 !important;
}

/* 이용 안내 숫자 흰색 고정 */
.guide-num,
.guide-item .guide-num,
span.guide-num {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}


/* =========================================================
   FINAL ACO ACO-WORD EMPHASIS
   - A/C/O만 굵기로 강조
   - 색상 강조 없음
   - ACO 설명 줄바꿈 고정
========================================================= */
.aco-origin {
  max-width: 270px !important;
  font-size: 14px !important;
  line-height: 1.62 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  word-break: keep-all !important;
}

.aco-word {
  white-space: nowrap !important;
}

.aco-word em {
  font-style: normal !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  font-weight: 950 !important;
}

/* =========================================================
   ACO LETTER EMPHASIS - FINAL
   - 기준 파일의 이미지/카드/레이아웃은 변경하지 않음
   - A/C/O만 실제로 보이도록 굵기와 크기만 소폭 차등
========================================================= */
.aco-origin {
  font-weight: 700 !important;
}

.aco-word {
  font-weight: 700 !important;
}

.aco-letter {
  display: inline-block !important;
  font-weight: 1000 !important;
  font-size: 1.10em !important;
  line-height: 0 !important;
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
}

/* =========================================================
   SERVICE PAGE COLOR ALIGNMENT - HERO ONLY
   - 접수 페이지 기준 하늘색은 히어로 상단 영문 라벨에만 적용
   - 하단 섹션 영문 라벨은 기존 톤다운 색상 유지
========================================================= */
.hero .eyebrow {
  color: #4DB8FF !important;
  -webkit-text-fill-color: #4DB8FF !important;
}

#services .eyebrow,
#guide .eyebrow,
#contact .eyebrow {
  color: #168FD0 !important;
  -webkit-text-fill-color: #168FD0 !important;
}

/* =========================================================
   WHITE BACKGROUND REFINEMENT - 2026-06-02
   - 고객지원 메인페이지 전체 바탕을 화이트로 통일
   - 카드 구분은 배경색이 아니라 테두리/은은한 그림자로 처리
   - 채팅창 내부 배경은 대화 구분을 위해 기존 연회색 유지
========================================================= */
:root {
  --bg: #ffffff !important;
  --surface: #ffffff !important;
  --line: #e8e8e8 !important;
}

html,
body {
  background: #ffffff !important;
}

.hero,
.section,
.guide-section,
#services,
#guide,
#contact {
  background: #ffffff !important;
}

.hero {
  border-bottom: 1px solid #eeeeee !important;
}

.section {
  border-bottom: 1px solid #eeeeee !important;
}

.service-card,
.contact-card,
.guide-item,
.ai-intro {
  background: #ffffff !important;
  border-color: #e8e8e8 !important;
}

.service-card,
.contact-card {
  box-shadow: 0 12px 30px rgba(0,0,0,.04) !important;
}

.guide-item {
  box-shadow: 0 8px 22px rgba(0,0,0,.025) !important;
}

.service-card:hover,
.contact-card:hover {
  border-color: #dcdcdc !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.065) !important;
}
