/* ===== 색 정의 ===== */
:root {
    --brand: #1e3a5f;
    --accent: #8ec5ff;
    --text: #222;
    --white: #fff;
    --bg-light: #f5f7fa;
}

/* ===== 기본 초기화 ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
    color: var(--text);
}

/* ===== 헤더 ===== */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    z-index: 10;
}

.logo {
    color: var(--white);
    font-weight: bold;
    text-decoration: none;
}

/* ===== 히어로 ===== */
.hero {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    background-color: var(--brand);
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url("/images/home_image.jpg");
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.hero-title {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 32px;
}

.highlight {
    color: var(--accent);
}

.btn-call {
    display: block;
    padding: 16px;
    border-radius: 8px;
    background-color: var(--white);
    color: var(--brand);
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
}

/* ===== 공통 구역 ===== */
.section {
    padding: 48px 24px;
}

.section-title {
    font-size: 1.5rem;
    color: var(--brand);
    margin-bottom: 16px;
}

/* ===== 하는 일 카드 ===== */
.services {
    background-color: var(--bg-light);
}

.card-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.card {
    padding: 20px;
    border-left: 4px solid var(--brand);
    border-radius: 8px;
    background-color: var(--white);
}

.card-title {
    font-size: 1.1rem;
    color: var(--brand);
    margin-bottom: 4px;
}

/* ===== 푸터 ===== */
.site-footer {
    padding: 32px 24px 96px;
    background-color: var(--brand);
    color: var(--white);
    font-size: 0.9rem;
}

.footer-name {
    font-weight: bold;
    margin-bottom: 8px;
}

.copyright {
    margin-top: 16px;
    opacity: 0.7;
}

/* ===== 플로팅 전화 버튼 ===== */
.floating-call {
    position: fixed;
    right: 16px;
    bottom: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    width: 56px;
    height: 56px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--white);
    border-radius: 50%;
    background-color: var(--brand);
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 20;
}

/* ===== PC 화면 (768px 이상) ===== */
@media (min-width: 768px) {
    .site-header {
        padding: 24px 10%;
    }

    .hero {
        padding: 24px 10%;
    }

    .hero-title {
        font-size: 3rem;
    }

    .btn-call {
        align-self: flex-start;
        padding: 16px 48px;
    }

    .section {
        padding: 64px 10%;
    }

    .card-list {
        flex-direction: row;
    }

    .card {
        flex: 1;
    }

    .site-footer {
        padding: 48px 10%;
    }
}
