/* ==========================================================
   디에스파트너즈 (DSPARTNERS) - 원페이지 홈페이지  [B안: 어두운 배경 + 어두운 소개 문구]
   브랜드 색상 (CI 원본 기준): 파랑 #005bab / 녹색 #66844d
   ========================================================== */

:root {
    --brand-blue: #005bab;
    --brand-green: #66844d;
    --text: #333;
    --text-sub: #666;
    --line: #e5e5e5;
    --page-bg: #070c16;
    --on-dark: #c9d3e3;
    --on-dark-dim: #8b97ab;
    --banner-yellow: #f5e83a;
}

* { box-sizing: border-box; }

html { background: var(--page-bg); }
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: "Noto Sans KR", "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    -webkit-text-size-adjust: 100%;
    word-break: keep-all;
    /* 블러 처리한 히어로 이미지를 상단에 깔고 아래로 갈수록 어두운 남색으로 */
    background:
        linear-gradient(to bottom, rgba(7, 12, 22, .35) 0, rgba(7, 12, 22, .85) 55vw, var(--page-bg) 80vw),
        url("../images/hero_blur.jpg") no-repeat center top / 100% auto,
        var(--page-bg);
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }

.inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- 헤더 / 로고 (흰 띠) ---------- */
#header {
    background: #fff;
    padding: 26px 0 22px;
}
#header .logo { margin: 0; }
#header .logo img { width: 320px; }

/* ---------- 메인 비주얼 (전체 폭) ---------- */
#visual {
    position: relative;
    width: 100%;
    height: 25vw;
    min-height: 320px;
    max-height: 500px;
    background: #000 url("../images/hero.jpg") no-repeat center center;
    background-size: cover;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .6);
}
#visual .banner-text {
    display: none;
    position: relative;
    height: 100%;
    padding: 0 20px;
    text-align: center;
    color: #fff;
    flex-direction: column;
    justify-content: center;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
}
#visual .banner-text p { margin: 0; }
#visual .banner-text .en {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.3;
}
#visual .banner-text .en .cap {
    color: #3d8ff0;
    font-weight: 700;
}
#visual .banner-text .ko {
    margin-top: 14px;
    font-size: 20px;
    font-weight: 500;
    color: var(--banner-yellow);
}

/* ---------- 소개 문구 (어두운 배경 위 밝은 글자, 푸터와 동일 톤) ---------- */
#contents {
    padding: 56px 0 40px;
}
#contents .card {
    padding: 0 4px;
    text-align: center;
}
#contents .intro {
    margin: 0 0 26px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--on-dark-dim);
}
#contents .intro:first-child {
    font-size: 20px;
    font-weight: 500;
    color: #fff;
}
#contents .intro:last-child { margin-bottom: 0; }

/* ---------- 회사 정보 / 푸터 (어두운 배경 위 밝은 글자) ---------- */
#footer {
    padding: 8px 0 56px;
    font-size: 14px;
    line-height: 1.8;
    color: var(--on-dark-dim);
    text-align: center;
}
#footer p { margin: 0; }
#footer .company {
    margin-bottom: 4px;
    font-size: 15px;
    color: #fff;
}
#footer .info a,
#footer .info .val { color: var(--on-dark); }
#footer .sep { margin: 0 8px; color: #3a4556; }
#footer .copyright {
    margin-top: 14px;
    font-size: 12px;
    color: #5e6b7f;
}

/* ---------- 반응형 ---------- */
@media (max-width: 900px) {
    body {
        background:
            linear-gradient(to bottom, rgba(7, 12, 22, .2) 0, rgba(7, 12, 22, .9) 420px, var(--page-bg) 600px),
            url("../images/hero_blur.jpg") no-repeat 62% top / auto 420px,
            var(--page-bg);
    }
    #visual {
        height: auto;
        min-height: 0;
        max-height: none;
        background-image: url("../images/hero_blur.jpg");
        background-position: 62% center;
    }
    #visual .banner-text {
        display: flex;
        padding: 52px 20px 48px;
    }

    #header { padding: 20px 0 18px; }
    #header .logo img { width: 250px; }

    #contents { padding-top: 36px; }
    #contents .intro { font-size: 16px; }
    #contents .intro:first-child { font-size: 19px; }
}

@media (max-width: 480px) {
    #header .logo img { width: 215px; }

    #visual .banner-text { padding: 40px 16px 36px; }
    #visual .banner-text .en { font-size: 21px; }
    #visual .banner-text .ko { font-size: 17px; }

    #contents .intro br { display: none; }
    #footer .sep { display: block; height: 0; overflow: hidden; margin: 0; }
}
