/* BELICO 화면 정돈 2026-10 — 기준: /DESIGN.md
   style.css 뒤에 불러와 덮어쓴다. 되돌릴 때는 각 페이지의 이 파일 링크만 빼면 된다. */

:root {
    --bl-primary: #2C5AA0;
    --bl-primary-deep: #1E3F70;
    --bl-ink: #1F2A37;
    --bl-body: #374151;
    --bl-muted: #6B7280;
    --bl-surface-alt: #F5F8FC;
    --bl-line: #E3E8F0;
    --bl-radius: 14px;
    --bl-radius-lg: 20px;
    --bl-shadow: 0 4px 16px rgba(30, 63, 112, 0.06);
    --bl-shadow-hover: 0 10px 28px rgba(30, 63, 112, 0.12);
}

body {
    color: var(--bl-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* 제목 */
.section-header h2,
.section-title {
    color: var(--bl-ink);
    font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.25rem);
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.section-header p,
.section-subtitle {
    color: var(--bl-muted);
    font-size: clamp(0.95rem, 0.9rem + 0.25vw, 1.1rem);
    line-height: 1.6;
}
.section-header {
    margin-bottom: clamp(28px, 4vw, 48px);
}

/* 구역 여백 통일 */
.expert-section,
.partnership-section,
.pain-relief-section,
.technology-section,
.process-section,
.cases-section,
.consultation-section,
.software-section,
.blog-section,
.contact-section {
    padding-top: clamp(56px, 7vw, 88px) !important;
    padding-bottom: clamp(56px, 7vw, 88px) !important;
}

/* 카드 */
section:not(.hero) .feature-item,
.testimonial-card,
.process-step,
.consultation-card,
.case-card,
.pain-area-item,
.contact-item,
.point,
.blog-card {
    border-radius: var(--bl-radius) !important;
    box-shadow: var(--bl-shadow) !important;
    border: 1px solid var(--bl-line);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.case-card { border: 0; overflow: hidden; }
@media (hover: hover) {
    section:not(.hero) .feature-item:hover,
    .testimonial-card:hover,
    .process-step:hover,
    .consultation-card:hover,
    .blog-card:hover {
        box-shadow: var(--bl-shadow-hover) !important;
        transform: translateY(-2px);
    }
}
.step-image img,
.consultation-image img {
    border-radius: calc(var(--bl-radius) - 4px);
}

/* 떠 있는 버튼: 상담 창(오른쪽 아래) 위에 '맨 위로'를 쌓아 본문과 겹치지 않게 */
.back-to-top {
    left: auto !important;
    right: 26px !important;
    bottom: 96px !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
    background: var(--bl-primary-deep) !important;
    box-shadow: 0 4px 14px rgba(30, 63, 112, 0.28) !important;
}
@media (max-width: 768px) {
    .back-to-top {
        right: 18px !important;
        bottom: 78px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 16px !important;
    }
}

/* 키보드 초점 */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--bl-primary);
    outline-offset: 2px;
}

/* 버튼 누르는 높이 */
.btn,
.cta-button,
button[type="submit"] {
    min-height: 44px;
}

/* 모바일 본문 글자 하한 */
@media (max-width: 768px) {
    .testimonial-content p,
    .process-step p,
    .consultation-content p,
    .timeline-content p {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* 바닥글 */
.footer {
    background: #1F2A37 !important;
}
.footer a { text-underline-offset: 3px; }
@media (max-width: 768px) {
    .footer-content { gap: 28px !important; }
    .footer-section h4,
    .footer-info h3 { font-size: 16px !important; }
    .footer-section a,
    .footer-section li,
    .footer-info p { font-size: 14px !important; line-height: 1.8 !important; }
    .footer-bottom { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 2026-10-21 가격 안내 3종(워킹·스포츠·밸런스) */
.pricing-section .ptype-tagline { margin: 0 0 4px; font-size: 14px; color: var(--bl-muted); }
.pricing-section .ptype-sub { margin: 18px 0 6px; font-size: 15px; font-weight: 700; color: var(--bl-ink); text-align: left; }
.pricing-section .ptype-sub:first-child { margin-top: 0; }

/* 2026-11-03 품질 검수: 후기 사진이 잘못 잘린 조각으로 보여 성씨 원형 표시로 바꿈 */
.testimonial-avatar.testimonial-initial {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2c5aa0, #1e3a6e);
  color: #fff; font-size: 26px; font-weight: 700; line-height: 1;
}

/* 2026-11-03 품질 검수: FAQ 페이지 전용 스타일이 없어 기본 모양으로 보이던 문제 */
.faq-search { padding: 40px 0 10px; background: #f8fafc; }
.faq-search .search-container { max-width: 640px; margin: 0 auto 18px; }
.faq-search .search-box { display: flex; background: #fff; border: 1px solid #d5dce6; border-radius: 999px; overflow: hidden; box-shadow: 0 4px 14px rgba(15,35,70,.06); }
.faq-search .search-box input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 14px 20px; font-size: 16px; font-family: inherit; background: transparent; }
.faq-search .search-box button { border: 0; background: #2c5aa0; color: #fff; padding: 0 22px; font-size: 18px; cursor: pointer; }
.faq-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.faq-categories .category-btn { border: 1px solid #c9d4e3; background: #fff; color: #1e3a6e; padding: 8px 18px; border-radius: 999px; font-size: 15px; font-family: inherit; cursor: pointer; }
.faq-categories .category-btn.active, .faq-categories .category-btn:hover { background: #2c5aa0; border-color: #2c5aa0; color: #fff; }
.quick-answers { padding: 50px 0 30px; }
.quick-answers .quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.quick-answers .quick-card { background: #fff; border: 1px solid #e3e9f1; border-radius: 16px; padding: 22px 16px; text-align: center; box-shadow: 0 4px 14px rgba(15,35,70,.05); }
.quick-answers .quick-icon { font-size: 30px; margin-bottom: 8px; }
.quick-answers .quick-card h3 { font-size: 16px; margin: 0 0 6px; color: #1e3a6e; }
.quick-answers .quick-card p { margin: 0 0 4px; font-size: 20px; color: #111; }
.quick-answers .quick-card span { font-size: 14px; color: #5b6676; }
.faq-list-section { padding: 30px 0 60px; }
.faq-container { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid #e3e9f1; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 10px rgba(15,35,70,.04); }
.faq-question { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; cursor: pointer; }
.faq-question h3 { margin: 0; font-size: 17px; line-height: 1.5; color: #111; }
.faq-toggle { flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; background: #eef3fa; color: #2c5aa0; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; transition: transform .2s; }
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; padding: 0 22px; }
.faq-answer > :first-child { margin-top: 0; }
.faq-item.active .faq-answer { padding-bottom: 18px; }
.faq-answer p, .faq-answer li, .faq-answer div { color: #222; font-size: 15px; line-height: 1.75; }
.faq-answer ol, .faq-answer ul { padding-left: 20px; margin: 8px 0; }
@media (max-width: 768px) {
  .quick-answers .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .faq-question { padding: 16px; }
  .faq-question h3 { font-size: 16px; }
  .faq-answer { padding: 0 16px; }
}
