/* ========================================
   SEED HEALTHCARE - FRONT PAGE STYLES
   홈 페이지 콘텐츠 전용 CSS
   주의: 헤더/메가메뉴는 style.css에서만 관리합니다.
   ======================================== */

/* ========================================
   01. BASE & UTILITIES
   ======================================== */
.sh-container {
    width: 100%;
    overflow: hidden;
}

.sh-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.sh-sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sh-con-title {
    text-align: center;
    margin-bottom: 60px;
}

.sh-con-title--left {
    text-align: left;
    margin-bottom: 32px;
}

.sh-con-title h2 {
    font-size: clamp(32px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: 0.05em;
    margin: 0 0 16px;
    color: var(--sh-text-primary, #1a1a1a);
    line-height: 1.2;
}

.sh-con-title h2 span {
    color: var(--sh-accent-secondary, #00A8B5);
    margin-right: 0.02em;
}

.sh-con-title p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin: 0;
}


/* ========================================
   02. HERO SLIDER
   ======================================== */
.sh-main-visual {
    width: 100%;
    overflow: hidden;
}

.sh-hero-swiper {
    width: 100%;
    height: 100vh;
    max-height: 900px;
    min-height: 600px;
}

.sh-hero-swiper,
.sh-hero-swiper .swiper-wrapper,
.sh-hero-swiper .swiper-slide {
    width: 100%;
}

.sh-hero-slide {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.58) 0%,
            rgba(0, 0, 0, 0.35) 45%,
            rgba(0, 0, 0, 0.12) 100%
        ),
        var(--sh-hero-bg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.sh-hero-slide--1 {
    background-color: #0a3d62;
}

.sh-hero-slide--2 {
    background-color: #003c5c;
}

.sh-hero-text {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 24px 0;
    color: #ffffff;
}

.sh-lviewa {
    display: block;
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    color: #ffffff;
}

.sh-sviewa {
    display: block;
    font-size: clamp(20px, 2.5vw, 32px);
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.02em;
}

.sh-sbtn {
    display: inline-block;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.15);
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    border-radius: 2px;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sh-hero-pagination {
    bottom: 32px !important;
    text-align: center !important;
    width: 100% !important;
    left: 0 !important;
}

.sh-hero-pagination .swiper-pagination-bullet {
    width: 32px;
    height: 3px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transition: all 0.25s ease;
}

.sh-hero-pagination .swiper-pagination-bullet-active {
    background: #ffffff;
    width: 48px;
}

/* HERO 슬라이드 화살표 - 텍스트 영역 밖으로 이동 */
.sh-hero-next,
.sh-hero-prev {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;

    background: rgba(15, 23, 42, 0.46) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: rgba(255, 255, 255, 0.88) !important;

    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;

    z-index: 12 !important;
    top: 56% !important;
    transform: translateY(-50%) !important;

    transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, opacity 0.22s ease !important;
}

.sh-hero-next:hover,
.sh-hero-prev:hover {
    background: rgba(0, 168, 181, 0.68) !important;
    border-color: rgba(0, 168, 181, 0.86) !important;
    color: #ffffff !important;
    transform: translateY(-50%) scale(1.04) !important;
}

/* PC에서는 화면 가장자리 쪽으로 빼서 텍스트와 겹치지 않게 */
.sh-hero-prev {
    left: 32px !important;
}

.sh-hero-next {
    right: 32px !important;
}

.sh-hero-next::after,
.sh-hero-prev::after {
    font-size: 18px !important;
    font-weight: 800 !important;
}


/* ========================================
   03. ABOUT - 4 카드 + Hover 이미지
   ======================================== */
#about_wrap.sh-about {
    position: relative;
    padding: 100px 0;
    background:
        radial-gradient(circle at 12% 20%, rgba(0, 168, 181, 0.08), transparent 28%),
        radial-gradient(circle at 88% 75%, rgba(0, 102, 179, 0.06), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
    overflow: hidden;
}

#about_wrap.sh-about::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 168, 181, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 168, 181, 0.035) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.45;
    pointer-events: none;
}

#about_wrap .sh-inner {
    position: relative;
    z-index: 1;
}

#about_wrap .sh-con-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sh-card-item {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    min-height: 280px;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.sh-card-item:hover {
    border-color: var(--sh-accent-secondary, #00A8B5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.sh-card-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--about-bg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.08);
    transition: opacity 0.35s ease, transform 0.45s ease;
    z-index: 0;
}

.sh-card-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.65) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.sh-card-item:hover::before {
    opacity: 1;
    transform: scale(1);
}

.sh-card-item:hover::after {
    opacity: 1;
}

.sh-card-item > a {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 36px 28px;
    text-decoration: none;
    color: inherit;
    height: 100%;
    min-height: 280px;
    position: relative;
    z-index: 3;
}

.sh-txt-box .sh-t1 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 6px;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.sh-txt-box .sh-t2 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--sh-accent-secondary, #00A8B5);
    margin: 0 0 20px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.sh-txt-box .sh-t3 {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.sh-card-item:hover .sh-t1,
.sh-card-item:hover .sh-t2,
.sh-card-item:hover .sh-t3 {
    color: #ffffff !important;
}

.sh-card-item:hover .sh-t3 {
    opacity: 0.92;
}

.sh-btn-plus {
    display: inline-block;
    width: 36px;
    height: 36px;
    position: relative;
    margin-top: 24px;
    border: 1.5px solid #d1d5db;
    border-radius: 50%;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.sh-btn-plus::before,
.sh-btn-plus::after {
    content: "";
    position: absolute;
    background: #555;
    transition: background 0.3s ease;
}

.sh-btn-plus::before {
    width: 14px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sh-btn-plus::after {
    width: 2px;
    height: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.sh-card-item:hover .sh-btn-plus {
    background: #ffffff;
    border-color: #ffffff;
}

.sh-card-item:hover .sh-btn-plus::before,
.sh-card-item:hover .sh-btn-plus::after {
    background: var(--sh-accent-primary, #0066B3);
}

.sh-cover {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.sh-cover .sh-line {
    width: 0;
    height: 100%;
    background: var(--sh-accent-secondary, #00A8B5);
    transition: width 0.4s ease;
}

.sh-card-item:hover .sh-cover .sh-line {
    width: 100%;
}


/* ========================================
   04. PRODUCTS - 이미지 그리드
   ======================================== */
#pro_wrap.sh-products {
    position: relative;
    padding: 100px 0;
    background:
        radial-gradient(circle at 20% 15%, rgba(0, 168, 181, 0.14), transparent 30%),
        radial-gradient(circle at 80% 85%, rgba(0, 102, 179, 0.12), transparent 34%),
        linear-gradient(135deg, #eef7fb 0%, #f7fafc 48%, #ffffff 100%);
    overflow: hidden;
}

#pro_wrap.sh-products::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 80px solid rgba(0, 168, 181, 0.055);
    pointer-events: none;
}

#pro_wrap.sh-products::after {
    content: "";
    position: absolute;
    left: -160px;
    bottom: -160px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: rgba(0, 102, 179, 0.045);
    pointer-events: none;
}

.sh-pro-area {
    max-width: 1200px;
    margin: 0 auto 48px;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.sh-pro-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 1;
}

.sh-pro-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sh-pro-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.08);
    border-color: var(--sh-accent-secondary, #00A8B5);
}

.sh-pro-item a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.sh-pro-img {
    position: relative;
    height: 260px;
    padding: 0 !important;
    background: #eef3f7;
    overflow: hidden;
    border-bottom: 2px solid var(--sh-accent-secondary, #00A8B5);
}

.sh-pro-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.35s ease;
}

.sh-pro-item:hover .sh-pro-img img {
    transform: scale(1.06);
}

.sh-pro-brand {
    position: absolute;
    left: 16px;
    top: 16px;
    z-index: 2;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--sh-accent-primary, #0066B3);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.sh-pro-name {
    margin: 0;
    padding: 24px 20px 26px;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    color: #111827;
    background: #ffffff;
}

.sh-pro-img--all {
    background: linear-gradient(135deg, var(--sh-accent-primary, #0066B3) 0%, var(--sh-accent-secondary, #00A8B5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sh-pro-all-text {
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.15;
    text-align: center;
    letter-spacing: 0.04em;
}


/* ========================================
   05. CONTACT - 정보 + 카카오맵
   ======================================== */
#cs_wrap.sh-contact {
    position: relative;
    padding: 90px 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(0, 168, 181, 0.14), transparent 28%),
        radial-gradient(circle at 92% 82%, rgba(0, 102, 179, 0.10), transparent 32%),
        linear-gradient(135deg, #eaf8fa 0%, #f7fbfd 52%, #ffffff 100%);
    overflow: hidden;
}

#cs_wrap .sh-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 44px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(0, 168, 181, 0.12);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.sh-cs-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 56px;
    align-items: stretch;
}

.sh-cs-left {
    min-height: 360px;
    display: flex;
    flex-direction: column;
}

.sh-cs-right {
    min-height: 360px;
}

.sh-cs-txt {
    position: relative;
    margin: 0 0 28px;
    padding-left: 18px;
    color: #334155;
    font-size: 16px;
    line-height: 1.75;
}

.sh-cs-txt::after {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 3px;
    height: 42px;
    background: var(--sh-accent-secondary, #00A8B5);
    border-radius: 999px;
}

.sh-cs-link {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.sh-cs-link a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: #0f172a;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.sh-cs-link a:hover {
    color: var(--sh-accent-primary, #0066B3);
    transform: translateX(4px);
}

.sh-cs-icons {
    margin-top: auto;
}

.sh-cs-icons dl {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 0;
    padding: 0;
}

.sh-cs-icons dd {
    margin: 0;
}

.sh-cs-icons a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.sh-cs-icon-txt {
    height: 112px;
    padding: 18px 12px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.sh-cs-icon-txt:hover {
    transform: translateY(-5px);
    border-color: var(--sh-accent-secondary, #00A8B5);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.10);
}

.sh-cs-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f1fbfc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
}

.sh-cs-icon-txt p {
    margin: 0;
    color: #0f172a;
    font-size: 14px;
    font-weight: 800;
}

.sh-cs-map {
    width: 100%;
    height: 360px;
    min-height: 360px;
    border-radius: 20px;
    overflow: hidden;
    background: #e5e7eb;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.sh-kakao-map,
.sh-kakao-map .root_daum_roughmap,
.sh-kakao-map .root_daum_roughmap .wrap_map,
.sh-kakao-map .root_daum_roughmap .map {
    width: 100% !important;
    height: 360px !important;
}

.sh-kakao-map .root_daum_roughmap .wrap_controllers,
.sh-kakao-map .root_daum_roughmap .cont {
    display: none !important;
}


/* ========================================
   06. PARTNERS - 로고 슬라이더
   ======================================== */
.sh-partners {
    padding: 90px 0;
    background: #ffffff;
}

.sh-partner-swiper {
    margin-top: 44px;
    overflow: hidden;
}

.sh-partner-swiper .swiper-wrapper {
    align-items: stretch;
}

.sh-partner-swiper .swiper-slide {
    height: auto;
}

.sh-partner-swiper .swiper-slide a {
    height: 120px;
    padding: 24px 30px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.sh-partner-swiper .swiper-slide a:hover {
    transform: translateY(-6px);
    border-color: var(--sh-accent-secondary, #00A8B5);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.sh-partner-logo-img {
    display: block;
    max-width: 180px;
    max-height: 62px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.72;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.sh-partner-swiper .swiper-slide a:hover .sh-partner-logo-img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.04);
}

.sh-partner-logo {
    display: none;
}


/* ========================================
   07. RESPONSIVE
   ======================================== */
@media (max-width: 991px) {
    .sh-hero-swiper {
        height: 70vh;
        min-height: 480px;
    }

    .sh-hero-text {
        padding: 0 20px;
    }

    .sh-hero-next,
    .sh-hero-prev {
        width: 42px !important;
        height: 42px !important;
        top: 58% !important;
        opacity: 0.72 !important;
    }

    .sh-hero-next {
        right: 14px !important;
    }

    .sh-hero-prev {
        left: 14px !important;
    }

    .sh-hero-next::after,
    .sh-hero-prev::after {
        font-size: 15px !important;
    }

    #about_wrap.sh-about,
    #pro_wrap.sh-products {
        padding: 70px 0;
    }

    #about_wrap .sh-con-box ul {
        grid-template-columns: repeat(2, 1fr);
    }

    .sh-pro-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .sh-pro-img {
        height: 230px;
    }

    #cs_wrap.sh-contact {
        padding: 70px 0;
    }

    #cs_wrap .sh-inner {
        margin: 0 24px;
        padding: 34px;
    }

    .sh-cs-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .sh-cs-left {
        min-height: auto;
    }

    .sh-cs-icons {
        margin-top: 28px;
    }
}

@media (max-width: 575px) {
    .sh-inner {
        padding: 0 20px;
    }

    .sh-hero-swiper {
        height: 60vh;
        min-height: 420px;
    }

    .sh-hero-next,
    .sh-hero-prev {
        width: 36px !important;
        height: 36px !important;
        top: 60% !important;
        opacity: 0.62 !important;
    }

    .sh-hero-next {
        right: 10px !important;
    }

    .sh-hero-prev {
        left: 10px !important;
    }

    .sh-hero-next::after,
    .sh-hero-prev::after {
        font-size: 13px !important;
    }

    .sh-lviewa {
        font-size: 36px;
    }

    .sh-sviewa {
        font-size: 20px;
    }

    .sh-con-title {
        margin-bottom: 36px;
    }

    .sh-con-title h2 {
        font-size: 28px;
    }

    #about_wrap.sh-about,
    #pro_wrap.sh-products {
        padding: 56px 0;
    }

    #about_wrap .sh-con-box ul,
    .sh-pro-list {
        grid-template-columns: 1fr;
    }

    .sh-pro-list,
    .sh-pro-area {
        padding-left: 20px;
        padding-right: 20px;
    }

    .sh-pro-area {
        margin-bottom: 32px;
    }

    .sh-pro-img {
        height: 220px;
    }

    .sh-pro-name {
        font-size: 16px;
    }

    #cs_wrap.sh-contact {
        padding: 56px 0;
    }

    #cs_wrap .sh-inner {
        margin: 0 16px;
        padding: 28px 20px;
        border-radius: 18px;
    }

    #cs_wrap .sh-con-title h2 {
        font-size: 34px;
    }

    .sh-cs-icons dl {
        grid-template-columns: 1fr;
    }

    .sh-cs-icon-txt {
        height: 84px;
        flex-direction: row;
        justify-content: flex-start;
        padding: 16px 18px;
    }

    .sh-cs-map,
    .sh-kakao-map,
    .sh-kakao-map .root_daum_roughmap,
    .sh-kakao-map .root_daum_roughmap .wrap_map,
    .sh-kakao-map .root_daum_roughmap .map {
        height: 300px !important;
        min-height: 300px;
    }

    .sh-partners {
        padding: 56px 0;
    }

    .sh-partner-swiper {
        margin-top: 32px;
    }

    .sh-partner-swiper .swiper-slide a {
        height: 100px;
        padding: 20px 24px;
    }

    .sh-partner-logo-img {
        max-width: 150px;
        max-height: 52px;
    }
}

/* ========================================
   HOME HERO VIDEO SLIDE
   메인 HERO 영상 슬라이드
   ======================================== */

.sh-hero-slide--video {
    background-color: #0f172a;
    background-image: none !important;
}

.sh-hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
}

.sh-hero-slide--video::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.38) 45%,
            rgba(0, 0, 0, 0.16) 100%
        );
    pointer-events: none;
}

.sh-hero-slide--video .sh-hero-text {
    position: relative;
    z-index: 3;
}