/* =========================================================
   햇바람발전소 회사소개 (헤더/푸터 제외)
   공용 프리미티브(.hb-inner/.hb-eyebrow/.hb-sec-title/.hb-sec-head/.hb-sec-desc)는
   app_www/base/css/common.css 사용. 여기는 회사소개 전용 레이아웃만.
   반응형: 375px ~ 폴드 펼침 이상
   ========================================================= */

.ab-main {
    color: #16222a;
    background: #fff;
}

.ab-main * {
    box-sizing: border-box;
}

/* 섹션 공통 좌우 여백 */
.ab-main>section {
    padding-left: clamp(20px, 5vw, 80px);
    padding-right: clamp(20px, 5vw, 80px);
}

/* =========================================================
   1. HERO  (height 고정 X → min-height + padding, 추후 배경이미지)
   ========================================================= */
.ab-main .ab-hero {
    display: flex;
    padding: 0;
    background: url(/static/app_www/main/img/cm08177973.jpg) no-repeat center/cover;
}

.ab-hero__inner {
    background:
        linear-gradient(180deg, rgba(40, 50, 55, .32) 0%, rgba(40, 50, 55, 0) 60%);
    width: 100%;
    /* max-width: 780px; */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: clamp(340px, 40vw, 445px);
    padding-top: clamp(64px, 10vw, 102px);
    padding-bottom: clamp(64px, 10vw, 102px);
    padding-left: clamp(20px, 5vw, 80px);
    padding-right: clamp(20px, 5vw, 80px);
    text-align: center;
}

.ab-hero__eyebrow {
    margin-bottom: 14px;
    font-size: clamp(12px, 1.5vw, 13px);
    font-weight: 700;
    letter-spacing: .16em;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .18);
}

.ab-hero__title {
    font-size: clamp(26px, 5.2vw, 40px);
    font-weight: 800;
    line-height: 1.32;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .22);
}

.ab-hero__title strong {
    font-weight: 900;
}

.ab-hero__sub {
    margin-top: clamp(12px, 1.8vw, 18px);
    font-size: clamp(13px, 1.7vw, 16px);
    line-height: 1.6;
    color: rgba(255, 255, 255, .82);
    text-shadow: 0 1px 8px rgba(0, 0, 0, .18);
}

/* =========================================================
   2. INTRO
   ========================================================= */
.ab-intro {
    padding-top: clamp(56px, 9vw, 90px);
    padding-bottom: clamp(56px, 9vw, 90px);
    background: #fff;
}

.ab-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.ab-intro__title {
    font-size: clamp(22px, 3.2vw, 30px);
    font-weight: 800;
    line-height: 1.4;
    color: #16222a;
}

.ab-intro__desc p {
    font-size: clamp(14px, 1.7vw, 16px);
    line-height: 1.55;
    color: #4b5563;
}

.ab-intro__desc p+p {
    margin-top: 17px;
}

.ab-intro__sign {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: clamp(28px, 4vw, 40px);
}

.ab-intro__sign span {
    font-size: clamp(15px, 1.9vw, 20px);
    font-weight: 600;
    color: #222;
    white-space: nowrap;
}

.ab-intro__sign img {
    width: 52px;
    height: clamp(30px, 4vw, 39px);
    display: block;
}

/* =========================================================
   3. ROADMAP
   ========================================================= */
.ab-roadmap {
    padding-top: clamp(56px, 9vw, 90px);
    padding-bottom: clamp(56px, 9vw, 90px);
    background: #f4f7f6;
}

.ab-roadmap__wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(28px, 4vw, 40px);
}

.ab-roadmap__wrap .hb-sec-head {
    margin-bottom: 0;
}

.ab-rd {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

/* 카드 뒤 연결선 (노드 중앙 높이) */
.ab-rd__line {
    position: absolute;
    left: 14%;
    right: 14%;
    top: 50%;
    transform: translateY(-50%);
    height: 2px;
    background: linear-gradient(90deg, #1b3a48 0%, #4f8a3f 50%, #e3a23a 100%);
    opacity: .35;
    z-index: 0;
}

.ab-rd__card {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 23px;
    background: #fff;
    border: 1px solid #e6eaec;
    border-radius: 12px;
}

.ab-rd__node {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

.ab-rd__node--short {
    background: linear-gradient(135deg, #1b3a48 0%, #27556a 100%);
}

.ab-rd__node--mid {
    background: linear-gradient(135deg, #4f8a3f 0%, #3f7a3a 100%);
}

.ab-rd__node--long {
    background: linear-gradient(135deg, #e3a23a 0%, #c87f1f 100%);
}

.ab-rd__term {
    margin-top: 16px;
    font-size: 17px;
    font-weight: 800;
    color: #16222a;
}

.ab-rd__en {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 600;
    color: #94a0a7;
}

.ab-rd__desc {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.65;
    color: #5a646c;
}

/* =========================================================
   4. STRENGTH (다크)
   ========================================================= */
.ab-strength {
    padding-top: clamp(56px, 9vw, 90px);
    padding-bottom: clamp(56px, 9vw, 90px);
    background: #1b3a48;
}

.ab-strength__wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(28px, 4vw, 40px);
}

.ab-strength__wrap .hb-sec-head {
    margin-bottom: 0;
}

.ab-str {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 16px;
    overflow: hidden;
}

.ab-str__cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 7px;
    padding: 28px;
}

.ab-str__cell+.ab-str__cell {
    border-left: 1px solid rgba(255, 255, 255, .14);
}

.ab-str__big {
    font-size: clamp(30px, 4vw, 38px);
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
}

.ab-str__big em {
    font-style: normal;
    color: #bfe3c2;
}

.ab-str__h {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
}

.ab-str__desc {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .72);
}

/* =========================================================
   5. HISTORY (타임라인)
   ========================================================= */
.ab-history {
    padding-top: clamp(56px, 9vw, 90px);
    padding-bottom: clamp(56px, 9vw, 90px);
    background: #fff;
}

.ab-history__wrap {
    display: flex;
    gap: clamp(40px, 6vw, 80px);
    align-items: flex-start;
}

.ab-history__head {
    flex: 0 0 auto;
    width: 342px;
    max-width: 100%;
}

.ab-tl {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}

/* 세로 라인 */
.ab-tl::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 7px;
    bottom: 6px;
    width: 2px;
    background: #e6eaec;
}

.ab-tl__item {
    position: relative;
    padding-left: 30px;
    padding-bottom: 20px;
}

.ab-tl__item:last-child {
    padding-bottom: 0;
}

/* 노드(점) */
.ab-tl__item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #4f8a3f;
    box-sizing: border-box;
}

.ab-tl__date {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #1b3a48;
}

.ab-tl__title {
    margin-top: 4px;
    font-size: 16px;
    font-weight: 700;
    color: #16222a;
}

.ab-tl__desc {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.5;
    color: #5a646c;
}

/* =========================================================
   6. CERTIFICATIONS (이미지 플레이스홀더 — 추후 교체)
   ========================================================= */
.ab-cert {
    position: relative;
    overflow: hidden;
    padding-top: clamp(56px, 9vw, 90px);
    padding-bottom: clamp(56px, 9vw, 90px);
    background: linear-gradient(180deg, #F8FAF8 65%, #E7F2E8 65%);
}


.ab-cert .hb-inner {
    position: relative;
    z-index: 1;
}

.ab-cert__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 19px;
}

.ab-cert__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 0;
}

.ab-cert__img {
    width: 100%;
    aspect-ratio: 364 / 482;
    border: 1px solid #bbb;
    border-radius: 4px;
    background: linear-gradient(180deg, #a6a6a6 0%, #f4f7f6 100%);
}

.ab-cert__card figcaption {
    font-size: 16px;
    font-weight: 600;
    color: #222;
}

/* =========================================================
   7. LOCATION (지도)
   ========================================================= */
.ab-location {
    padding-top: clamp(56px, 9vw, 90px);
    padding-bottom: clamp(56px, 9vw, 90px);
    background: #fff;
}

.ab-loc__wrap {
    display: flex;
    gap: clamp(40px, 6vw, 80px);
    align-items: flex-start;
    justify-content: space-between;
}

.ab-loc__info {
    flex: 1 1 0;
    flex-shrink: 0;
    min-width: 264px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ab-loc__addr {
    margin-top: 12px;
    font-size: clamp(14px, 1.7vw, 16px);
    line-height: 1.55;
    color: #222;
}

.ab-loc__line {
    width: 100%;
    height: 1px;
    border: 0;
    background: #e1e1e1;
    margin: 0;
}

.ab-loc__contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
}

.ab-loc__row {
    display: flex;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
}

.ab-loc__row dt {
    flex: 0 0 100px;
    font-weight: 500;
    color: #222;
}

.ab-loc__row dd {
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
    color: #5e5e5e;
}

.ab-loc__map {
    flex: 1 auto;
    max-width: 603px;
    height: 346px;
    border: 1px solid #bbb;
    border-radius: 8px;
    overflow: hidden;
    background: #eef2f4;
    background-color: #000;
}

.root_daum_roughmap .wrap_map {
    height: 100% !important;
}

.root_daum_roughmap .wrap_controllers {
    display: none !important;
}

/* =========================================================
   반응형 - 태블릿/모바일 (≤ 768px)
   ========================================================= */
@media (max-width: 768px) {

    /* INTRO 1단 */
    .ab-intro__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ab-intro__sign {
        justify-content: flex-start;
    }

    /* ROADMAP 세로 적층 + 연결선 숨김 */
    .ab-rd {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ab-rd__line {
        display: none;
    }

    /* STRENGTH 세로 적층 */
    .ab-str {
        grid-template-columns: 1fr;
    }

    .ab-str__cell+.ab-str__cell {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .14);
    }

    /* HISTORY 세로 적층 */
    .ab-history__wrap {
        flex-direction: column;
        gap: 28px;
    }

    .ab-history__head {
        width: 100%;
    }

    /* CERTIFICATIONS 1단 */
    .ab-cert__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 420px;
        margin: 0 auto;
    }


    /* LOCATION 세로 적층 */
    .ab-loc__wrap {
        flex-direction: column;
        gap: 28px;
    }

    .ab-loc__map {
        width: 100%;
        max-width: 100%;
        height: auto;
        aspect-ratio: 603/346;
    }

    .ab-cert {
        background: #f8faf8;
    }

    .ab-loc__info {
        min-width: 0;
    }
}