@charset "UTF-8";
/* blog.html 전용 스타일 — 원본 <style> 블록을 그대로 옮김. css/blog.css 는 이 파일에서 생성됨 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --nav-height: 60px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Pretendard", -apple-system, sans-serif;
  color: #1a1a2e;
  background: #fff;
  overflow-x: hidden;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  color: #1a1a2e;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: #4a90d9;
}

.nav-links a.active {
  font-weight: 700;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-talk {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffd600;
  color: #1a1a2e;
  border: none;
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  font-family: "Pretendard", sans-serif;
  cursor: pointer;
  text-decoration: none;
}

.talk-icon {
  width: 20px;
  height: 20px;
  background: #1a1a2e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.talk-icon svg {
  fill: white;
  width: 11px;
  height: 11px;
}

.btn-inquiry {
  border: 1.5px solid #333;
  background: transparent;
  color: #1a1a2e;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  font-family: "Pretendard", sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.btn-inquiry:hover {
  background: #1a1a2e;
  color: white;
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s, transform 0.6s;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

.d1 {
  transition-delay: 0.05s;
}

.d2 {
  transition-delay: 0.1s;
}

.d3 {
  transition-delay: 0.15s;
}

.d4 {
  transition-delay: 0.2s;
}

.d5 {
  transition-delay: 0.25s;
}

/* ── PAGE HEADER ── */
#blog-header {
  padding: calc(var(--nav-height) + 72px) 60px 0;
  max-width: 1200px;
  margin: 0 auto;
}

#blog-header h1 {
  font-size: 52px;
  font-weight: 700;
  color: #0d1b2e;
  letter-spacing: -1px;
  line-height: 1;
}

/* ── FEATURED (top 2 large cards) ── */
#blog-featured {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 60px 0;
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.featured-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  background: #f7f8fa;
  transition: transform 0.25s, box-shadow 0.25s;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.featured-thumb {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.featured-body {
  padding: 28px 32px 32px;
}

.featured-eyebrow {
  font-size: 13px;
  font-weight: 600;
  color: #888;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.featured-eyebrow .cat {
  color: #4a90d9;
}

.featured-eyebrow .sep {
  color: #ddd;
}

.featured-card h2 {
  font-size: 22px;
  font-weight: 700;
  color: #0d1b2e;
  line-height: 1.35;
  letter-spacing: -0.3px;
}

/* ── ALL POSTS GRID ── */
#blog-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 72px 60px 120px;
}

.section-label {
  font-size: 20px;
  font-weight: 700;
  color: #0d1b2e;
  margin-bottom: 32px;
  letter-spacing: -0.3px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
}

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: transform 0.22s;
}

.blog-card:hover {
  transform: translateY(-3px);
}

.blog-thumb-wrap {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #f0f0f0;
}

.blog-thumb-wrap img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.blog-card:hover .blog-thumb-wrap img {
  transform: scale(1.03);
}

.blog-eyebrow {
  font-size: 12px;
  font-weight: 600;
  color: #999;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.blog-eyebrow .cat {
  color: #4a90d9;
}

.blog-eyebrow .sep {
  color: #ddd;
}

.blog-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0d1b2e;
  line-height: 1.4;
  letter-spacing: -0.2px;
}

.blog-excerpt {
  display: none;
}

.blog-arrow {
  display: none;
}

/* ── 카드 / 목록 보기 전환 ── */
.blog-main-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.blog-main-head .section-label {
  margin-bottom: 0;
}

.view-toggle {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: #f1f4f9;
  border-radius: 10px;
}

.view-btn {
  width: 36px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8a94a6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.view-btn svg {
  width: 18px;
  height: 18px;
}

.view-btn:hover {
  color: #236ede;
}

.view-btn[aria-pressed=true] {
  background: white;
  color: #236ede;
  box-shadow: 0 1px 4px rgba(26, 46, 74, 0.12);
}

.view-btn:focus-visible {
  outline: 2px solid #236ede;
  outline-offset: 2px;
}

.blog-grid {
  transition: opacity 0.18s ease;
}

.blog-grid.switching {
  opacity: 0;
}

/* 목록 보기: 한 줄에 글 하나, 왼쪽 작은 썸네일 + 오른쪽 글 정보 */
.blog-grid.is-list {
  grid-template-columns: 1fr !important;
  gap: 0;
  border-top: 1px solid #edf1f7;
}

.blog-grid.is-list .blog-card {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 8px;
  border-bottom: 1px solid #edf1f7;
  transition: background 0.2s;
}

.blog-grid.is-list .blog-card:hover {
  transform: none;
  background: #f9fbff;
}

.blog-grid.is-list .blog-thumb-wrap {
  width: 176px;
  flex-shrink: 0;
  margin-bottom: 0;
  border-radius: 10px;
}

.blog-grid.is-list .blog-thumb-wrap img {
  height: auto;
  aspect-ratio: 16/9;
}

.blog-grid.is-list .blog-info {
  flex: 1;
  min-width: 0;
}

.blog-grid.is-list .blog-eyebrow {
  margin-bottom: 6px;
}

.blog-grid.is-list h3 {
  font-size: 17px;
}

.blog-grid.is-list .blog-card:hover h3 {
  color: #236ede;
}

.blog-grid.is-list .blog-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  color: #777;
  line-height: 1.6;
  margin-top: 6px;
}

.blog-grid.is-list .blog-arrow {
  display: flex;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: #b3bccb;
  transition: color 0.2s, transform 0.2s;
}

.blog-grid.is-list .blog-arrow svg {
  width: 18px;
  height: 18px;
}

.blog-grid.is-list .blog-card:hover .blog-arrow {
  color: #236ede;
  transform: translateX(3px);
}

@media (max-width: 600px) {
  .blog-grid.is-list .blog-card {
    gap: 14px;
    padding: 16px 0;
  }
  .blog-grid.is-list .blog-thumb-wrap {
    width: 108px;
  }
  .blog-grid.is-list h3 {
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-grid.is-list .blog-excerpt, .blog-grid.is-list .blog-arrow {
    display: none;
  }
}
footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 60px 60px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-logo .price {
  color: #4a90d9;
}

.footer-logo .one {
  color: white;
}

.footer-tagline {
  font-size: 13px;
  color: #888;
  margin-bottom: 36px;
}

.footer-company h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ddd;
  margin-bottom: 14px;
}

.footer-info-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #888;
  margin-bottom: 7px;
}

.footer-info-row .label {
  min-width: 110px;
  color: #aaa;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: #555;
  margin-top: 32px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-bottom a {
  color: #666;
  text-decoration: none;
}

.floating-contact {
  position: fixed;
  right: 28px;
  bottom: 36px;
  z-index: 900;
}

.floating-contact-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #4a4a5a;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.floating-contact-btn svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* ── HAMBURGER + MOBILE MENU ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px 4px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: all 0.3s;
}

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

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

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

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  z-index: 998;
  flex-direction: column;
}

.mobile-menu.open {
  display: flex;
  animation: menuDown 0.22s ease;
}

@keyframes menuDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.mobile-menu-links a {
  display: block;
  padding: 15px 24px;
  font-size: 15px;
  font-weight: 500;
  color: #1a1a2e;
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s, background 0.2s;
}

.mobile-menu-links a:hover {
  color: #4a90d9;
  background: #f9fbff;
}

.mobile-menu-links a.active {
  color: #4a90d9;
  font-weight: 700;
}

.mobile-menu-cta {
  padding: 16px 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-menu-cta .btn-talk {
  justify-content: center;
  width: 100%;
}

.mobile-menu-cta .btn-inquiry {
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
}

@media (max-width: 1024px) {
  .nav-hamburger {
    display: flex;
  }
  .nav-links {
    display: none !important;
  }
  .nav-right .btn-inquiry {
    display: none;
  }
  #blog-header, #blog-featured, #blog-main {
    padding-left: 32px;
    padding-right: 32px;
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  #blog-header h1 {
    font-size: 36px;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  nav {
    padding: 0 20px;
  }
  #blog-header, #blog-featured, #blog-main {
    padding-left: 20px;
    padding-right: 20px;
  }
  footer {
    padding: 48px 24px 32px;
  }
}
@media (max-width: 480px) {
  nav {
    padding: 0 16px;
  }
  .nav-right .btn-talk {
    display: none;
  }
  #blog-header h1 {
    font-size: 28px;
  }
  footer {
    padding: 40px 16px 28px;
  }
}
/* 톡문의 버튼: 카카오톡 이미지 버튼으로 통일 */
.btn-talk.btn-talk-img {
  background: none;
  padding: 0;
  gap: 0;
  border-radius: 999px;
}

.btn-talk.btn-talk-img img {
  height: 34px;
  width: auto;
  display: block;
}

.btn-talk.btn-talk-img:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 214, 0, 0.45);
  filter: none;
}

.mobile-menu-cta .btn-talk.btn-talk-img {
  justify-content: center;
  width: 100%;
}

.mobile-menu-cta .btn-talk.btn-talk-img img {
  height: 44px;
}

/* ── 공통 푸터: 모든 페이지 동일 (페이지별 footer 스타일보다 우선) ── */
footer.site-footer {
  background: #1a1a2e;
  color: #ccc;
  padding: 60px 60px 40px;
  margin: 0;
  border: 0;
  text-align: left;
  line-height: normal;
  font-size: 14px;
}

.site-footer .footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: block;
}

.site-footer .footer-logo {
  display: inline-block;
  margin-bottom: 10px;
}

.site-footer .footer-logo img {
  height: 24px;
  width: auto;
  display: block;
}

.site-footer .footer-tagline {
  font-size: 13px;
  color: #888;
  margin: 0 0 36px;
}

.site-footer .footer-company {
  margin-bottom: 32px;
}

.site-footer .footer-company h4 {
  font-size: 14px;
  font-weight: 700;
  color: #ddd;
  margin: 0 0 14px;
}

.site-footer .footer-info-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #888;
  margin-bottom: 7px;
}

.site-footer .footer-info-row .label {
  min-width: 110px;
  color: #aaa;
  flex-shrink: 0;
}

.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  font-size: 12px;
  color: #555;
}

.site-footer .footer-links {
  display: flex;
  gap: 20px;
}

.site-footer .footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}

.site-footer .footer-links a:hover, .site-footer .footer-links a[aria-current] {
  color: #aaa;
}

.site-footer .footer-links .sep {
  color: #333;
}

@media (max-width: 768px) {
  footer.site-footer {
    padding: 48px 24px 32px;
  }
}
@media (max-width: 480px) {
  footer.site-footer {
    padding: 40px 16px 28px;
  }
}
/* 도입 문의하기 버튼: 몇 초마다 잠깐 푸른빛으로 빛남 */
.nav-right .btn-inquiry {
  animation: inquiryGlow 4s ease-in-out infinite;
}

.nav-right .btn-inquiry:hover {
  animation: none;
}

@keyframes inquiryGlow {
  0%, 62%, 100% {
    box-shadow: 0 0 0 0 rgba(35, 110, 222, 0);
  }
  76% {
    border-color: #236ede;
    box-shadow: 0 0 0 3px rgba(35, 110, 222, 0.16), 0 0 18px rgba(35, 110, 222, 0.45);
  }
}
@media (prefers-reduced-motion: reduce) {
  .nav-right .btn-inquiry {
    animation: none;
  }
}
