@charset "utf-8";

@import url('https://fonts.googleapis.com/css?family=Noto+Sans+KR:300,400,500,700&display=swap&subset=korean');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;  /* 가로로 넘치는 건 그냥 잘라버리기 */
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans KR', sans-serif;
    background: #fff;
    color: #111;
    padding-top: 80px;   /* ← 헤더 높이만큼 여백 추가 */
}

/* 상단 헤더 */
.header {
    width: 100%;
    background: rgba(0, 0, 0, 1);   /* 완전 불투명 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.068);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(0px);
    transition: background 0.35s ease, backdrop-filter 0.35s ease;
}

.header.scrolled {
    background: rgba(0, 0, 0, 0.60);   /* 반투명 */
    backdrop-filter: blur(6px);        /* 배경을 은은하게 블러 처리 */
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 왼쪽 정렬 */
}

/* 로고 + 텍스트 묶음 */
.logo-area {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* 여기서 height 값으로 로고 크기 조절 */
.logo-area img {
    height: 40px;   /* 15px 말고 이 정도가 보통 적당합니다. 원하시면 숫자만 바꾸시면 됩니다. */
    display: block;
}

.logo-text {
    color: #fff;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -0.5px;
    font-family: 'Noto Sans KR', sans-serif;
    margin-left: 24px;
}

/* 메뉴 */
.nav {
    margin-left: auto;
}

.nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav a {
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    padding: 4px 0;
    transition: 0.25s ease;
}

.nav a:hover {
    color: #ff4040;
}

/* 모바일 햄버거 버튼 기본은 PC에서 숨김 */
.nav-toggle {
    display: none;
}

/* =========================
   메인 히어로 슬라이더
========================= */
.hero-slider {
    max-width: 1600px;
    margin: 40px auto 80px;
    padding: 0 20px;
    position: relative;
}

/* 각 슬라이드 박스 */
.hero-slide {
    background: #000;              /* 내부 큰 박스 색상 */
    border-radius: 24px;
    padding: 40px 48px;
    display: none;                 /* 기본은 숨김 */
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* 현재 노출되는 슬라이드 */
.hero-slide.active {
    display: flex;
}

/* 텍스트 영역 */
.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}

.hero-text {
    flex: 1.1;
    margin-left: 100px;   /* ← 숫자 조절해서 오른쪽으로 이동 */
}

.hero-label {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    background: #ff3b3b;
    color: #fff;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 32px;
    line-height: 1.3;
    color: #fff;
    margin: 0 0 18px;
}

.hero-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #ccc;
    margin: 0 0 24px;
}

/* 버튼 */
.hero-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid #fff;
    background: #fff;
    color: #000;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
}

.hero-btn:hover {
    background: #ff3b3b;
    border-color: #ff3b3b;
    color: #fff;
}

.hero-btn-outline {
    background: transparent;
    color: #fff;
}

/* 이미지 영역 */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;   /* 세로 가운데 정렬 */
}

.hero-image img {
    max-width: 440px;
    width: 100%;
    height: auto;
    border-radius: 24px;
    object-fit: contain;
}

/* 하단 점(인디케이터) */
.hero-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: #858585;
    cursor: pointer;
    padding: 0;
}

.hero-dot.active {
    width: 22px;
    background: #383838;
}

/* 간단한 반응형 */
@media (min-width: 961px) {
    .hero-slide {
        height: 500px;        /* PC에서만 높이 고정 */
        overflow: hidden;     /* 이미지 넘침 방지 */
    }
}

@media (max-width: 960px) {
    .hero-slide {
        padding: 28px 24px;
        min-height: auto;
        height: auto;         /* ← 높이 자동 */
        overflow: visible;    /* ← 안 잘리게 */
    }
    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    .hero-text {
        margin-left: 0;      /* ← 모바일에서는 왼쪽 여백 제거 */
        margin-top: 10px;    /* ← 살짝 위에서 떨어뜨려 주기 (선택) */
    }
    .hero-image {
        width: 100%;
        justify-content: center;
    }
    .hero-image img {
        max-width: 260px;
        height: auto;
        max-height: none;     /* 혹시 max-height 걸려있으면 풀어주는 느낌 */
        object-fit: contain;
    }
    .hero-title {
        font-size: 26px;
    }
}

/* =========================
   소개 섹션
========================= */
.intro-section {
    max-width: 1280px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.intro-title {
    text-align: center;
    font-size: 28px;
    letter-spacing: -0.5px;
    margin: 40px 0 10px;
}

.intro-divider {
    width: 80px;
    height: 2px;
    background: #000;
    margin: 0 auto 40px;
}

/* 공통 행 레이아웃 */
.intro-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
}

/* 이미지 박스 */
.intro-image {
    flex: 1;
}

.intro-image img {
    width: 100%;
    display: block;
    border-radius: 16px;
    object-fit: cover;
}

/* 텍스트 박스 */
.intro-text {
    flex: 1;
}

.intro-heading {
    font-size: 28px;
    margin: 0 0 14px;
}

.intro-desc {
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
    color: #333;
    font-weight: 500;   /* ← 살짝 굵게 */
}

/* 반응형 : 태블릿/모바일에서는 세로 정렬 */
@media (max-width: 960px) {
    .intro-row {
        flex-direction: column;
    }

    /* 두 번째 줄도 동일하게 위에서 아래로 쌓이게 */
    .intro-row-2 {
        flex-direction: column;
    }

    /* 모바일에서 이미지가 위로 오도록 순서 재배치 */
    .intro-row-2 .intro-image {
        order: -1;
    }

    /* 3번째 줄 모바일에서 이미지 먼저 */
    .intro-row-3 .intro-image {
        order: -1;
    }

    /* 4번째 줄 모바일에서 이미지 먼저 */
    .intro-row-4 .intro-image {
        order: -1;

    .intro-section {
        margin-bottom: 60px;
    }
  }
    .intro-title {
        font-size: 24px;
    }
}

@media (max-width: 960px) {

    /* 헤더 전체 패딩 조금 줄이기 */
    .header-inner {
        padding: 12px 16px;
    }

    /* 로고 텍스트 조금만 작게 */
    .logo-text {
        font-size: 20px;
        margin-left: 12px;
    }

    /* 모바일에서 햄버거 버튼 보이게 */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        width: 32px;
        height: 24px;
        margin-left: auto;          /* 로고 오른쪽 끝으로 밀기 */
        background: transparent;
        border: none;
        padding: 0;
        cursor: pointer;
    }

    .nav-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #ffffff;
        transition: 0.25s ease;
    }

    /* 햄버거 열린 상태 애니메이션 (선 3개 → X자) */
    .nav-toggle.is-open span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }
    .nav-toggle.is-open span:nth-child(2) {
        opacity: 0;
    }
    .nav-toggle.is-open span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    /* 모바일에서 메뉴는 아래로 슬라이드 다운되는 박스 느낌 */
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #111;
        margin-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        display: none;              /* 기본은 숨김 */
    }

    .nav.open {
        display: block;             /* 버튼 눌렀을 때만 표시 */
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav li + li {
        border-top: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav a {
        display: block;
        padding: 12px 20px;
        font-size: 15px;           /* 글씨 살짝 줄이기 */
    }
}


/* ==========================
   메인 주요업무 섹션
   ========================== */
.major-wrap {
    background:#f5f6fa;
    padding:70px 0 80px;
    border-top:1px solid #e1e4ec;
    border-bottom:1px solid #e1e4ec;
}

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

.major-title {
    text-align:center;
    font-size:2.6em;
    font-weight:800;
    letter-spacing:0.08em;
    margin:0 0 15px;
}

.major-subtitle {
    text-align:center;
    font-size:1.05em;
    color:#666;
    margin-bottom:45px;
}

/* 카드 그리드 */
.major-grid {
    display:grid;
    grid-template-columns:repeat(4, 1fr);  /* 4개씩 배치 */
    gap:32px 32px;
}

/* 개별 카드 */
.major-item {
    display:block;
    background:#fff;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 6px 18px rgba(0,0,0,0.08);
    text-decoration:none;
    color:#222;
    transition:transform 0.2s ease, box-shadow 0.2s ease, translate 0.2s ease;
}

/* 카드 hover 효과 */
.major-item:hover {
    transform:translateY(-6px);
    box-shadow:0 12px 28px rgba(0,0,0,0.15);
}

/* 썸네일 */
.major-thumb {
    position:relative;
    overflow:hidden;
    height:190px;
}

.major-thumb img {
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform 0.3s ease;
}

.major-item:hover .major-thumb img {
    transform:scale(1.04);
}

/* 카드 텍스트 */
.major-item-title {
    font-size:1.15em;
    font-weight:700;
    margin:18px 18px 8px;
}

.major-item-text {
    font-size:0.98em;
    line-height:1.6;
    color:#555;
    margin:0 18px 20px;
}

/* ============================================
   주요업무 반응형
   ============================================ */

/* 1200px 이하 – 3열 */
@media screen and (max-width: 1200px) {
    .major-inner {
        width: 95%;
    }
    .major-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}

/* 992px 이하 – 2열 */
@media screen and (max-width: 992px) {
    .major-title {
        font-size: 2.2em;
    }
    .major-subtitle {
        font-size: 1em;
    }
    .major-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px;
    }
}

/* 768px 이하 – 1열 */
@media screen and (max-width: 768px) {
    .major-wrap {
        padding: 50px 0 60px;
    }
    .major-title {
        font-size: 1.9em;
    }
    .major-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .major-thumb {
        height: 200px;
    }
    .major-item-title {
        font-size: 1.05em;
        margin: 15px 15px 6px;
    }
    .major-item-text {
        font-size: 0.95em;
        margin: 0 15px 18px;
    }
}

/* 480px 이하 – 더 준수한 모바일 스타일 */
@media screen and (max-width: 480px) {
    .major-title {
        font-size: 1.7em;
    }
    .major-thumb {
        height: 170px;
    }
}

/* ----------------------------- */
/* 주요업무 - 모바일 더보기 버튼 */
/* ----------------------------- */

/* PC에서는 버튼 숨김 */
.major-more {
    display: none;
    width: 220px;
    margin: 10px auto 0;
    padding: 12px 0;
    text-align: center;
    font-size: 1.05em;
    font-weight: 600;
    color: #fff;
    border-radius: 50px;
    background: linear-gradient(135deg, #1b1b1b, #2b2b2b);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.25s ease;
    border: 1px solid #3a3a3a;
}

.major-more:hover {
    background: linear-gradient(135deg, #242424, #393939);
    box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    transform: translateY(-2px);
}

/* 모바일에서 5번째 이후 카드 숨기기 + 버튼 보이기 */
/* 모바일에서 슬라이드 토글용 스타일 */
@media screen and (max-width: 768px) {

    /* 모든 카드에 애니메이션 기본값 */
    .major-grid .major-item {
        max-height: 500px;         /* 카드 한 개 높이보다 넉넉하게 */
        overflow: hidden;
        opacity: 1;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    /* 5번째 이후 카드는 기본적으로 접힌 상태 */
    .major-grid .major-item:nth-child(n+5) {
        max-height: 0;
        opacity: 0;
    }

    /* expanded가 붙으면 5번째 이후도 펼쳐서 보이기 */
    .major-grid.expanded .major-item:nth-child(n+5) {
        max-height: 500px;
        opacity: 1;
    }

    /* 모바일에서만 버튼 보이기 */
    .major-more {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .major-more {
        margin-top: 10px; /* 모바일은 더 타이트하게 */
    }
}

/* ===========================
   메인 최신글 - 사례 슬라이더 (고급형)
   =========================== */
.case-slider-wrap {
    max-width: 1200px;
    margin: 20px auto 60px; /* 위 20, 좌우 auto, 아래 60 */
    padding: 0 16px;
}

.case-slider {
    position: relative;
    overflow: hidden;
}

.case-slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

/* PC 기본: 3개 */
.case-card {
    flex: 0 0 calc(100% / 3);
    padding: 14px;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    /* 태블릿: 2개 */
    .case-card {
        flex: 0 0 calc(100% / 2);
    }
}

@media (max-width: 640px) {
    /* 모바일: 1개 */
    .case-card {
        flex: 0 0 100%;
    }
}

/* 기본 카드 스타일 */
.case-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 18px;
    border: 1px solid #e3e7f0;
    background-color: #ffffff;  /* ← 그라디언트 말고 순수 흰색 */
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    text-decoration: none;
    padding: 18px 18px 20px;
    box-sizing: border-box;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;  /* ← background-color 기준으로 */
}

/* 마우스 올렸을 때 */
.case-card-link:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
    border-color: #cfd4e1;
    background-color: #bebebe;  /* ← 조금 더 진한 회색톤으로 테스트 */
}



/* 큰 썸네일 */
.case-card-thumb {
    width: 100%;
    height: auto; /* 자동 높이 */
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
}

.case-card-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.case-card-link:hover .case-card-thumb img {
    transform: scale(1.05);
}


.case-card-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* 상단 메타: 날짜만 표시 */
.case-card-meta {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 4px;
}

.case-card-date {
    padding: 3px 10px;
    border-radius: 999px;
    background: #1f3fff;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
}

/* 제목 */
.case-card-title {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 700;
    color: #111827;
    margin: 4px 0 6px;
}

/* 요약 내용 */
.case-card-summary {
    font-size: 13px;
    line-height: 1.8;
    color: #4b5563;
    margin: 0;
}

/* 슬라이더 하단 점(●) 페이지네이션 */
.case-dots {
    text-align: center;
    margin-top: 14px;
}

.case-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    margin: 0 4px;
    padding: 0;
    background-color: #cbd1dd;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.case-dot:hover {
    background-color: #9aa3b8;
    transform: scale(1.1);
}

.case-dot.active {
    background-color: #1f3fff;
    transform: scale(1.3);
}

.case-section-box {
    text-align: center;
    margin: 50px 0 5px;
}

.case-section-box h2 {
    font-size: 36px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
}

/* -------------------------------------------
 * 기본 컨테이너 및 섹션 스타일 (배경 이미지 적용)
 * ------------------------------------------- */
.stats-wrap {
    position: relative;
    padding: 60px 0;
    background: url('/images/stats-bg.jpg') no-repeat center center/cover;
}

/* 어둡게 + 흐림 오버레이 */
.stats-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15); /* 필요하면 0.3 ~ 0.6 사이 설정 */
    backdrop-filter: blur(2px);   /* 필요하면 0px ~ 5px 사이 조절 */
    z-index: 0;
}

/* 내부 컨테이너 (카드 유지) */
.stats-container {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.35); /* ← 반투명 흰색 */
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    position: relative;
    z-index: 1;
    backdrop-filter: blur(5px); /* ← 고급스러운 유리효과(선택) */
}


/* -------------------------------------------
 * 각 통계 항목 스타일
 * ------------------------------------------- */
.stat-item {
    flex: 1;
    padding: 40px 20px;
    text-align: center;
    border-right: 1px solid #e9ecef; /* 구분선 */
    transition: all 0.3s ease; /* 애니메이션 효과 */
    position: relative;
    cursor: default;
}

.stat-item:last-child {
    border-right: none; /* 마지막 항목의 오른쪽 선 제거 */
}

/* -------------------------------------------
 * 호버(Hover) 효과
 * ------------------------------------------- */
.stat-item:hover {
    background: #f1f3f5; /* 마우스를 올리면 배경색 변경 */
    transform: translateY(-3px); /* 살짝 위로 이동 */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stat-item::before {
    /* 호버 시 상단 강조 선 */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #495057; /* 짙은 색상으로 강조 */
    transform: scaleX(0); /* 기본 상태는 숨김 */
    transition: transform 0.4s ease-out;
}

.stat-item:hover::before {
    transform: scaleX(1); /* 호버 시 나타남 */
}

/* -------------------------------------------
 * 숫자 스타일
 * ------------------------------------------- */
.stat-number {
    font-size: 60px;
    font-weight: 800;
    color: #424242; /* 짙은 회색 */
    margin-bottom: 5px;
    line-height: 1.1;
    font-family: 'Arial', sans-serif; /* 숫자에 가독성 높은 폰트 */
}

.stat-suffix,
.stat-unit {
    font-size: 24px;
    font-weight: 600;
    color: #575757; /* 접미사는 약간 흐리게 */
    margin-left: 5px;
    display: inline-block;
}

/* -------------------------------------------
 * 라벨 스타일
 * ------------------------------------------- */
.stat-label {
    margin-top: 15px;
}

.stat-label .main-text {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #343a40; /* 메인 텍스트는 진하게 */
    margin-bottom: 2px;
}

.stat-label .sub-text {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: #505050; /* 서브 텍스트는 흐리게 */
}

/* -------------------------------------------
 * 반응형 디자인 (Media Queries) - 992px 이하
 * ------------------------------------------- */
@media (max-width: 992px) {
    /* === 577px ~ 992px (태블릿) 스타일: 2x2 구조 === */
    .stats-container {
        flex-wrap: wrap;
        border-radius: 0;
    }

    .stat-item {
        flex: 1;
    padding: 40px 20px;
    text-align: center;
    border-right: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    cursor: default;
    /* 💥 추가: Flexbox 계산 오류 방지 */
    box-sizing: border-box;
    }
    
    .stat-item:nth-child(2n) {
        border-right: none; 
    }
    
    .stat-item:nth-last-child(-n+2) {
        border-bottom: none; 
    }
    
    /* 텍스트 크기 조정 */
    .stat-number { font-size: 40px; }
    .stat-suffix, .stat-unit { font-size: 18px; }
    .stat-label .main-text { font-size: 16px; }
    .stat-label .sub-text { font-size: 13px; }

    
    /* === 💥 576px 이하 (모바일) 스타일: 3+1 구조 강제 재정의 === */
    @media (max-width: 576px) {
        
        /* 1. 컨테이너 설정 */
        .stats-container {
            justify-content: flex-start !important;
            align-items: flex-start !important;
        }

        /* 2. stat-item 초기화 */
        .stat-item {
            border-bottom: 1px solid #e9ecef !important;
            padding: 25px 5px !important;
            flex: 0 0 100% !important; 
            max-width: 100% !important;
        }

        /* 3. 첫 번째 줄 (1, 2, 3번째 항목): box-sizing에 의존하여 33.333% 사용 */
        .stat-item:nth-child(-n+3) {
            flex: 0 0 33.3333% !important; /* 💥 정확한 값으로 복구 */
            max-width: 33.3333% !important; 
            border-right: 1px solid #e9ecef !important;
        }

        /* 세 번째 항목의 오른쪽 선 제거 */
        .stat-item:nth-child(3) {
            border-right: none !important;
        }
        
        /* 4. 네 번째 항목 (100% 너비) */
        .stat-item:nth-child(4) {
            flex: 0 0 100% !important; 
            max-width: 100% !important; 
            border-right: none !important;
            border-bottom: none !important; /* 마지막 항목이므로 아래 선 제거 */
            padding: 30px 15px !important;
        }

        /* 5. 폰트 크기 조정 */
        .stat-item:nth-child(-n+3) .stat-number { font-size: 32px !important; }
        .stat-item:nth-child(4) .stat-number { font-size: 48px !important; }
        .stat-suffix, .stat-unit { font-size: 14px !important; }
        .stat-label .main-text { font-size: 14px !important; }
        .stat-label .sub-text { font-size: 11px !important; }
    }
}

/* -------------------------------------------
 * 카운터 애니메이션 클래스 (JavaScript 필요)
 * ------------------------------------------- */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* data-counter가 있는 span에 애니메이션 적용을 위한 클래스 */
.counter-animate {
    animation: fadeInSlideUp 0.6s ease-out;
}

/* 공통 애니메이션 기본 상태 (처음엔 안 보이게 + 살짝 이동) */
.scroll-anim {
    opacity: 0;
    transition: all 0.8s ease-out;
    will-change: transform, opacity; /* 부드러운 애니메이션용 힌트 */
}

/* 왼쪽에서 슬라이드 인 */
.scroll-anim.from-left {
    transform: translateX(-40px);
}

/* 오른쪽에서 슬라이드 인 */
.scroll-anim.from-right {
    transform: translateX(40px);
}

/* 화면에 들어왔을 때 최종 상태 */
.scroll-anim.show {
    opacity: 1;
    transform: translateX(0);
}

/* 섹션 전체 스타일 */
.branch-section {
    padding: 0px 0;
    text-align: center;
}

.branch-title {
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 10px;
}

.branch-title span {
    color: #2d64ff;
}

.branch-subtitle {
    color: #555;
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* 카드 리스트 컨테이너 */
.branch-grid {
    display: flex;
    flex-wrap: wrap;          /* 줄바꿈 허용 */
    justify-content: center;  /* 마지막 줄까지 가운데 정렬 */
    gap: 25px;
    max-width: 1300px;
    margin: 0 auto;
}

/* 카드 디자인 */
.branch-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: 0.25s ease;

    /* PC 기본: 한 줄에 4개 */
    flex: 0 0 calc(20% - 18.75px);
    box-sizing: border-box;       /* ✅ 이거 추가 */
}

.branch-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.14);
}

/* 텍스트 스타일 */
.branch-name {
    font-size: 22px;
    font-weight: 700;
    color: #1f4fd7;
    margin-bottom: 8px;
}

.branch-phone {
    font-size: 17px;
    margin-bottom: 18px;
}

/* 아이콘 영역 */
.branch-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-block;
    background-size: contain;
}

.icon.phone {
    background: url('/images/phone-icon.png') no-repeat center center;
}

/* 카카오톡 아이콘 (HTML에 없지만 스타일은 유지) */
.icon.kakao {
    background: url('/images/kakao-icon.png') no-repeat center center;
}

/* --- 반응형 처리 --- */

/* 1. 태블릿 (max-width: 1024px): 3개씩 */
@media (max-width: 1024px) {
    .branch-card {
        flex: 0 0 calc(33.333% - 16.666px);  /* 3개 */
    }
}

/* 2. 모바일 (max-width: 768px): 2개씩 */
@media (max-width: 768px) {
    .branch-card {
        flex: 0 0 calc(50% - 18px);  /* 2개씩 나오도록 */
        padding: 28px 14px;
    }

    .branch-grid {
        gap: 18px;
        padding: 0 10px;
    }
}

/* 480px용이 있으면 아예 지우거나, 위랑 똑같이 맞춰 */
@media (max-width: 480px) {
    .branch-card {
        flex: 0 0 calc(50% - 18px);  /* 여기도 2개 유지 */
        padding: 24px 12px;          /* 살짝 더 줄여도 됨 */
    }
}



.profile-section {
    padding: 30px 0;
    text-align: center;
    background: #f5f7fb;
}

.profile-title {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 40px;
    color: #222;
}

.profile-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.profile-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
}

.profile-card img {
    width: 100%;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr; /* 1열 */
        gap: 20px;
        padding: 0 15px;
    }

    .profile-card img {
        width: 100%;  /* 모바일에서 꽉 차게 */
        height: auto;
    }
}

/* 전체 섹션 */
.profile-image-section {
    padding: 40px 0;
}

/* 2열 레이아웃 (PC) */
.profile-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* ← 좌/우 2개 */
    gap: 40px; /* PC에서는 여백 넉넉하게 */
    padding: 0 20px;
}

/* 각 아이템(이미지 박스) */
.profile-item {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

.profile-item img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

/* --------------------------------------------
   모바일 최적화 (핵심)
   - 1열로 변경
   - 위아래 간격 줄이기
--------------------------------------------- */

@media (max-width: 768px) {
    .profile-wrapper {
        grid-template-columns: 1fr; /* 1열 전환 */
        gap: 20px; /* ← PC 40px → 모바일 20px (간격 크게 줄임) */
        padding: 0 12px;
    }

    .profile-image-section {
        padding: 20px 0;  /* 섹션 자체 높이 감소 */
    }

    .profile-item {
        padding: 10px;   /* 카드 안쪽 패딩 줄임 */
        box-shadow: 0 5px 16px rgba(0,0,0,0.06);
    }
}

/* 제목 + 섹션 공통 */
.advisor-section {
    padding: 10px 0;
    text-align: center;
}

.advisor-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 30px;
    color: #222;
}

/* 이미지 감싸는 카드 박스 */
.advisor-image-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
}

/* 실제 이미지 */
.advisor-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* 모바일 최적화 — 간격 감소 + 오버사이즈 방지 */
@media (max-width: 768px) {
    .advisor-section {
        padding: 10px 0;
    }

    .advisor-title {
        font-size: 26px;
        margin-bottom: 18px;
    }

    .advisor-image-wrapper {
        padding: 10px;
        border-radius: 10px;
        box-shadow: 0 5px 16px rgba(0,0,0,0.06);
    }

    .advisor-image {
        border-radius: 8px;
    }
}

/* ================================
   Glassmorphic Footer (고급형)
================================ */
.footer {
    width: 100vw;                         /* 화면 전체 폭 */
    margin-left: calc(50% - 50vw); 
    margin-top: 40px;

    background: rgba(0, 0, 0, 0.80);   /* 매우 선명 + 약간의 투명감 */
    backdrop-filter: blur(8px);

    border-top: 1px solid rgba(255,255,255,0.15);

    padding: 40px 0 25px;

    color: #ffffff; /* 선명한 흰색 */
}

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

    display: flex;
    justify-content: space-between;
    gap: 40px;
}

/* 왼쪽 영역 */
.footer-brand {
    flex: 1;
}

.footer-logo {
    width: 140px;
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #e0e0e0;
    margin: 0;
}

/* 오른쪽 회사 정보 */
.footer-info {
    flex: 1;
    text-align: right;
}

.footer-info-item {
    font-size: 15px;
    color: #ddd;
    margin: 3px 0;
    list-style: none;     /* 글머리 제거 */
}

/* 하단 저작권 */
.footer-bottom {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: #bfbfbf;

    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 18px;
}

/* -------------------------
   반응형
-------------------------- */
@media (max-width: 768px) {

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-info {
        text-align: center;
    }

    .footer-logo {
        width: 120px;
        margin: 0 auto 10px;
    }
}

/* 전체 래핑 */
.ld-main-info-wrap {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    position: relative;
}

/* 슬라이더 기본 */
.ld-main-info-slider {
    overflow: hidden;
    position: relative;
}

.ld-main-info-track {
    display: flex;
    transition: transform 0.6s ease;
    will-change: transform;
}

.ld-main-info-card {
    flex: 0 0 100%;
    box-sizing: border-box;
}

.ld-main-info-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* =========================
   유리 카드 (더 밝고 고급스럽게)
   ========================= */
.ld-main-info-card-inner {
    display: flex;
    align-items: stretch;
    gap: 32px;
    padding: 28px 34px;
    border-radius: 24px;

    /* 진짜 유리 느낌: 살짝 밝은 톤 */
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.10),
        rgba(255,255,255,0.03)
    );
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    /* 외곽선은 은은한 그라데이션 느낌 */
    position: relative;
    overflow: hidden;
}

/* 테두리 그라데이션 */
.ld-main-info-card-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(90,120,255,0.2));
    -webkit-mask:
      linear-gradient(#000 0 0) content-box,
      linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* 왼쪽 컬러 포인트 바 */
.ld-main-info-card-inner::after {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    bottom: 18px;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffb882, #ff6b7a);
    opacity: 0.9;
}

/* hover 시 카드 전체 반응 */
.ld-main-info-card-inner {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

.ld-main-info-card-inner:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.55);
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.16),
        rgba(255,255,255,0.05)
    );
}

/* 텍스트 영역 */
.ld-main-info-text {
    flex: 1.5;
    min-width: 0;
    position: relative;
    z-index: 1;
    color: #0b0c12;
}

/* 태그 */
.ld-main-info-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 11px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(0,0,0,0.08);
    color: rgba(0,0,0,0.60);
    background: rgba(255,255,255,0.8);
    margin-bottom: 10px;
}

.ld-main-info-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: radial-gradient(circle, #ff8a62, #ff4d7d);
}

/* 제목 – 2줄까지만 */
.ld-main-info-title {
    font-size: 21px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 8px;
    color: #111218;

    display: -webkit-box;
    -webkit-line-clamp: 2;  /* 두 줄 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 요약 – 3줄 제한 */
.ld-main-info-summary {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(17,18,24,0.78);
    margin-bottom: 16px;

    display: -webkit-box;
    -webkit-line-clamp: 4;   /* 3 → 4줄로 변경 */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 메타 정보 */
.ld-main-info-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: rgba(30,32,46,0.7);
    margin-bottom: 14px;
}

.ld-main-info-date::before {
    content: "게시일 ";
    font-weight: 400;
    color: rgba(30,32,46,0.6);
}

.ld-main-info-comments {
    padding-left: 10px;
    border-left: 1px solid rgba(0,0,0,0.12);
}

/* 자세히 보기 */
.ld-main-info-more {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #1f2236;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ld-main-info-more::after {
    content: "";
    width: 34px;
    height: 1px;
    background: linear-gradient(to right, #1f2236, transparent);
    transform-origin: left center;
    transform: scaleX(0.7);
    transition: transform 0.3s ease;
}

.ld-main-info-card-inner:hover .ld-main-info-more::after {
    transform: scaleX(1);
}

/* 썸네일 영역 */
.ld-main-info-thumb-wrap {
    flex: 1;
    min-width: 0;
    position: relative;
}

.ld-main-info-thumb {
    width: 100%;
    height: 100%;
    min-height: 220px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 16px 35px rgba(0,0,0,0.35);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ld-main-info-card-inner:hover .ld-main-info-thumb {
    transform: translateY(-2px);
    box-shadow: 0 22px 45px rgba(0,0,0,0.55);
}

/* 썸네일 없을 때 */
.ld-main-info-thumb--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: rgba(20,22,36,0.7);
    background: linear-gradient(145deg, #f2f3f7, #dadee8);
    text-align: center;
    padding: 16px;
}

/* 하단 점 네비게이션 */
.ld-main-info-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.ld-main-info-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    border: none;
    padding: 0;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.25s ease;
}

.ld-main-info-dot.active {
    width: 18px;
    background: #ffffff;
}

/* 글 없음 표시 */
.ld-main-info-empty {
    max-width: 1200px;
    margin: 40px auto;
    padding: 18px 20px;
    font-size: 14px;
    color: #666;
}

/* 반응형 */
@media (max-width: 1024px) {
    .ld-main-info-card-inner {
        padding: 24px 24px;
        gap: 20px;
        border-radius: 22px;
    }

    .ld-main-info-title {
        font-size: 19px;
    }
}

@media (max-width: 768px) {
    .ld-main-info-card-inner {
        flex-direction: column;
        padding: 20px 18px;
        border-radius: 20px;
    }

    .ld-main-info-thumb-wrap {
        order: -1;
    }

    .ld-main-info-thumb {
        min-height: 190px;
        border-radius: 16px;
    }

    .ld-main-info-wrap {
        margin: 40px auto;
        padding: 0 14px;
    }
}

/* =========================
   FAQ Accordion
   ========================= */

.faq-section {
    max-width: 1200px;
    margin: 80px auto 100px;
    padding: 0 16px;
}

.faq-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.03em;
    color: #111;
}

.faq-divider {
    width: 52px;
    height: 2px;
    background: #111;
    margin: 16px auto 40px;
}

.faq-list {
    border-top: 1px solid #e5e5e5;
}

.faq-item {
    border-bottom: 1px solid #e5e5e5;
}

.faq-q {
    width: 100%;
    text-align: left;
    padding: 20px 48px 20px 12px;
    font-size: 17px;
    font-weight: 600;
    color: #111;
    background: #fff;
    border: none;
    cursor: pointer;
    position: relative;
    transition: background-color 0.15s ease;
}

.faq-q:hover {
    background: #f7f7f7;
}

.faq-icon {
    width: 18px;
    height: 18px;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}
.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    background: #333;
    transition: .2s ease;
}

.faq-icon::before {
    width: 100%;
    height: 2px;
    top: 8px;
    left: 0;
}

.faq-icon::after {
    width: 2px;
    height: 100%;
    top: 0;
    left: 8px;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-a {
    display: none;
    padding: 0 12px 20px 12px;
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

/* Mobile */
@media (max-width: 768px) {
    .faq-title { font-size: 22px; }
    .faq-q { font-size: 16px; padding: 18px 42px 18px 10px; }
    .faq-a { font-size: 14px; }
}

/* =========================
   Floating Call Button (PC 전용)
   ========================= */
.floating-call-btn {
    position: fixed;
    right: 24px;
    bottom: 28px;
    background: #ff4040;
    color: #fff;
    padding: 14px 22px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 40px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
    z-index: 9999;
    text-decoration: none;
    transition: all 0.25s ease;
}

.floating-call-btn:hover {
    background: #e13030;
    transform: translateY(-2px);
}

/* 모바일에서는 안보이게 */
@media (max-width: 768px) {
    .floating-call-btn {
        display: none !important;
    }
}

.call_number {
    display: none;
}

@media (max-width: 1024px) {
    .call_number {
        display: block;
        position: fixed;
        left: 50%;
        bottom: 18px;
        transform: translateX(-50%);
        width: calc(100% - 32px);
        max-width: 420px;
        z-index: 9999;
    }

    .call-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;

        width: 100%;
        padding: 14px 20px;

        /* ✨ 핵심: 어두운 반투명 + 글라스 효과 */
        background: rgba(20, 20, 20, 0.65);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);

        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.15);

        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28);
        text-decoration: none;
    }

    .call-label {
        font-size: 14px;
        font-weight: 600;
        color: rgba(255,255,255,0.95);
    }

    .call-num {
        font-size: 20px;
        font-weight: 800;
        color: #ffeb3b; /* 노란색 - 시인성 최고 */
    }

    .call-link:active {
        transform: scale(0.97);
        box-shadow: 0 5px 12px rgba(0,0,0,0.3);
    }
}

@media (min-width: 1025px) {
    .call_number {
        display: none !important;
    }
}

/* =========================
   흥신소 의뢰비용 서브 페이지
   ========================= */

.cost-page {
    padding-bottom: 80px;
}

/* 서브 히어로 영역 */
.sub-hero {
    position: relative;
    width: 100%;
    height: 340px; /* 높이 조절 가능 */
    background: url('/images/cost-hero.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* 어둡게 보정하는 오버레이 */
.sub-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
}

/* 텍스트 */
.sub-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 0 20px;
    max-width: 800px;
}

.sub-hero-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 18px;
}

.sub-hero-desc {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
}


/* 공통 섹션 */

.cost-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 20px 24px;
    border-bottom: 1px solid #eee;
}

.cost-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 18px;
}

.cost-text {
    font-size: 15px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 10px;
}

/* 비용 산정 기준 카드 */

.cost-factor-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.cost-factor {
    padding: 20px 18px;
    border-radius: 14px;
    background: #fafafa;
    border: 1px solid #eee;
}

.cost-factor-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cost-factor-text {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

/* 의뢰 유형 카드 */

.cost-type-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.cost-type {
    padding: 20px 18px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #eee;
}

.cost-type-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 999px;
    background: #111;
    color: #ffeb3b;
    margin-bottom: 8px;
}

.cost-type-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cost-type-text,
.cost-type-note {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

/* 주의사항 리스트 */

.cost-check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.cost-check-item {
    padding: 20px 18px;
    border-radius: 14px;
    background: #fafafa;
    border: 1px solid #eee;
}

.cost-check-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cost-check-text {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
}

/* 무료 상담 CTA */

.cost-consult {
    border-bottom: none;
    padding-bottom: 60px;
}

.cost-consult-cta {
    margin-top: 20px;
    text-align: left;
}

.cost-consult-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    background: #ff4040;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0,0,0,0.25);
    transition: all 0.2s ease;
}

.cost-consult-btn:hover {
    background: #e13030;
    transform: translateY(-1px);
}

.cost-consult-note {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
}

/* 반응형 */

@media (max-width: 960px) {
    .sub-hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .sub-hero-image {
        text-align: left;
    }

    .sub-hero-image img {
        max-width: 100%;
    }

    .cost-factor-grid,
    .cost-type-grid,
    .cost-check-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .sub-hero {
        padding: 40px 16px 28px;
    }

    .sub-hero-title {
        font-size: 24px;
    }

    .cost-title {
        font-size: 20px;
    }
}
