/* Noto Sans KR — font 폴더 */
@font-face {
  font-family: "Noto Sans KR";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("font/NotoSansKR-Regular.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Sans KR";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("font/NotoSansKR-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Sans KR";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("font/NotoSansKR-SemiBold.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Sans KR";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("font/NotoSansKR-Bold.ttf") format("truetype");
}
@font-face {
  font-family: "Noto Sans KR";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("font/NotoSansKR-ExtraBold.ttf") format("truetype");
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: rgba(37, 99, 235, 0.12);
  --red: #e53935;
  --red-hover: #d32f2f;
  --kakao: #fee500;
  --kakao-ink: #3c1e1e;
  --bg: #eef4fb;
  --bg-card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --border: #e2e8f0;
  --gradient-end: #1a237e;
  /* 은은한 하늘·파랑 톤 그라데이션 */
  --sky-page: linear-gradient(180deg, #f8fcff 0%, #eef6ff 38%, #e6f0fa 72%, #eef2f7 100%);
  --sky-section-a: linear-gradient(180deg, #f7fbff 0%, #e0f0ff 48%, #e8f2fc 100%);
  --sky-section-b: linear-gradient(165deg, #f2f8ff 0%, #d8ecfc 45%, #e5f0f8 100%);
  --sky-section-c: linear-gradient(180deg, #f5f9ff 0%, #e8f2fc 100%);
  --sky-section-d: linear-gradient(180deg, #f0f7ff 0%, #dceefa 55%, #e2eff7 100%);
  --sky-cta: linear-gradient(180deg, #e0f2fe 0%, #bae6fd 22%, #60a5fa 55%, #2563eb 82%, #1a237e 100%);
  /* 히어로: 은은한 하늘색 그라데이션 (CTA보다 밝고 부드럽게) */
  --sky-hero-soft: linear-gradient(
    165deg,
    #feffff 0%,
    #f0f9ff 22%,
    #e3f2fd 48%,
    #d9ecfc 72%,
    #d0e7f8 100%
  );
  --sky-footer: linear-gradient(180deg, #fbfdff 0%, #f0f6fc 100%);
  --radius: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.1);
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--sky-page);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-narrow {
  max-width: 720px;
}

.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--muted);
  font-weight: 500;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon-sm {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.hide-sm {
  display: none;
}

.show-sm {
  display: none;
}

@media (min-width: 640px) {
  .hide-sm {
    display: inline;
  }
}

@media (max-width: 639px) {
  .show-sm {
    display: inline;
  }
}

/* Header — 반투명 + 블러 (스크롤 시 히어로가 비쳐 보임) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 44px;
  width: auto;
  max-height: 48px;
  object-fit: contain;
}

.nav-desktop {
  display: none;
}

nav.nav-desktop {
  flex-wrap: wrap;
  justify-content: center;
}

nav.nav-desktop a[href^="#"] {
  color: rgba(15, 23, 42, 0.78);
  font-weight: 500;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

nav.nav-desktop a[href^="#"]:hover {
  color: #0f172a;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  nav.nav-desktop {
    gap: 2rem;
  }

  .menu-toggle {
    display: none;
  }
}

.header-cta {
  gap: 0.5rem;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: #0f172a;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 1rem 1.25rem 1.25rem;
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile:not([hidden]) {
  display: block;
}

.nav-mobile nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-mobile a {
  font-weight: 500;
  padding: 0.5rem 0;
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-align: center;
}

.btn:active {
  transform: scale(0.98);
}

.btn-phone {
  background: var(--red);
  color: #fff;
}

.btn-phone:hover {
  background: var(--red-hover);
}

.btn-kakao {
  background: var(--kakao);
  color: var(--kakao-ink);
}

.btn-kakao:hover {
  filter: brightness(0.95);
}

.btn-block {
  width: 100%;
}

.btn-lg {
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  border-radius: 10px;
}

.btn-xl {
  padding: 1rem 1.5rem;
  font-size: 1.0625rem;
  border-radius: 12px;
}

.btn-light {
  background: #fff;
  color: var(--text);
  border: 2px solid #fff;
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  background: #f8fafc;
}

.text-kakao-dark {
  color: #ca8a04;
}

/* Hero — 은은한 하늘색 그라데이션 */
main {
  padding-top: var(--header-h);
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--sky-hero-soft);
  /* 하단 pill 위·아래 바운스 시 잘리지 않도록 여유 */
  padding: 2.5rem 0 5.5rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image: radial-gradient(rgba(255, 255, 255, 0.9) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero {
    padding: 3.5rem 0 6rem;
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
}

.hero-title,
.hero-lead {
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.65);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: clamp(0.875rem, 2.8vw, 1.0625rem);
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0 0 1.5rem;
  box-shadow: var(--shadow);
  max-width: 100%;
}

/* 상단 뱃지: 모바일에서 글자 축소 + 한 줄 유지 */
.hero-badge-text {
  white-space: nowrap;
}

@media (max-width: 639px) {
  .hero-badge {
    font-size: clamp(0.68rem, 2.9vw, 0.82rem);
    padding: 0.32rem 0.55rem;
    gap: 0.3rem;
    margin-bottom: 1.25rem;
  }

  .hero-badge .icon-sm {
    width: 0.75rem;
    height: 0.75rem;
    flex-shrink: 0;
  }
}

.hero-title {
  font-size: clamp(1.875rem, 6vw, 3rem);
  font-weight: 800;
  line-height: 1.32;
  margin: 0 0 1.15rem;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-size: clamp(1.125rem, 3.2vw, 1.375rem);
  color: var(--muted);
  margin: 0 0 1.75rem;
  line-height: 1.55;
}

.hero-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  text-align: center;
}

@media (min-width: 640px) {
  .hero-card {
    padding: 2rem;
  }
}

.hero-card-lead {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--muted);
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .hero-btns {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.hero-phone {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.hero-phone .label {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.phone-big {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 800;
  color: #ea580c;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  background: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* 링크 래퍼 — 상하 움직임은 main.js에서 .hero-pill-surface에 transform 적용 */
.hero-pill-bottom {
  display: inline-block;
  margin: 1.5rem auto 0;
  padding: 0 0 28px;
  max-width: 100%;
  border: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.hero-pill-surface {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  background: #fff;
  border: 2px solid #2563eb;
  border-radius: 999px;
  font-size: clamp(1rem, 3vw, 1.1875rem);
  font-weight: 700;
  font-family: inherit;
  color: #1d4ed8;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 6px 16px rgba(15, 23, 42, 0.07);
  transform-origin: center center;
  transition: border-color 0.25s ease, filter 0.2s ease;
  will-change: transform;
}

.hero-pill-bottom:hover .hero-pill-surface {
  border-color: #1e40af;
  filter: brightness(1.03);
}

.hero-pill-bottom:focus-visible .hero-pill-surface {
  outline: 3px solid #2563eb;
  outline-offset: 3px;
}

/* strong은 부모 color 애니메이션 상속 (별도 animation 제거) */
.hero-pill-bottom .hero-pill-highlight {
  font-weight: 800;
}

.hero-pill-bottom .hero-pill-highlight--accent {
  color: #c2410c;
  text-shadow: 0 0 1px rgba(194, 65, 12, 0.35);
}

/* PC·모바일 공통: 한 줄 (가로 나열 + nowrap) */
.hero-pill-surface--multiline {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
  line-height: 1.3;
  padding: 0.7rem 1.35rem;
  font-size: clamp(0.95rem, 1.6vw, 1.125rem);
}

.hero-pill-surface--multiline .hero-pill-line {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  white-space: nowrap;
  text-align: center;
}

.hero-pill-line--with-icon {
  gap: 0.35rem;
}

.hero-pill-surface--multiline .hero-pill-line--with-icon .icon-sm {
  flex-shrink: 0;
}

/* 모바일: 한 줄 유지 + 글자 크기 확대 */
@media (max-width: 639px) {
  .hero-pill-surface.hero-pill-surface--multiline {
    font-size: clamp(0.88rem, 4.5vw, 1.08rem);
    padding: 0.58rem 0.85rem;
    gap: 0.24rem;
    max-width: min(100%, calc(100vw - 2rem));
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hero-pill-surface.hero-pill-surface--multiline::-webkit-scrollbar {
    display: none;
  }

  .hero-pill-surface--multiline .hero-pill-line--with-icon .icon-sm {
    width: 1rem;
    height: 1rem;
  }
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: var(--sky-section-b);
}

/* 짝수 흐름: 강점·진행과정·후기 — 은은한 스카이 대신 흰 배경 */
.section.section--stripe-white {
  background: #fff;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.section-stats {
  background: #fff;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

/* 서비스·FAQ (기본 섹션) */
section#services,
section#faq {
  background: var(--sky-section-c);
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 800;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 1rem;
}

@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

.stat-item {
  text-align: center;
}

.stat-num {
  display: block;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

/* 카운트 종료 시 숫자 한 번 살짝 강조 */
@keyframes stat-num-pop {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

.stat-num.stat-num--done {
  animation: stat-num-pop 0.55s ease;
}

@media (prefers-reduced-motion: reduce) {
  .stat-num.stat-num--done {
    animation: none;
  }
}

.stat-label {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

/* Features */
.feature-row {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .feature-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.area-note {
  text-align: center;
  margin: 2rem 0 0;
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Services */
.service-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@keyframes service-card-pulse {
  0%,
  100% {
    transform: scale(1);
    border-color: var(--border);
    box-shadow: var(--shadow);
  }
  50% {
    transform: scale(1.045);
    border-color: rgba(37, 99, 235, 0.72);
    box-shadow: 0 12px 36px rgba(37, 99, 235, 0.14);
  }
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: border-color 0.2s, box-shadow 0.2s;
  transform-origin: center center;
  will-change: transform;
}

/* 전문 서비스: 1.5초마다 커졌다 작아지며 파란 테두리 강조 (카드별 순차) */
#services .service-card {
  animation: service-card-pulse 1.5s ease-in-out infinite;
}

#services .service-card:nth-child(1) {
  animation-delay: 0s;
}

#services .service-card:nth-child(2) {
  animation-delay: 0.375s;
}

#services .service-card:nth-child(3) {
  animation-delay: 0.75s;
}

#services .service-card:nth-child(4) {
  animation-delay: 1.125s;
}

#services .service-card:hover {
  animation-play-state: paused;
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  #services .service-card {
    animation: none;
  }

  #services .service-card:hover {
    border-color: rgba(37, 99, 235, 0.35);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.08);
  }
}

.service-visual {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.service-visual .service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-body {
  padding: 1.25rem;
  text-align: center;
}

.service-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
}

.service-body p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Process */
.section-process:not(.section--stripe-white) {
  background: var(--sky-section-a);
  border-top: 1px solid rgba(186, 230, 253, 0.5);
  border-bottom: 1px solid rgba(186, 230, 253, 0.45);
}

.section-process.section--stripe-white {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.process-grid {
  display: grid;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
  }
}

.process-step {
  text-align: center;
  position: relative;
}

.process-line {
  display: none;
}

@media (min-width: 1024px) {
  .process-line {
    display: block;
    position: absolute;
    top: 32px;
    left: calc(50% + 2.5rem);
    right: calc(-50% + 2.5rem);
    height: 2px;
    background: var(--border);
    z-index: 0;
  }

  .process-step:last-child .process-line {
    display: none;
  }
}

.process-circle-wrap {
  position: relative;
  display: inline-flex;
  margin-bottom: 1rem;
}

.process-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-soft);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.process-circle svg {
  width: 28px;
  height: 28px;
}

.process-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 26px;
  height: 26px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.process-step h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
}

.process-step p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
}

/* Pricing */
.section-pricing {
  background: var(--sky-section-d);
}

.pricing-box {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.pricing-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 1rem;
}

.pricing-list li:last-child {
  border-bottom: none;
}

.pricing-list span {
  color: var(--primary);
  font-weight: 700;
}

.pricing-note {
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--border);
  font-size: 0.875rem;
  color: var(--muted);
}

/* Reviews */
.section-reviews:not(.section--stripe-white) {
  background: linear-gradient(180deg, #e8f4fc 0%, #ddeaf5 50%, #e5eef8 100%);
}

.section-reviews.section--stripe-white {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

/* 고객 후기: 가로 캐러셀 (모바일 1장 / PC 4장 노출, 2초마다 한 칸 이동 — JS) */
.review-carousel {
  margin: 0;
  touch-action: pan-y;
}

.review-carousel-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* 좌우로 넘어가는 슬라이드가 보이도록 가장자리 은은한 그라데이션 */
.review-carousel-viewport::before,
.review-carousel-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.25rem;
  z-index: 1;
  pointer-events: none;
}

.review-carousel-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), transparent);
}

.review-carousel-viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.95), transparent);
}

.review-carousel-track {
  position: relative;
  display: flex;
  gap: 1rem;
  transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* 접근성: 애니메이션 줄이기 — 슬라이드는 유지, 이동만 즉시 점프 */
.review-carousel--reduced-motion .review-carousel-track {
  transition: none;
}

.review-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.review-card .quote {
  display: block;
  font-size: 3rem;
  line-height: 1;
  font-family: Georgia, serif;
  color: rgba(37, 99, 235, 0.28);
  margin-bottom: 0.25rem;
}

.review-card .stars {
  color: #f59e0b;
  font-size: 0.875rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

.review-card > p {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text);
}

.review-card footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
}

.review-card footer strong {
  display: block;
  margin-bottom: 0.25rem;
}

.review-card footer span {
  color: var(--muted);
  font-size: 0.75rem;
}

/* 실제 작업 처리 과정 (순서형 사진 갤러리) */
.work-process {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.work-process-title {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.work-process-lead {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 auto 0.35rem;
  max-width: 26rem;
  line-height: 1.5;
}

.work-process-hint {
  display: none;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

@media (max-width: 639px) {
  .work-process-hint {
    display: block;
  }
}

/* 변기 막힘 위: 차량·장비 (갤러리 밖 단독 블록) */
.process-prelude {
  margin-top: 1.25rem;
  margin-bottom: 0;
  text-align: center;
}

.process-prelude-title {
  margin: 0 0 0.75rem;
  font-size: 1.3125rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.process-prelude-figure {
  margin: 0 auto;
  max-width: 40rem;
}

.process-prelude-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--border);
  vertical-align: middle;
}

.process-showcase {
  margin-top: 2rem;
}

.process-showcase:first-of-type {
  margin-top: 1.25rem;
}

.process-showcase-head {
  margin-bottom: 0.75rem;
  padding-left: 0;
  text-align: center;
}

.process-showcase-title {
  margin: 0;
  font-size: 1.3125rem;
  font-weight: 800;
  color: var(--primary);
}

.process-showcase-sub {
  margin: 0.25rem 0 0;
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.5;
}

.process-gallery {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(37, 99, 235, 0.35) transparent;
  outline: none;
  margin: 0 -1.25rem;
  padding: 0.25rem 1.25rem 0.75rem;
}

@media (min-width: 640px) {
  .process-gallery {
    margin: 0;
    padding: 0.25rem 0 0.75rem;
  }
}

.process-gallery:focus-visible {
  border-radius: var(--radius);
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary);
}

.process-gallery::before,
.process-gallery::after {
  content: "";
  position: absolute;
  top: 0.25rem;
  bottom: 1.25rem;
  width: 2rem;
  z-index: 1;
  pointer-events: none;
}

.process-gallery::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1), transparent);
}

.process-gallery::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 1), transparent);
}

.section--stripe-white .process-gallery::before {
  background: linear-gradient(90deg, rgba(248, 250, 252, 1), transparent);
}

.section--stripe-white .process-gallery::after {
  background: linear-gradient(270deg, rgba(248, 250, 252, 1), transparent);
}

.process-gallery-track {
  display: flex;
  flex-direction: row;
  gap: 0.875rem;
  width: max-content;
  padding: 0.125rem 0 0.25rem;
}

.process-gallery-card {
  position: relative;
  margin: 0;
  flex: 0 0 auto;
  /* 모바일: 옆 카드가 살짝 보여 스와이프 유도 */
  width: min(17.5rem, calc(100vw - 4.5rem));
  scroll-snap-align: start;
  scroll-snap-stop: always;
  text-align: center;
}

@media (min-width: 640px) and (max-width: 1023px) {
  .process-gallery-card {
    width: 18rem;
  }
}

/* PC: 좌우 여백 없이 한 줄 전체 표시 (뷰포트 풀블리드 + 균등 그리드) */
@media (min-width: 1024px) {
  .work-process .process-gallery {
    overflow-x: visible;
    overflow-y: visible;
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0.35rem 0 0.85rem;
    scroll-snap-type: none;
    scrollbar-width: none;
  }

  .work-process .process-gallery::-webkit-scrollbar {
    display: none;
    height: 0;
  }

  .work-process .process-gallery::before,
  .work-process .process-gallery::after {
    display: none;
  }

  .work-process .process-gallery-track--n7,
  .work-process .process-gallery-track--n5 {
    display: grid;
    width: 100%;
    max-width: 100%;
    gap: 0.2rem;
    padding: 0.125rem 0;
    box-sizing: border-box;
  }

  .work-process .process-gallery-track--n7 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .work-process .process-gallery-track--n5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .work-process .process-gallery-card {
    width: auto;
    min-width: 0;
    scroll-snap-align: unset;
    scroll-snap-stop: normal;
  }

  .work-process .process-gallery-card figcaption {
    font-size: 0.875rem;
    line-height: 1.35;
  }
}

.process-gallery-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  min-width: 1.75rem;
  height: 1.75rem;
  padding: 0 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 800;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.process-gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  background: var(--border);
  vertical-align: middle;
}

.process-gallery-card figcaption {
  margin-top: 0.45rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.4;
  padding: 0 0.15rem;
  word-break: keep-all;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 1rem;
  box-shadow: var(--shadow);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1rem 0;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--primary);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 1rem;
  padding-top: 0;
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* Final CTA */
.cta-final {
  position: relative;
  padding: 4rem 0;
  background: var(--sky-cta);
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(#fff 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
}

.cta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
}

/* Contact: 지역·우선 출동 뱃지 — 고대비 + 펄스 (눈에 띄게) */
.cta-chip--hot {
  position: relative;
  background: linear-gradient(145deg, #fde047 0%, #facc15 42%, #eab308 100%);
  color: #713f12;
  font-size: clamp(0.95rem, 2.8vw, 1.125rem);
  font-weight: 800;
  padding: 0.55rem 1.35rem;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 0 rgba(250, 204, 21, 0.65),
    0 6px 22px rgba(0, 0, 0, 0.22);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  animation: cta-chip-attention 2.1s ease-in-out infinite;
}

.cta-chip--hot .cta-chip__icon {
  color: #92400e;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.4));
}

.cta-chip__text {
  letter-spacing: -0.02em;
}

@keyframes cta-chip-attention {
  0%,
  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 0 rgba(250, 204, 21, 0.55),
      0 6px 22px rgba(0, 0, 0, 0.2);
  }
  45% {
    transform: scale(1.045);
    box-shadow:
      0 0 0 10px rgba(250, 204, 21, 0),
      0 10px 32px rgba(234, 179, 8, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta-chip--hot {
    animation: none;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.2);
  }
}

.cta-final h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.375rem, 4vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
}

.cta-lead {
  margin: 0 0 2rem;
  font-size: 1.0625rem;
  opacity: 0.92;
}

.cta-btns {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .cta-btns {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    max-width: none;
  }
}

.cta-tagline {
  margin: 1.75rem 0 0;
  font-size: 0.9375rem;
  opacity: 0.9;
}

/* Footer */
.site-footer {
  background: var(--sky-footer);
  border-top: 1px solid rgba(186, 230, 253, 0.4);
  padding: 3rem 0 0;
}

.site-footer.pb-fab {
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .site-footer.pb-fab {
    padding-bottom: 3rem;
  }
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (max-width: 767px) {
  .site-footer .footer-grid {
    text-align: center;
    justify-items: center;
  }

  .site-footer .footer-brand {
    display: inline-block;
  }

  .site-footer .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer h4 {
    text-align: center;
  }

  .site-footer .footer-links {
    text-align: center;
  }
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

.site-footer h4 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 800;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-links li + li {
  margin-top: 0.5rem;
}

.footer-links a {
  color: var(--primary);
  font-weight: 600;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin-top: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-copy p {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

/* 푸터: 플레이스 → 블로그 → 전화 (세로 스택 · 큰 버튼) */
.footer-channels-wrap {
  padding: 0 0 1.75rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

/* 모바일: 블로그와 전화 버튼 사이 간격 좁힘 · 전화 아래 사업자정보 줄 단위 */
@media (max-width: 1023px) {
  .footer-channels-wrap {
    padding: 1rem 0 1.35rem;
    box-sizing: border-box;
  }

  .footer-channel-stack__rule {
    margin: 0.65rem 0;
  }

  .footer-channel-block--blog + .footer-channel-stack__rule {
    margin: 0.65rem 0;
  }

  .footer-channel-block {
    min-height: 4.65rem;
    padding: 0.9rem 1.15rem;
  }

  .footer-channel-block__title {
    font-size: 1.125rem;
  }

  .footer-channel-block__sub {
    font-size: 0.875rem;
  }

  .footer-channels-wrap .footer-phone-cta {
    margin-top: 0.85rem;
    margin-bottom: 0;
  }

  .footer-phone-cta__ribbon {
    padding: 0.65rem 1rem;
  }

  .footer-phone-cta__btn {
    min-height: 4.35rem;
    padding: 1rem 1.35rem;
  }

  .footer-business {
    margin-top: 1rem;
    padding: 1rem 0 1rem;
  }

  .footer-business-text {
    font-size: 0.6875rem;
    line-height: 1.75;
  }
}

@media (min-width: 1024px) {
  .footer-channels-wrap {
    padding: 2rem 0 1.75rem;
    box-sizing: border-box;
  }

  .footer-channel-stack__rule {
    margin: 0.75rem 0;
  }

  .footer-channels-wrap .footer-phone-cta {
    margin-top: 1rem;
  }
}

.footer-channel-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.footer-channel-stack__rule {
  height: 0;
  border: 0;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
  margin: 0.65rem 0;
}

.footer-channel-block {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 4.5rem;
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--primary);
  text-decoration: none;
  font: inherit;
  text-align: left;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.footer-channel-block--blog:hover {
  background: var(--primary-soft);
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.12);
}

.footer-channel-block__icon-wrap {
  flex-shrink: 0;
  width: 3.75rem;
  height: 3.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--primary-soft);
}

.footer-channel-block__icon {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--primary);
}

.footer-channel-block__img {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  display: block;
}

.footer-channel-block__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.footer-channel-block__title {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.footer-channel-block__sub {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}

.footer-channel-block--soon {
  cursor: default;
  background: #f8fafc;
  color: var(--muted);
}

.footer-channel-block--soon .footer-channel-block__icon-wrap {
  background: #e2e8f0;
}

.footer-channel-block--soon .footer-channel-block__icon {
  color: var(--muted);
}

.footer-channel-block--soon .footer-channel-block__title {
  color: var(--muted);
}

.footer-channel-block__badge {
  position: absolute;
  top: 0.5rem;
  right: 0.55rem;
  font-size: 0.6875rem;
  font-weight: 800;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: var(--muted);
  color: #fff;
  line-height: 1.2;
}

.footer-phone-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  margin-top: 0.15rem;
}

.footer-phone-cta__ribbon {
  margin: 0;
  width: 100%;
  max-width: 520px;
  padding: 0.5rem 1rem;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #dc2626;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.02em;
  box-shadow: 0 2px 0 rgba(185, 28, 28, 0.35);
}

.footer-phone-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 520px;
  min-height: 3.75rem;
  padding: 0.85rem 1.25rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border: 2px solid #1d4ed8;
  border-top: none;
  background: linear-gradient(165deg, #2563eb 0%, #1d4ed8 55%, #1e40af 100%);
  color: #fff;
  font-size: clamp(1.125rem, 4vw, 1.35rem);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
  transition: filter 0.2s, transform 0.15s;
}

.footer-phone-cta__btn:hover {
  filter: brightness(1.05);
}

.footer-phone-cta__btn:active {
  transform: scale(0.99);
}

.footer-phone-cta__phone-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.footer-phone-cta__num {
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .footer-channel-stack {
    max-width: 560px;
  }

  .footer-channel-block {
    min-height: 4.75rem;
    padding: 1rem 1.35rem;
  }

  .footer-channel-block__icon-wrap {
    width: 4rem;
    height: 4rem;
  }

  .footer-channel-block__icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .footer-channel-block__img {
    width: 3.5rem;
    height: 3.5rem;
  }

  .footer-channel-block__title {
    font-size: 1.125rem;
  }

  .footer-channel-block__sub {
    font-size: 0.875rem;
  }
}

.footer-business {
  padding: 0.75rem 0 0.5rem;
  margin-top: 0;
}

.footer-business-text {
  margin: 0;
  padding: 0 0.25rem;
  font-size: 0.6875rem;
  color: var(--muted);
  line-height: 1.6;
  text-align: center;
  word-break: keep-all;
}

/* 모바일 하단 고정 전화 바 (가로 필 형태) */
.mobile-call-strip {
  display: none;
}

@media (max-width: 1023px) {
  .mobile-call-strip {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    padding: 0 env(safe-area-inset-right, 0) env(safe-area-inset-bottom, 0)
      env(safe-area-inset-left, 0);
  }

  .mobile-call-strip__link {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    min-height: 5.25rem;
    padding: 1.25rem 1rem 1.35rem;
    background: linear-gradient(
      155deg,
      #0b1220 0%,
      #0f2847 28%,
      #1d4ed8 62%,
      #1e3a8a 100%
    );
    color: #fff;
    font-family: inherit;
    text-decoration: none;
    border-top: 1px solid rgba(147, 197, 253, 0.45);
    box-shadow: 0 -12px 36px rgba(15, 23, 42, 0.45), 0 -4px 0 rgba(59, 130, 246, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .mobile-call-strip__link:active {
    filter: brightness(0.92);
    transform: scale(0.995);
  }

  .mobile-call-strip__icon {
    flex-shrink: 0;
    font-size: clamp(1.85rem, 6vw, 2.25rem);
    line-height: 1;
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.55));
    transform: translateX(-0.35rem);
  }

  .mobile-call-strip__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
    min-width: 0;
  }

  .mobile-call-strip__num {
    font-size: clamp(1.45rem, 5.2vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f8fafc;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
  }

  .mobile-call-strip__cta {
    font-size: clamp(0.95rem, 3.6vw, 1.15rem);
    font-weight: 800;
    color: #bae6fd;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
    letter-spacing: -0.02em;
  }

  .site-footer.pb-fab {
    padding-bottom: calc(8.75rem + env(safe-area-inset-bottom, 0px));
  }

  .fab-phone {
    display: none;
  }
}

/* FAB */
.fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.fab-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fab-btn:hover {
  transform: scale(1.05);
}

.fab-phone {
  background: var(--red);
}

.fab-kakao {
  background: var(--kakao);
  color: var(--kakao-ink);
}

@media (min-width: 1024px) {
  .fab {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

/* 모바일: 하단 전화 바보다 위에 카톡 FAB (기본 .fab보다 나중에 선언) */
@media (max-width: 1023px) {
  .fab {
    bottom: calc(8.75rem + env(safe-area-inset-bottom, 0px));
    z-index: 96;
  }
}
