/* =================================================
   TK세무회계 - style.css
   ================================================= */

:root {
  --primary: #314d89;     /* 메인 네이비 */
  --secondary: #1f335d;   /* 딥 네이비 */
  --headline: #111111;
  --body-text: #505050;
  --light-bg: #f8fcfc;
  --border: #e6e9ec;
  --white: #ffffff;
  --kakao: #fee500;
  --kakao-text: #391b1b;
  --radius: 10px;
  --max-width: 1140px;
  --header-height: 76px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  font-weight: 500;
  color: var(--body-text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

section {
  scroll-margin-top: var(--header-height);
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--secondary);
}

.btn--outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--outline-navy {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
  padding: 10px 20px;
  font-size: 14px;
  white-space: nowrap;
}

.btn--outline-navy:hover {
  background: var(--primary);
  color: var(--white);
}


.btn--block {
  display: block;
  width: 100%;
  text-align: center;
}

/* ===== Section heading helpers ===== */
.section__lead {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.section__lead--light {
  color: #aebfe0;
}

.section__title {
  font-size: 30px;
  font-weight: 700;
  color: var(--headline);
  margin-bottom: 14px;
}

.section__title--light {
  color: var(--white);
}

.section__desc {
  color: var(--body-text);
  font-size: 16px;
  max-width: 640px;
  margin-bottom: 40px;
}

.section__desc--light {
  color: #c7d2e2;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  height: var(--header-height);
}

.header__inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.logo__img {
  height: 30px;
  width: auto;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-weight: 500;
  font-size: 15px;
  color: var(--headline);
  padding: 8px 0;
  position: relative;
}

.nav__link:hover {
  color: var(--primary);
}

.nav__link--cta {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
}

.nav__link--cta:hover {
  background: var(--secondary);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--headline);
  transition: all 0.25s ease;
}

.hamburger--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger--open span:nth-child(2) {
  opacity: 0;
}

.hamburger--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  background: var(--secondary);
  color: var(--white);
  padding: 96px 0 72px;
}

.hero__inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 24px;
}

.hero__desc {
  font-size: 17px;
  color: #cfd9e8;
  max-width: 640px;
  margin-bottom: 36px;
}

.hero__cta {
  display: flex;
  gap: 16px;
}

.hero__cta .btn {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.hero__cta .btn--primary {
  background: var(--white);
  color: var(--primary);
}

.hero__cta .btn--primary:hover {
  background: #e9edf4;
}


/* ===== Differentiators (차별점) ===== */
.differentiators {
  padding: 90px 0;
  background: var(--white);
}

.differentiators__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.differentiator-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.differentiator-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--light-bg);
  color: var(--primary);
  margin-bottom: 16px;
}

.differentiator-card__icon svg {
  width: 22px;
  height: 22px;
}

.differentiator-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--headline);
  margin-bottom: 10px;
}

.differentiator-card__desc {
  font-size: 14px;
  color: var(--body-text);
}

/* ===== FAQ ===== */
.faq {
  padding: 90px 0;
  background: var(--light-bg);
}

.faq__inner {
  max-width: 760px;
  text-align: center;
}

.faq__inner .faq__list {
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item summary {
  padding: 20px 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--headline);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 400;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item__q {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary);
  font-weight: 700;
  margin-right: 8px;
}

.faq-item p {
  padding: 0 4px 20px;
  font-size: 14.5px;
  color: var(--body-text);
}

/* ===== Process steps (업무 진행 프로세스) ===== */
.process {
  padding: 90px 0;
  background: var(--light-bg);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.process-step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.process-step__num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.process-step__title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--headline);
  margin-bottom: 8px;
}

.process-step__desc {
  font-size: 13px;
  color: var(--body-text);
}

/* ===== Founder (대표회계사 소개) ===== */
.founder {
  padding: 90px 0;
  background: var(--light-bg);
}

.founder-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 720px;
}

.founder-card__layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: stretch;
}

.founder-card__photo {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(31, 51, 93, 0.16);
}

.founder-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.founder-card__info {
  display: flex;
  flex-direction: column;
}

.founder-card__name {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 22px;
  font-weight: 700;
  color: var(--headline);
  margin-bottom: 28px;
}

.founder-card__name span {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
}

.founder-card__bio {
  font-size: 15px;
  color: var(--body-text);
  margin-bottom: 20px;
}

.founder-card__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.founder-card__history {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 4px;
}

.founder-card__history li {
  font-size: 14.5px;
  color: var(--body-text);
  padding: 10px 0 10px 18px;
  border-bottom: 1px solid var(--border);
  position: relative;
  display: flex;
  align-items: center;
}

.founder-card__history li:first-child {
  padding-top: 0;
}

.founder-card__history li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.founder-card__history li::before {
  content: '·';
  position: absolute;
  left: 2px;
  color: var(--primary);
  font-weight: 900;
}

.founder-greeting {
  padding: 90px 0;
  background: var(--white);
}

.founder-greeting__inner {
  max-width: 680px;
  text-align: center;
}

.founder-quote {
  font-size: 24px;
  font-weight: 700;
  color: var(--headline);
  margin: 0 auto 32px;
  line-height: 1.5;
}

.founder-greeting__body {
  color: var(--body-text);
  font-size: 15.5px;
  line-height: 1.85;
  text-align: left;
}

.founder-greeting__body p {
  margin-bottom: 18px;
}

.founder-greeting__sign {
  margin-top: 24px;
  font-weight: 700;
  color: var(--headline);
}

.founder-profile {
  padding: 0 0 90px;
  background: var(--white);
}

.founder-profile__inner {
  max-width: 720px;
  text-align: center;
}

.founder-profile__inner .founder-card {
  text-align: left;
}

.differentiators__grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ===== Service sections ===== */
.service {
  padding: 90px 0;
  background: var(--white);
}

.service--alt {
  background: var(--light-bg);
}

.service__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
}

.feature-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.feature-list li:first-child {
  padding-top: 0;
}

.feature-list strong {
  display: block;
  font-size: 17px;
  color: var(--headline);
  margin-bottom: 6px;
}

.feature-list strong::before {
  content: '✓';
  display: inline-block;
  color: var(--primary);
  font-weight: 900;
  margin-right: 8px;
}

.feature-list p {
  color: var(--body-text);
  font-size: 14.5px;
}

.service__pricing {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 8px 24px rgba(31, 51, 93, 0.06);
  position: relative;
}

.pricing__badge {
  display: inline-block;
  background: var(--secondary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.pricing__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--headline);
  margin-bottom: 16px;
}

.pricing__lead {
  font-size: 14px;
  color: var(--body-text);
  margin-bottom: 16px;
}

.pricing__factors {
  margin-bottom: 18px;
  padding-left: 4px;
}

.pricing__factors li {
  font-size: 14px;
  color: var(--body-text);
  padding: 8px 0 8px 20px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.pricing__factors li:first-child {
  padding-top: 0;
}

.pricing__factors li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--primary);
  font-weight: 900;
}

.pricing__table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
  font-size: 14px;
}

.pricing__table th,
.pricing__table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
}

.pricing__table th {
  color: var(--white);
  background: var(--secondary);
  font-weight: 700;
  font-size: 13px;
}

.pricing__table tbody tr:hover {
  background: var(--light-bg);
}

.pricing__note {
  font-size: 12.5px;
  color: var(--body-text);
  margin-bottom: 20px;
  line-height: 1.5;
}

/* ===== Plans (세무기장 플랜) ===== */
.plans {
  padding: 90px 0;
  background: var(--light-bg);
}

.plans__quote {
  font-size: 22px;
  font-weight: 700;
  color: var(--headline);
  max-width: 700px;
  line-height: 1.5;
  margin-bottom: 36px;
}

.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}

.plan-card--featured {
  border-color: var(--primary);
  box-shadow: 0 10px 28px rgba(31, 51, 93, 0.12);
}

.plan-card__badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

.plan-card__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--headline);
  margin-bottom: 10px;
}

.plan-card__name-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--body-text);
  margin-left: 6px;
}

.plan-card__price {
  font-size: 21px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.plan-card__price span {
  display: block;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--body-text);
  margin-top: 2px;
}

.plan-card__desc {
  font-size: 13px;
  color: var(--body-text);
  margin-bottom: 16px;
}

.plan-card__features li {
  font-size: 13.5px;
  color: var(--body-text);
  padding: 8px 0 8px 18px;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.plan-card__features li:first-child {
  padding-top: 0;
}

.plan-card__features li:last-child {
  border-bottom: none;
}

.plan-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
}

/* ===== Column section ===== */
.column-section {
  padding: 90px 0;
  background: var(--white);
}

.column-naver {
  margin-top: 48px;
  padding: 40px 32px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.column-naver__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--headline);
  margin-bottom: 8px;
}

.column-naver__desc {
  font-size: 13.5px;
  color: var(--body-text);
  max-width: 480px;
  margin: 0 auto 20px;
}

.column__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}

.column__head .section__desc {
  margin-bottom: 0;
}

.column__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.column-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.column-card:hover {
  box-shadow: 0 10px 28px rgba(31, 51, 93, 0.1);
  transform: translateY(-3px);
}

.column-card__tag {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.column-card__date {
  display: block;
  font-size: 12.5px;
  color: var(--body-text);
  margin-bottom: 10px;
}

.column-card__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--headline);
  margin-bottom: 10px;
  line-height: 1.4;
}

.column-card__excerpt {
  font-size: 14px;
  color: var(--body-text);
  margin-bottom: 16px;
}

.column-card__more {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary);
}

/* ===== Contact section ===== */
.contact {
  padding: 90px 0;
  background: var(--light-bg);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.form-row {
  margin-bottom: 20px;
}

.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--headline);
  margin-bottom: 8px;
}

.req {
  color: #c0392b;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--headline);
  background: var(--white);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-row--checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-row--checkbox label {
  margin-bottom: 0;
  font-weight: 400;
  font-size: 13.5px;
}

.form-row--checkbox input {
  width: auto;
}

.form-success {
  margin-top: 16px;
  padding: 12px 16px;
  background: #eaf6ee;
  color: #1f7a3d;
  border-radius: 8px;
  font-size: 14px;
  text-align: center;
}

.contact-info {
  background: var(--secondary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  height: fit-content;
}

.contact-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
}

.contact-info ul li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.contact-info ul li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info ul li strong {
  color: #aebfe0;
  font-size: 13px;
  font-weight: 500;
}

.contact-info ul li span {
  color: #d7deea;
}

/* ===== Footer ===== */
.footer {
  background: var(--secondary);
  color: #aab8cc;
  padding: 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__inner {
  text-align: center;
}

.footer__logo {
  height: 26px;
  width: auto;
  margin-bottom: 16px;
}

.footer__info {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 14px;
}

.footer__copy {
  font-size: 12px;
  color: #8b9bb5;
}

/* ===== Page banner (서브페이지 상단) ===== */
.page-banner {
  background: linear-gradient(160deg, var(--secondary) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 56px 0 40px;
}

.breadcrumb {
  font-size: 13px;
  color: #aebfe0;
  margin-bottom: 14px;
}

.breadcrumb a {
  color: #aebfe0;
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb__sep {
  margin: 0 6px;
  color: #6f81ab;
}

.page-banner__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
}

.page-banner__desc {
  color: #cfd9e8;
  margin-top: 10px;
  max-width: 600px;
}

/* ===== Nav active state ===== */
.nav__link[aria-current='page']:not(.nav__link--cta) {
  color: var(--primary);
  font-weight: 700;
}

/* ===== Services overview (index.html) ===== */
.services-overview {
  padding: 90px 0;
  background: var(--white);
}

.services-overview__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  box-shadow: 0 10px 28px rgba(31, 51, 93, 0.1);
  transform: translateY(-3px);
}

.service-card__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: block;
}

.service-card__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--headline);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 14.5px;
  color: var(--body-text);
  margin-bottom: 20px;
}

.service-card__price {
  display: inline-block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--secondary);
  background: var(--light-bg);
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}

.service-card__link {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

/* ===== CTA banner (index.html 하단) ===== */
.cta-banner {
  background: linear-gradient(160deg, var(--secondary) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}

.cta-banner__title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-banner__desc {
  color: #cfd9e8;
  margin-bottom: 28px;
}

/* ===== Article (칼럼 상세) ===== */
.article {
  padding: 56px 0 90px;
}

.article__inner {
  max-width: 760px;
}

.article__back {
  display: inline-block;
  margin-bottom: 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.article__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.article__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--headline);
  line-height: 1.4;
  margin-bottom: 36px;
}

.article__body {
  font-size: 16px;
  color: var(--body-text);
  line-height: 1.85;
}

.article__body h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--headline);
  margin: 40px 0 16px;
}

.article__body p {
  margin-bottom: 18px;
}

.article__body ul {
  list-style: disc;
  margin: 0 0 18px 22px;
}

.article__body li {
  margin-bottom: 8px;
}

.article__note {
  background: var(--light-bg);
  border-left: 3px solid var(--primary);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--body-text);
  margin: 28px 0;
}

.article__cta {
  margin-top: 48px;
  padding: 32px;
  background: var(--light-bg);
  border-radius: var(--radius);
  text-align: center;
}

.article__cta p {
  margin-bottom: 18px;
  font-weight: 700;
  color: var(--headline);
}

/* ===== Chatbot widget (정적 FAQ) ===== */
.chatbot-fab {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--primary) 0%, var(--secondary) 100%);
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(7, 22, 46, 0.35);
  cursor: pointer;
  z-index: 1100;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chatbot-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(7, 22, 46, 0.4);
}

.chatbot-fab svg {
  width: 24px;
  height: 24px;
  position: relative;
  z-index: 1;
}

.chatbot-fab__dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #2ecc71;
  border: 2px solid var(--white);
}

.chatbot-fab__dot::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid #2ecc71;
  opacity: 0.6;
  animation: chatbot-pulse 2s ease-out infinite;
}

@keyframes chatbot-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.2); opacity: 0; }
}

.chatbot-greeting {
  position: fixed;
  bottom: 96px;
  right: 98px;
  max-width: 200px;
  background: var(--white);
  color: var(--headline);
  font-size: 13px;
  line-height: 1.55;
  font-weight: 500;
  padding: 12px 15px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(7, 22, 46, 0.14);
  z-index: 1090;
  cursor: pointer;
  opacity: 0;
  transform: translateX(6px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.chatbot-greeting::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-right: none;
  border-left-color: var(--white);
}

.chatbot-greeting--show {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: auto;
}

.chatbot-greeting__close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--white);
  border: none;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-panel {
  position: fixed;
  bottom: 170px;
  right: 24px;
  width: min(340px, calc(100vw - 32px));
  max-height: min(520px, calc(100vh - 140px));
  background: var(--white);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(7, 22, 46, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1100;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(.2,.8,.2,1), transform 0.25s cubic-bezier(.2,.8,.2,1);
}

.chatbot-panel--open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chatbot-header {
  background: linear-gradient(160deg, var(--secondary) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 18px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.chatbot-header__profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbot-header__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chatbot-header__avatar img {
  width: 22px;
  height: auto;
}

.chatbot-header strong {
  display: block;
  font-size: 14.5px;
}

.chatbot-header__status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #cfe0d2;
  margin-top: 2px;
}

.chatbot-header__status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2ecc71;
  display: inline-block;
}

.chatbot-close {
  background: rgba(255, 255, 255, 0.14);
  border: none;
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.26);
}

.chatbot-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #F4F6F8;
  max-height: 240px;
}

.chatbot-msg {
  max-width: 80%;
  font-size: 13.5px;
  line-height: 1.65;
  padding: 10px 13px;
  animation: chatbot-msg-in 0.18s ease;
  word-break: break-word;
}

@keyframes chatbot-msg-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.chatbot-msg--bot {
  background: #fff;
  color: #2d2d2d;
  align-self: flex-start;
  border-radius: 4px 16px 16px 16px;
}

.chatbot-msg--user {
  background: var(--primary);
  color: var(--white);
  align-self: flex-end;
  border-radius: 16px 4px 16px 16px;
}

.chatbot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 16px;
  background: var(--white);
  border-top: 1px solid var(--border);
  max-height: 170px;
  overflow-y: auto;
}

.chatbot-quick button {
  text-align: left;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--headline);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}

.chatbot-quick button:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}

.chatbot-footer {
  border-top: 1px solid var(--border);
  padding: 14px 16px;
  display: flex;
  gap: 8px;
  background: var(--white);
}

.chatbot-footer a {
  flex: 1;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
  padding: 11px 0;
  border-radius: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.chatbot-footer a:hover {
  transform: translateY(-1px);
}

.chatbot-cta--primary {
  background: linear-gradient(160deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(31, 51, 93, 0.25);
}

.chatbot-body::-webkit-scrollbar,
.chatbot-quick::-webkit-scrollbar {
  width: 5px;
}

.chatbot-body::-webkit-scrollbar-thumb,
.chatbot-quick::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 999px;
}

@media (max-width: 480px) {
  .chatbot-panel {
    width: calc(100vw - 32px);
    right: 16px;
    bottom: 164px;
  }

  .chatbot-greeting {
    display: none;
  }

  .chatbot-fab {
    bottom: 90px;
    right: 18px;
  }
}

/* ===== 카카오톡 FAB ===== */
.kakao-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #FEE500;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  z-index: 1100;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.kakao-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.33);
}

.kakao-fab svg {
  width: 36px;
  height: 32px;
  flex-shrink: 0;
}

/* 호버 말풍선 툴팁 */
.kakao-fab__tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background: #fff;
  border-radius: 12px;
  padding: 11px 15px;
  font-size: 13px;
  color: #333;
  line-height: 1.65;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.14);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.kakao-fab__tooltip::after {
  content: '';
  position: absolute;
  right: -7px;
  top: 50%;
  transform: translateY(-50%);
  border: 7px solid transparent;
  border-right: none;
  border-left-color: #fff;
}

.kakao-fab:hover .kakao-fab__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 480px) {
  .kakao-fab {
    bottom: 18px;
    right: 18px;
  }
  .kakao-fab__tooltip {
    display: none;
  }
}

@media (hover: none) {
  .kakao-fab__tooltip,
  .chatbot-greeting {
    display: none;
  }
}

/* =================================================
   Responsive
   ================================================= */
@media (max-width: 991px) {
  .service__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .column__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .differentiators__grid--4,
  .plans__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__title {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  .br-pc {
    display: none;
  }

  .founder-card__layout {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .founder-card__photo {
    max-width: 200px;
    margin: 0 auto;
  }

  .founder-card__history {
    text-align: left;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 24px 24px;
    gap: 4px;
  }

  .nav__link {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav__link--cta {
    text-align: center;
    margin-top: 10px;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__cta {
    flex-direction: column;
    width: 100%;
  }

  .hero__cta .btn {
    width: 100%;
    text-align: center;
  }

  .service,
  .column-section,
  .contact,
  .services-overview,
  .article,
  .differentiators,
  .faq,
  .process {
    padding: 50px 0 60px;
  }

  .section__title {
    font-size: 24px;
  }

  .column__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .column__grid,
  .services-overview__grid,
  .differentiators__grid,
  .plans__grid {
    grid-template-columns: 1fr;
  }

  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row--split {
    grid-template-columns: 1fr;
  }

  .pricing__table {
    font-size: 13px;
  }

  .page-banner {
    padding: 44px 0 32px;
  }

  .page-banner__title {
    font-size: 24px;
  }

  .article__title {
    font-size: 22px;
  }

  .cta-banner {
    padding: 50px 0;
  }

  .cta-banner__title {
    font-size: 21px;
  }
}

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