/* Public homepage — BenQ X-Sign visual system (https://www.benq.com/ko-kr/education/software/x-sign.html) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Roboto:wght@400;500;700;900&display=swap');

html.sg-home-root {
    font-size: 62.5%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

html.sg-home-root,
html.sg-home-root body {
    margin: 0;
    padding: 0;
}

.sg-home {
    --benq-primary: #00626b;
    --benq-primary-hover: #00707a;
    --benq-black: #000;
    --benq-dark: #333;
    --benq-silver: #757575;
    --benq-gray: #f5f5f7;
    --benq-white: #fff;
    --benq-purple: #492582;
    --benq-max: 1220px;
    --benq-font-title: 'Poppins', sans-serif;
    --benq-font-body: 'Roboto', 'Malgun Gothic', 'Apple SD Gothic Neo', sans-serif;

    color: var(--benq-dark);
    background: var(--benq-white);
    font-family: var(--benq-font-body);
    font-size: 1.6rem;
    line-height: 1.5;
    min-height: 100vh;
}

.sg-home a { color: var(--benq-primary); }
.sg-home a:hover { color: var(--benq-primary-hover); }

.sg-home-wrap {
    max-width: var(--benq-max);
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (max-width: 767px) {
    .sg-home-wrap { padding-left: 1.6rem; padding-right: 1.6rem; }
}

.sg-home-text-center { text-align: center; }

/* —— Typography —— */
.sg-home-h2 {
    font-family: var(--benq-font-title);
    font-weight: 700;
    font-size: 4.8rem;
    line-height: 1.5;
    color: var(--benq-black);
    margin: 0 0 1.6rem;
}

.sg-home-eyebrow {
    font-family: var(--benq-font-body);
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--benq-black);
    margin: 0 0 0.8rem;
    letter-spacing: 0.02em;
}

.sg-home-h2--accent {
    color: var(--benq-black);
    margin-bottom: 0;
}

.sg-home-h3 {
    font-family: var(--benq-font-title);
    font-weight: 700;
    font-size: 3.6rem;
    line-height: 1.5;
    color: var(--benq-black);
    margin: 0 0 0.8rem;
}

.sg-home-h3-sm {
    font-family: var(--benq-font-title);
    font-weight: 700;
    font-size: 2.4rem;
    line-height: 1.5;
    color: var(--benq-black);
    margin: 0 0 0.8rem;
}

.sg-home-lead,
.sg-home-body {
    font-family: var(--benq-font-body);
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--benq-black);
    margin: 0;
}

.sg-home-lead {
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
}

.sg-home-caption {
    text-align: center;
    margin-top: 1.2rem;
    color: var(--benq-silver);
}

@media (max-width: 1219px) {
    .sg-home-h2 { font-size: 4rem; }
    .sg-home-h3 { font-size: 3.2rem; }
}

@media (max-width: 767px) {
    .sg-home-h2 { font-size: 2.8rem; }
    .sg-home-h3 { font-size: 2.4rem; }
    .sg-home-h3-sm { font-size: 2rem; }
}

/* —— Header —— */
.sg-home-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--benq-white);
    border-bottom: 1px solid #e5e5e5;
}

.sg-home-header-inner {
    max-width: var(--benq-max);
    margin: 0 auto;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem;
}

.sg-home-brand {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    color: var(--benq-black);
    min-width: 0;
    flex: 0 0 auto;
}

.sg-home-brand:hover,
.sg-home-brand:focus {
    color: var(--benq-black);
    text-decoration: none;
}

.sg-home-brand:focus {
    outline: none;
}

.sg-home-brand-logo {
    width: auto;
    height: 36px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.sg-home-brand:hover .sg-home-brand-logo,
.sg-home-brand:focus-within .sg-home-brand-logo {
    transform: translateY(-1px);
}

.sg-home-brand-tag {
    position: absolute;
    left: calc(100% + 0.8rem);
    top: 50%;
    z-index: 220;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 280px;
    max-width: 360px;
    padding: 0.9rem 1.1rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e4ecee;
    border-left: 3px solid var(--benq-primary);
    box-shadow: 0 10px 28px rgba(0, 40, 50, 0.14);
    line-height: 1.4;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-6px, -50%);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.sg-home-brand-tag::before {
    content: "";
    position: absolute;
    left: -7px;
    top: 50%;
    width: 10px;
    height: 10px;
    margin-top: -5px;
    background: #fff;
    border-left: 1px solid #e4ecee;
    border-bottom: 1px solid #e4ecee;
    transform: rotate(45deg);
}

.sg-home-brand:hover .sg-home-brand-tag,
.sg-home-brand:focus-within .sg-home-brand-tag {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}

.sg-home-brand-tag-line {
    display: block;
    font-family: var(--benq-font-body);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--benq-dark);
    letter-spacing: -0.01em;
    white-space: normal;
}

@media (max-width: 1100px) {
    .sg-home-brand-tag {
        left: 0;
        right: auto;
        top: calc(100% + 0.8rem);
        min-width: 260px;
        max-width: min(360px, 80vw);
        transform: translate(0, -4px);
    }

    .sg-home-brand-tag::before {
        left: 1.6rem;
        top: -5px;
        margin-top: 0;
        border-left: 1px solid #e4ecee;
        border-bottom: none;
        border-top: 1px solid #e4ecee;
    }

    .sg-home-brand:hover .sg-home-brand-tag,
    .sg-home-brand:focus-within .sg-home-brand-tag {
        transform: translate(0, 0);
    }
}

@media (max-width: 767px) {
    .sg-home-brand {
        width: auto;
        flex-wrap: nowrap;
    }
}

.sg-home-nav {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.sg-home-nav-link {
    font-family: var(--benq-font-body);
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--benq-dark);
    text-decoration: none;
    padding: 0.8rem 1.2rem;
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.sg-home-nav-link:hover {
    color: var(--benq-primary);
    text-decoration: none;
}

.sg-home-nav-dropdown {
    position: relative;
}

.sg-home-nav-dropdown-toggle .fa-chevron-down {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.sg-home-nav-dropdown.is-open .sg-home-nav-dropdown-toggle,
.sg-home-nav-dropdown:hover .sg-home-nav-dropdown-toggle {
    color: var(--benq-primary);
}

.sg-home-nav-dropdown.is-open .fa-chevron-down,
.sg-home-nav-dropdown:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.sg-home-nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.4rem);
    left: 0;
    min-width: 160px;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 0.6rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 300;
}

.sg-home-nav-dropdown:hover .sg-home-nav-dropdown-menu,
.sg-home-nav-dropdown.is-open .sg-home-nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sg-home-nav-dropdown-item {
    display: block;
    padding: 0.9rem 1.6rem;
    font-family: var(--benq-font-body);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--benq-dark);
    text-decoration: none;
    white-space: nowrap;
}

.sg-home-nav-dropdown-item:hover {
    background: #f5f5f7;
    color: var(--benq-primary);
    text-decoration: none;
}

@media (max-width: 767px) {
    .sg-home-header-inner { flex-wrap: wrap; }
    .sg-home-nav { width: 100%; justify-content: flex-start; }

    .sg-home-nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--benq-primary);
        margin: 0.2rem 0 0.4rem 1.2rem;
        padding: 0.2rem 0;
        min-width: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .sg-home-nav-dropdown.is-open .sg-home-nav-dropdown-menu {
        display: block;
    }

    .sg-home-nav-dropdown:hover .sg-home-nav-dropdown-menu {
        display: none;
    }

    .sg-home-nav-dropdown.is-open:hover .sg-home-nav-dropdown-menu {
        display: block;
    }
}

/* —— Buttons —— */
.sg-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 1rem 2.4rem;
    border-radius: 0;
    font-family: var(--benq-font-title);
    font-weight: 600;
    font-size: 1.4rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.sg-home a.sg-home-btn--primary,
.sg-home-btn--primary {
    background: var(--benq-primary);
    border-color: var(--benq-primary);
    color: #fff !important;
}

.sg-home a.sg-home-btn--primary:hover,
.sg-home-btn--primary:hover {
    background: var(--benq-primary-hover);
    border-color: var(--benq-primary-hover);
    color: #fff !important;
    text-decoration: none;
}

.sg-home-btn--outline {
    background: transparent;
    border-color: var(--benq-primary);
    color: var(--benq-primary);
}

.sg-home-btn--outline:hover {
    background: var(--benq-primary);
    color: var(--benq-white);
    text-decoration: none;
}

.sg-home-btn--hollow {
    background: transparent;
    border-color: var(--benq-black);
    color: var(--benq-black);
}

.sg-home-btn--hollow:hover {
    background: var(--benq-black);
    color: var(--benq-white);
    text-decoration: none;
}

.sg-home-btn--lg { padding: 1.2rem 3.2rem; font-size: 1.6rem; }
.sg-home-btn--sm { padding: 0.8rem 1.6rem; font-size: 1.2rem; }

/* —— Hero KV (centered like content sections) —— */
.sg-home-kv {
    background: var(--benq-white);
    padding: 2.4rem 0 0;
}

.sg-home-kv-frame {
    position: relative;
    max-width: var(--benq-max);
    margin: 0 auto;
    min-height: 0;
    overflow: hidden;
    background: #ffffff;
}

.sg-home-kv-bg {
    display: block;
    width: 100%;
    height: auto;
    line-height: 0;
}

.sg-home-kv-bg img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: center center;
    display: block;
    vertical-align: top;
}

.sg-home-kv-panel {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 48%;
    max-width: 560px;
    min-width: 420px;
    /* 뿌연 블러는 줄이고, 글자 뒤만 얇게 받침 */
    background: linear-gradient(
        100deg,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(255, 255, 255, 0.55) 48%,
        rgba(255, 255, 255, 0.12) 100%
    );
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 3.2rem 3rem;
    box-sizing: border-box;
}

.sg-home-kv-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 1.2rem;
    width: 100%;
}

.sg-home-kv-logo {
    width: auto;
    height: 48px;
    object-fit: contain;
    margin: 0;
    flex-shrink: 0;
}

.sg-home-kv-title {
    font-family: var(--benq-font-title);
    font-weight: 700;
    font-size: clamp(2.6rem, 3.2vw, 3.6rem);
    line-height: 1.3;
    color: #111;
    margin: 0;
    width: 100%;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.sg-home-kv-desc {
    font-size: 1.55rem;
    line-height: 1.55;
    color: #222;
    margin: 0 0 0.8rem;
    width: 100%;
    word-break: keep-all;
    overflow-wrap: break-word;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.85);
}

.sg-home-kv-desc--sub {
    margin-top: 0.8rem;
    margin-bottom: 2.4rem;
    color: var(--benq-primary);
    font-weight: 600;
    text-shadow: none;
}

.sg-home-kv-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.sg-home-kv-actions .sg-home-btn--hollow {
    background: rgba(255, 255, 255, 0.88);
    border-color: var(--benq-primary);
    color: var(--benq-primary);
}

.sg-home-kv-actions .sg-home-btn--hollow:hover {
    background: var(--benq-primary);
    color: #fff;
    text-decoration: none;
}

@media (max-width: 1220px) {
    .sg-home-kv {
        padding-top: 1.6rem;
    }

    .sg-home-kv-frame {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .sg-home-kv-bg { min-height: 0; }
    .sg-home-kv-bg img {
        min-height: 0;
        width: 100%;
        height: auto;
        object-fit: contain;
        object-position: center center;
    }

    .sg-home-kv-panel {
        position: static;
        width: 100%;
        max-width: none;
        min-width: 0;
        padding: 2.8rem 0 1.6rem;
        text-align: center;
        align-items: center;
        background: transparent;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        box-shadow: none;
    }

    .sg-home-kv-heading {
        align-items: center;
        gap: 0.5rem;
    }

    .sg-home-kv-logo { align-self: center; height: 40px; }
    .sg-home-kv-actions { justify-content: center; }
    .sg-home-kv-title { font-size: 2.4rem; text-align: center; }
    .sg-home-kv-desc { text-align: center; }
}

/* —— Sections —— */
.sg-home-block {
    padding: 6.4rem 0;
}

.sg-home-block--white { background: var(--benq-white); }
.sg-home-block--gray { background: var(--benq-gray); }

.sg-home-block .sg-home-text-center { margin-bottom: 4.8rem; }

/* —— 3-column cards —— */
.sg-home-cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
}

.sg-home-card {
    text-align: center;
}

.sg-home-card-img {
    margin-bottom: 2.4rem;
    overflow: hidden;
}

.sg-home-card-img--round {
    width: 100%;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 1;
    border-radius: 50%;
}

.sg-home-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* —— Weather widget (API-style) —— */
.sg-wx-stack {
    margin: 0 auto;
    max-width: 320px;
    width: 100%;
}

.sg-wx {
    margin: 0;
    max-width: none;
    width: 100%;
    text-align: left;
    background: linear-gradient(160deg, #e8f4f6 0%, #f5f5f7 55%, #fff 100%);
    border: 1px solid #dde8ea;
    padding: 1.6rem;
    box-sizing: border-box;
}

.sg-wx-loc {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--benq-primary);
    margin-bottom: 1rem;
}

.sg-wx-loc i { margin-right: 0.4rem; }

.sg-wx-now {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 0.8rem;
}

.sg-wx-icon {
    font-size: 4rem;
    line-height: 1;
}

.sg-wx-icon--sun { color: #e6a817; }

.sg-wx-now-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.sg-wx-temp {
    font-family: var(--benq-font-title);
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--benq-black);
    line-height: 1;
}

.sg-wx-temp span {
    font-size: 1.8rem;
    font-weight: 600;
    margin-left: 0.1rem;
}

.sg-wx-cond {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--benq-dark);
}

.sg-wx-meta {
    font-size: 1.2rem;
    color: var(--benq-silver);
    margin-bottom: 1.4rem;
}

.sg-wx-days {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
    border-top: 1px solid #dde8ea;
    padding-top: 1.2rem;
}

.sg-wx-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 0.2rem;
    font-size: 1.1rem;
    color: var(--benq-dark);
}

.sg-wx-day.is-today {
    background: rgba(0, 98, 107, 0.08);
}

.sg-wx-day i {
    font-size: 1.6rem;
    color: var(--benq-primary);
}

.sg-wx-day-label {
    color: var(--benq-silver);
    font-weight: 500;
}

.sg-wx-day-temp {
    font-family: var(--benq-font-title);
    font-weight: 600;
    font-size: 1.25rem;
}

/* —— Health / safety info list —— */
.sg-info-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 320px;
    text-align: left;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.sg-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid #eee;
}

.sg-info-item:last-child { border-bottom: none; }

.sg-info-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
}

.sg-info-icon--clinic { background: var(--benq-primary); }
.sg-info-icon--vaccine { background: #2f8f6b; }
.sg-info-icon--fire { background: #c45c26; }
.sg-info-icon--phone { background: #333; }

.sg-info-stack {
    margin: 0 auto;
    max-width: 320px;
    width: 100%;
}

.sg-info-stack .sg-info-list {
    margin: 0;
    max-width: none;
    width: 100%;
}

.sg-info-stack .sg-wx-alerts {
    margin-top: 1.6rem;
}

/* —— Weather welfare alerts —— */
.sg-wx-alerts {
    list-style: none;
    margin: 1.6rem 0 0;
    padding: 0;
    max-width: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    text-align: left;
    box-sizing: border-box;
}

.sg-wx-alert {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    background: #fff;
    border: 1px solid #e4ecee;
    border-left: 3px solid transparent;
    box-shadow: 0 2px 10px rgba(0, 98, 107, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sg-wx-alert:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 98, 107, 0.1);
}

.sg-wx-alert-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    color: #fff;
}

.sg-wx-alert-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.sg-wx-alert-copy strong {
    font-family: var(--benq-font-body);
    font-size: 1.32rem;
    font-weight: 600;
    color: var(--benq-black);
    letter-spacing: -0.01em;
}

.sg-wx-alert-copy small {
    font-size: 1.12rem;
    color: var(--benq-silver);
    line-height: 1.4;
}

.sg-wx-alert--warn {
    border-left-color: #c45c26;
    background: linear-gradient(90deg, #fff7f1 0%, #fff 55%);
}
.sg-wx-alert--warn .sg-wx-alert-icon { background: #c45c26; }

.sg-wx-alert--shelter {
    border-left-color: var(--benq-primary);
    background: linear-gradient(90deg, #eef7f8 0%, #fff 55%);
}
.sg-wx-alert--shelter .sg-wx-alert-icon { background: var(--benq-primary); }

.sg-wx-alert--freeze {
    border-left-color: #3a7ca5;
    background: linear-gradient(90deg, #eef5fa 0%, #fff 55%);
}
.sg-wx-alert--freeze .sg-wx-alert-icon { background: #3a7ca5; }

.sg-wx-alert--wildfire {
    border-left-color: #c0392b;
    background: linear-gradient(90deg, #fff1ef 0%, #fff 55%);
}
.sg-wx-alert--wildfire .sg-wx-alert-icon { background: #c0392b; }

.sg-wx-alert--trail {
    border-left-color: #5b7a3a;
    background: linear-gradient(90deg, #f3f7ee 0%, #fff 55%);
}
.sg-wx-alert--trail .sg-wx-alert-icon { background: #5b7a3a; }

.sg-wx-alert--evac {
    border-left-color: #b7791f;
    background: linear-gradient(90deg, #fff8eb 0%, #fff 55%);
}
.sg-wx-alert--evac .sg-wx-alert-icon { background: #b7791f; }

.sg-wx-alert--air {
    border-left-color: #5a6a8a;
    background: linear-gradient(90deg, #f0f3f8 0%, #fff 55%);
}
.sg-wx-alert--air .sg-wx-alert-icon { background: #5a6a8a; }

.sg-info-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.sg-info-copy strong {
    font-family: var(--benq-font-body);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--benq-black);
}

.sg-info-copy small {
    font-size: 1.15rem;
    color: var(--benq-silver);
    line-height: 1.4;
}

/* —— Job / festival feed (API-style) —— */
.sg-feed {
    margin: 0 auto;
    max-width: 320px;
    text-align: left;
    background: #fff;
    border: 1px solid #e5e5e5;
    overflow: hidden;
}

.sg-feed-head {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.9rem 1.1rem;
    background: #f5f5f7;
    border-bottom: 1px solid #eee;
}

.sg-feed-live {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: var(--benq-font-title);
    font-size: 1.05rem;
    font-weight: 700;
    color: #c0392b;
    letter-spacing: 0.04em;
}

.sg-feed-live i {
    font-size: 0.7rem;
    animation: sgPulse 1.4s ease infinite;
}

@keyframes sgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.35; }
}

.sg-feed-title {
    flex: 1;
    min-width: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--benq-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sg-feed-time {
    font-size: 1.05rem;
    color: var(--benq-silver);
    flex-shrink: 0;
}

.sg-feed-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sg-feed-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.8rem;
    align-items: center;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid #f0f0f0;
}

.sg-feed-item:last-child { border-bottom: none; }

.sg-feed-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4.6rem;
    padding: 0.35rem 0.55rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.sg-feed-badge--fest { background: var(--benq-primary); }
.sg-feed-badge--job { background: #2f8f6b; }
.sg-feed-badge--notice { background: #c45c26; }

.sg-feed-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.sg-feed-copy strong {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--benq-black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sg-feed-copy small {
    font-size: 1.1rem;
    color: var(--benq-silver);
}

.sg-feed-status {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--benq-silver);
    white-space: nowrap;
}

.sg-feed-status.is-open { color: #2f8f6b; }

.sg-feed-foot {
    padding: 0.9rem 1.1rem;
    border-top: 1px solid #eee;
    background: linear-gradient(90deg, rgba(0, 98, 107, 0.06), transparent);
    font-family: var(--benq-font-title);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--benq-primary);
    text-align: center;
}

@media (max-width: 991px) {
    .sg-home-cards-3 { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}

/* —— Campus map —— */
.sg-home-campus-map {
    margin-bottom: 4.8rem;
    border: 1px solid #dde8ea;
    box-shadow: 0 10px 28px rgba(0, 98, 107, 0.08);
    background: #f5f5f7;
    overflow: hidden;
}

.sg-home-campus-map img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    aspect-ratio: 1600 / 900;
    object-fit: cover;
}

/* —— Jeongseon event map board —— */
.sg-map-board {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.9fr);
    gap: 0;
    margin-bottom: 4.8rem;
    border: 1px solid #d5e4e7;
    background: #fff;
    box-shadow: 0 14px 40px rgba(0, 98, 107, 0.1);
    overflow: hidden;
}

.sg-map-stage {
    position: relative;
    min-height: 420px;
    background: #f4f7f8;
    overflow: hidden;
}

.sg-map-base {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #f4f7f8;
}

.sg-map-pins {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sg-map-pin {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -100%);
    opacity: 0;
    animation: sgMapPinIn 0.55s ease forwards;
    animation-delay: var(--delay, 0s);
    pointer-events: auto;
    z-index: 2;
}

.sg-map-pin-pulse {
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 28px;
    height: 28px;
    margin-left: -14px;
    border-radius: 50%;
    background: rgba(0, 98, 107, 0.28);
    animation: sgMapPulse 2s ease-out infinite;
    animation-delay: var(--delay, 0s);
}

.sg-map-pin.is-live .sg-map-pin-pulse {
    background: rgba(192, 57, 43, 0.3);
}

.sg-map-pin-dot {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0 auto;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: var(--benq-primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 98, 107, 0.35);
    z-index: 1;
}

.sg-map-pin-dot i {
    transform: rotate(45deg);
    font-size: 1.25rem;
}

.sg-map-pin.is-live .sg-map-pin-dot {
    background: #c0392b;
    box-shadow: 0 8px 18px rgba(192, 57, 43, 0.35);
}

.sg-map-pin-card {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%);
    min-width: 148px;
    padding: 0.7rem 0.9rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #dfe9eb;
    box-shadow: 0 10px 24px rgba(0, 40, 50, 0.14);
    text-align: center;
    white-space: nowrap;
}

.sg-map-pin-card strong {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--benq-black);
    margin-top: 0.2rem;
}

.sg-map-pin-card small {
    display: block;
    font-size: 1.05rem;
    color: var(--benq-silver);
    margin-top: 0.15rem;
}

.sg-map-pin-badge {
    display: inline-block;
    padding: 0.12rem 0.45rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    background: #c0392b;
}

.sg-map-pin-badge--new { background: var(--benq-primary); }
.sg-map-pin-badge--soon { background: #b7791f; }

.sg-map-feed {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #f7fbfc 0%, #ffffff 40%);
    border-left: 1px solid #dde8ea;
    padding: 1.8rem 1.6rem;
}

.sg-map-feed-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5eef0;
}

.sg-map-feed-live {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--benq-primary);
}

.sg-map-feed-live i {
    font-size: 0.7rem;
    color: #c0392b;
    animation: sgPulse 1.4s ease infinite;
}

.sg-map-feed-count {
    font-size: 1.15rem;
    color: var(--benq-silver);
    font-weight: 500;
}

.sg-map-feed-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex: 1;
}

.sg-map-feed-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.95rem 1rem;
    background: #fff;
    border: 1px solid #e4ecee;
    opacity: 0;
    transform: translateX(12px);
    animation: sgMapFeedIn 0.45s ease forwards;
}

.sg-map-feed-item:nth-child(1) { animation-delay: 0.25s; }
.sg-map-feed-item:nth-child(2) { animation-delay: 0.55s; }
.sg-map-feed-item:nth-child(3) { animation-delay: 0.85s; }
.sg-map-feed-item:nth-child(4) { animation-delay: 1.15s; }
.sg-map-feed-item:nth-child(5) { animation-delay: 1.45s; }

.sg-map-feed-dot {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--benq-primary);
}

.sg-map-feed-item.is-live .sg-map-feed-dot {
    background: #c0392b;
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.15);
}

.sg-map-feed-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.sg-map-feed-copy strong {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--benq-black);
}

.sg-map-feed-copy small {
    font-size: 1.1rem;
    color: var(--benq-silver);
}

.sg-map-feed-tag {
    flex-shrink: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--benq-primary);
}

.sg-map-feed-item.is-live .sg-map-feed-tag { color: #c0392b; }

.sg-map-feed-foot {
    margin: 1.4rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid #e5eef0;
    font-size: 1.15rem;
    color: var(--benq-silver);
    text-align: center;
}

@keyframes sgMapPinIn {
    from { opacity: 0; transform: translate(-50%, -70%); }
    to { opacity: 1; transform: translate(-50%, -100%); }
}

@keyframes sgMapPulse {
    0% { transform: scale(0.6); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

@keyframes sgMapFeedIn {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 991px) {
    .sg-map-board {
        grid-template-columns: 1fr;
    }

    .sg-map-feed {
        border-left: none;
        border-top: 1px solid #dde8ea;
    }

    .sg-map-pin-card {
        min-width: 120px;
        padding: 0.55rem 0.7rem;
    }

    .sg-map-pin-card strong { font-size: 1.1rem; }
    .sg-map-pin-card small { font-size: 0.95rem; }
}

@media (max-width: 767px) {
    .sg-map-pin:nth-child(n+4) .sg-map-pin-card { display: none; }
}

/* —— Scenario rows —— */
.sg-home-scenarios {
    display: flex;
    flex-direction: column;
    gap: 4.8rem;
}

.sg-home-scenario {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.2rem;
    align-items: center;
}

.sg-home-scenario--right .sg-home-scenario-text { order: 2; }
.sg-home-scenario--right .sg-home-scenario-media { order: 1; }

.sg-home-scenario-icon {
    width: 96px;
    height: 96px;
    object-fit: contain;
    margin-bottom: 1.6rem;
}

.sg-scenario-points {
    list-style: none;
    margin: 1.8rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 420px;
}

.sg-scenario-point {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.05rem 1.2rem;
    background: #fff;
    border: 1px solid #e4ecee;
    border-left: 3px solid transparent;
    box-shadow: 0 2px 10px rgba(0, 98, 107, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sg-scenario-point:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 98, 107, 0.1);
}

.sg-scenario-point-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
}

.sg-scenario-point-copy {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--benq-black);
    letter-spacing: -0.01em;
    line-height: 1.35;
}

.sg-scenario-point-copy strong {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--benq-black);
}

.sg-scenario-point-copy small {
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--benq-silver);
    line-height: 1.4;
}

.sg-scenario-point--map {
    border-left-color: var(--benq-primary);
    background: linear-gradient(90deg, #eef7f8 0%, #fff 60%);
}
.sg-scenario-point--map .sg-scenario-point-icon { background: var(--benq-primary); }

.sg-scenario-point--risk {
    border-left-color: #c45c26;
    background: linear-gradient(90deg, #fff7f1 0%, #fff 60%);
}
.sg-scenario-point--risk .sg-scenario-point-icon { background: #c45c26; }

.sg-scenario-point--out {
    border-left-color: #b7791f;
    background: linear-gradient(90deg, #fff8eb 0%, #fff 60%);
}
.sg-scenario-point--out .sg-scenario-point-icon { background: #b7791f; }

.sg-scenario-point--cool {
    border-left-color: #3a7ca5;
    background: linear-gradient(90deg, #eef5fa 0%, #fff 60%);
}
.sg-scenario-point--cool .sg-scenario-point-icon { background: #3a7ca5; }

.sg-scenario-point--edu {
    border-left-color: var(--benq-primary);
    background: linear-gradient(90deg, #eef7f8 0%, #fff 60%);
}
.sg-scenario-point--edu .sg-scenario-point-icon { background: var(--benq-primary); }

.sg-scenario-point--exercise {
    border-left-color: #2f8f6b;
    background: linear-gradient(90deg, #eef8f3 0%, #fff 60%);
}
.sg-scenario-point--exercise .sg-scenario-point-icon { background: #2f8f6b; }

.sg-scenario-point--care {
    border-left-color: #8a4a6a;
    background: linear-gradient(90deg, #faf0f5 0%, #fff 60%);
}
.sg-scenario-point--care .sg-scenario-point-icon { background: #8a4a6a; }

.sg-home-scenario-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.sg-home-scenario-media--weather {
    overflow: hidden;
    border: 1px solid #cfe3e7;
    box-shadow: 0 12px 32px rgba(0, 98, 107, 0.12);
    background: #dceff3;
}

.sg-home-scenario-media--weather img {
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 732;
    object-fit: cover;
}

.sg-wx-board {
    position: relative;
    min-height: 360px;
    padding: 2rem;
    overflow: hidden;
}

.sg-wx-board-sky {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #79c3df 0%, #b7dff0 42%, #eef7fa 100%);
}

.sg-wx-board-sun {
    position: absolute;
    top: 2.4rem;
    right: 3.2rem;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #ffe08a, #f0b429 70%);
    box-shadow: 0 0 0 18px rgba(255, 209, 102, 0.22);
}

.sg-wx-board-cloud {
    position: absolute;
    background: #fff;
    border-radius: 40px;
    opacity: 0.88;
}

.sg-wx-board-cloud:before,
.sg-wx-board-cloud:after {
    content: "";
    position: absolute;
    background: #fff;
    border-radius: 50%;
}

.sg-wx-board-cloud--1 {
    width: 120px;
    height: 42px;
    top: 3.2rem;
    left: 2.4rem;
}

.sg-wx-board-cloud--1:before {
    width: 52px;
    height: 52px;
    top: -28px;
    left: 18px;
}

.sg-wx-board-cloud--1:after {
    width: 40px;
    height: 40px;
    top: -20px;
    left: 56px;
}

.sg-wx-board-cloud--2 {
    width: 90px;
    height: 34px;
    top: 5.2rem;
    left: 12rem;
    opacity: 0.7;
}

.sg-wx-board-cloud--2:before {
    width: 40px;
    height: 40px;
    top: -22px;
    left: 14px;
}

.sg-wx-board-cloud--2:after {
    width: 30px;
    height: 30px;
    top: -16px;
    left: 44px;
}

.sg-wx-board-panel {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 10px 28px rgba(0, 70, 80, 0.12);
    padding: 1.8rem 2rem 1.6rem;
    margin-top: 5.5rem;
}

.sg-wx-board-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.sg-wx-board-loc {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--benq-primary);
    margin-bottom: 0.4rem;
}

.sg-wx-board-alert {
    font-size: 1.25rem;
    color: #8a5a1f;
    background: #fff4e5;
    display: inline-block;
    padding: 0.4rem 0.75rem;
}

.sg-wx-board-live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--benq-font-title);
    font-size: 1.15rem;
    font-weight: 700;
    color: #c0392b;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.sg-wx-board-live i {
    font-size: 0.75rem;
    animation: sgPulse 1.4s ease infinite;
}

.sg-wx-board-main {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    margin-bottom: 1.6rem;
}

.sg-wx-board-icon {
    font-size: 4.4rem;
    color: #e6a817;
    line-height: 1;
}

.sg-wx-board-temp {
    font-family: var(--benq-font-title);
    font-size: 5.6rem;
    font-weight: 700;
    color: #111;
    line-height: 1;
}

.sg-wx-board-temp span {
    font-size: 2.4rem;
    margin-left: 0.15rem;
}

.sg-wx-board-cond {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.sg-wx-board-cond strong {
    font-size: 2rem;
    color: #222;
}

.sg-wx-board-cond span {
    font-size: 1.25rem;
    color: #757575;
}

.sg-wx-board-days {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.sg-wx-board-day {
    background: #f5f5f7;
    padding: 1rem 0.6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
}

.sg-wx-board-day span {
    font-size: 1.2rem;
    color: #757575;
    font-weight: 500;
}

.sg-wx-board-day i {
    font-size: 1.8rem;
    color: var(--benq-primary);
}

.sg-wx-board-day strong {
    font-size: 1.35rem;
    color: #222;
}

.sg-wx-board-day.is-today {
    background: rgba(0, 98, 107, 0.1);
}

.sg-wx-board-day.is-today strong {
    color: var(--benq-primary);
}

.sg-wx-board-day.is-warn {
    background: #fff3e8;
}

.sg-wx-board-day.is-warn i,
.sg-wx-board-day.is-warn strong,
.sg-wx-board-day.is-warn span {
    color: #c45c26;
}

@media (max-width: 767px) {
    .sg-wx-board {
        padding: 1.2rem;
        min-height: 0;
    }

    .sg-wx-board-panel {
        margin-top: 4rem;
        padding: 1.4rem 1.2rem;
    }

    .sg-wx-board-main {
        flex-wrap: wrap;
    }

    .sg-wx-board-temp { font-size: 4.2rem; }

    .sg-wx-board-days {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .sg-home-scenario,
    .sg-home-scenario--right {
        grid-template-columns: 1fr;
    }

    .sg-home-scenario--right .sg-home-scenario-text,
    .sg-home-scenario--right .sg-home-scenario-media { order: unset; }
}

/* —— Tabs —— */
.sg-home-tabs { margin-top: 2.4rem; }

.sg-home-tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    border-bottom: 1px solid #ccc;
    margin-bottom: 2.4rem;
}

.sg-home-tab {
    font-family: var(--benq-font-body);
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--benq-silver);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 1.2rem 1.6rem;
    cursor: pointer;
    margin-bottom: -1px;
    transition: color 0.2s, border-color 0.2s;
}

.sg-home-tab:hover { color: var(--benq-primary); }

.sg-home-tab.is-active {
    color: var(--benq-primary);
    border-bottom-color: var(--benq-primary);
}

.sg-home-tab-list--e2e {
    justify-content: center;
}

.sg-home-tab-panels { position: relative; }

.sg-home-tab-panel {
    display: none;
    animation: sgFadeIn 0.35s ease;
}

.sg-home-tab-panel.is-active { display: block; }

.sg-home-tab-panel img {
    width: 100%;
    height: auto;
    display: block;
}

.sg-home-tab-panel .sg-home-body {
    margin-top: 1.6rem;
    text-align: center;
}

@keyframes sgFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* —— AI Care Call —— */
#carecall .sg-home-eyebrow {
    font-size: 2.2rem;
    font-weight: 600;
}

.sg-carecall {
    margin-top: 1.2rem;
}

.sg-carecall-hero {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 3.2rem;
    align-items: center;
    margin-bottom: 2.8rem;
}

.sg-carecall-visual {
    position: relative;
    border: 1px solid #d5e4e7;
    box-shadow: 0 16px 40px rgba(0, 98, 107, 0.12);
    background: #eef6f8;
    overflow: hidden;
}

.sg-carecall-visual img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.sg-carecall-float {
    position: absolute;
    right: 1.4rem;
    bottom: 1.4rem;
    width: min(260px, 72%);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e0ebee;
    box-shadow: 0 12px 28px rgba(0, 40, 50, 0.16);
    padding: 1rem 1.1rem;
    animation: sgMapFeedIn 0.6s ease 0.3s both;
}

.sg-carecall-float-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid #e8f0f2;
    font-size: 1.1rem;
    color: var(--benq-silver);
}

.sg-carecall-live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: #c0392b;
}

.sg-carecall-live i {
    font-size: 0.65rem;
    animation: sgPulse 1.4s ease infinite;
}

.sg-carecall-float-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.sg-carecall-float-list li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.55rem 0.7rem;
    background: #f7fbfc;
    border-left: 3px solid #c5d8dc;
}

.sg-carecall-float-list li.is-risk {
    background: #fff5f3;
    border-left-color: #c0392b;
}

.sg-carecall-float-list strong {
    font-size: 1.2rem;
    color: var(--benq-black);
}

.sg-carecall-float-list span {
    font-size: 1.05rem;
    color: var(--benq-silver);
}

.sg-carecall-copy {
    text-align: left;
}

.sg-carecall-kicker {
    display: inline-block;
    margin: 0 0 1rem;
    padding: 0.35rem 0.8rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--benq-primary);
    background: rgba(0, 98, 107, 0.08);
}

.sg-carecall-title {
    font-family: var(--benq-font-title);
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--benq-black);
    margin: 0 0 1.4rem;
}

.sg-carecall-title em {
    font-style: normal;
    color: #c0392b;
}

.sg-carecall-desc {
    font-size: 1.55rem;
    line-height: 1.6;
    color: var(--benq-dark);
    margin: 0 0 2rem;
}

.sg-carecall-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.sg-carecall-card {
    padding: 2rem 1.6rem;
    background: #fff;
    border: 1px solid #e4ecee;
    border-top: 3px solid var(--benq-primary);
    box-shadow: 0 6px 20px rgba(0, 98, 107, 0.06);
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sg-carecall-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 98, 107, 0.1);
}

.sg-carecall-card--accent {
    border-top-color: #c0392b;
    background: linear-gradient(180deg, #fff8f7 0%, #fff 55%);
}

.sg-carecall-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 1.2rem;
    background: var(--benq-primary);
    color: #fff;
    font-size: 1.5rem;
}

.sg-carecall-card--accent .sg-carecall-card-icon {
    background: #c0392b;
}

.sg-carecall-card h4 {
    margin: 0 0 0.7rem;
    font-family: var(--benq-font-title);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--benq-black);
}

.sg-carecall-card p {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.5;
    color: var(--benq-silver);
}

@media (max-width: 991px) {
    .sg-carecall-hero {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .sg-carecall-title { font-size: 2.2rem; }

    .sg-carecall-cards { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .sg-carecall-float {
        position: static;
        width: 100%;
        margin-top: -1px;
    }

    .sg-carecall-title { font-size: 2rem; }
}

@media (max-width: 767px) {
    .sg-home-tab-list { flex-direction: column; border-bottom: none; }
    .sg-home-tab {
        border-bottom: none;
        border-left: 3px solid transparent;
        text-align: left;
    }
    .sg-home-tab.is-active { border-left-color: var(--benq-primary); }
}

/* —— Manage grid —— */
.sg-home-manage-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3.2rem;
}

.sg-home-manage-card img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 2rem;
}

@media (max-width: 767px) {
    .sg-home-manage-grid { grid-template-columns: 1fr; }
}

/* —— Products —— */
.sg-home-products-empty {
    text-align: center;
    padding: 3.2rem 1.6rem;
    color: var(--benq-silver);
}

.sg-home-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.sg-home-products-demo-note {
    text-align: center;
    margin: -2.4rem auto 2rem;
    font-size: 1.35rem;
    color: var(--benq-silver);
}

.sg-home-product-badge--demo {
    background: #c0392b;
}

@media (max-width: 1219px) {
    .sg-home-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .sg-home-products-grid {
        grid-template-columns: 1fr;
    }
}

.sg-home-product-card {
    background: var(--benq-white);
    border: 1px solid #e5e5e5;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}

.sg-home-product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.sg-home-product-card-link {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    text-decoration: none;
}

.sg-home-product-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #d6e3ea;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sg-home-product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sg-home-product-card-placeholder {
    font-size: 3rem;
    color: var(--benq-silver);
}

.sg-home-product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(0, 0, 0, 0.75);
    color: var(--benq-white);
    font-size: 1.2rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
}

.sg-home-product-card-body {
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sg-home-product-code {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--benq-primary);
}

.sg-home-product-card-body h3 {
    font-family: var(--benq-font-title);
    font-weight: 600;
    font-size: 1.8rem;
    margin: 0.4rem 0 0.8rem;
    color: var(--benq-black);
}

.sg-home-product-summary {
    font-size: 1.4rem;
    color: var(--benq-silver);
    margin: 0 0 1rem;
}

.sg-home-product-specs {
    list-style: none;
    margin: 0 0 1.2rem;
    padding: 0;
    font-size: 1.3rem;
}

.sg-home-product-specs li {
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0;
    border-bottom: 1px solid #eee;
}

.sg-home-product-specs li span { color: var(--benq-silver); }
.sg-home-product-specs li strong { color: var(--benq-dark); font-weight: 500; }

.sg-home-product-foot {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.sg-home-product-price span {
    display: block;
    font-size: 1.2rem;
    color: var(--benq-silver);
}

.sg-home-product-price strong {
    font-family: var(--benq-font-title);
    font-size: 2rem;
    color: var(--benq-primary);
}

.sg-home-product-price strong small {
    font-size: 1.2rem;
    font-weight: 500;
}

/* —— Product detail (shop) —— */
.sg-shop-detail {
    padding: 3.2rem 0 6.4rem;
    background: var(--benq-gray);
}

.sg-shop-wrap {
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
}

.sg-shop-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2.4rem;
    font-size: 1.3rem;
    color: var(--benq-silver);
}

.sg-shop-breadcrumb a {
    color: var(--benq-primary);
    text-decoration: none;
}

.sg-shop-breadcrumb strong {
    color: var(--benq-black);
    font-weight: 600;
}

.sg-shop-hero {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2.4rem;
    margin-bottom: 2.4rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 2rem;
}

.sg-shop-gallery {
    background: #eef4f6;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sg-shop-gallery img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: contain;
    display: block;
}

.sg-shop-gallery-empty {
    font-size: 5rem;
    color: #b7c8cd;
}

.sg-shop-category {
    display: inline-block;
    margin-bottom: 0.8rem;
    padding: 0.3rem 0.7rem;
    background: rgba(0, 98, 107, 0.1);
    color: var(--benq-primary);
    font-size: 1.2rem;
    font-weight: 600;
}

.sg-shop-code {
    margin: 0 0 0.4rem;
    font-size: 1.3rem;
    color: var(--benq-primary);
    font-weight: 600;
}

.sg-shop-title {
    margin: 0 0 1rem;
    font-family: var(--benq-font-title);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--benq-black);
}

.sg-shop-lead {
    margin: 0 0 1.8rem;
    font-size: 1.5rem;
    line-height: 1.55;
    color: var(--benq-dark);
}

.sg-shop-price-box {
    padding: 1.4rem 1.6rem;
    margin-bottom: 1.8rem;
    background: linear-gradient(160deg, #eef7f8 0%, #fff 70%);
    border: 1px solid #d7e8eb;
}

.sg-shop-price-label {
    display: block;
    font-size: 1.25rem;
    color: var(--benq-silver);
    margin-bottom: 0.3rem;
}

.sg-shop-price {
    display: block;
    font-family: var(--benq-font-title);
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--benq-primary);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.sg-shop-price small {
    font-size: 1.6rem;
    margin-left: 0.2rem;
}

.sg-shop-price-break {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.sg-shop-price-break li {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 1.2rem;
}

.sg-shop-price-break span { color: var(--benq-silver); }
.sg-shop-price-break strong { color: var(--benq-dark); font-weight: 600; }

.sg-shop-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.sg-shop-sections {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.6rem;
}

.sg-shop-panel {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 2rem;
}

.sg-shop-panel h2 {
    margin: 0 0 1.4rem;
    font-family: var(--benq-font-title);
    font-size: 2rem;
    font-weight: 700;
    color: var(--benq-black);
}

.sg-shop-panel--drawing {
    grid-column: 1 / -1;
}

.sg-shop-table {
    width: 100%;
    border-collapse: collapse;
}

.sg-shop-table th,
.sg-shop-table td {
    padding: 1rem 0.8rem;
    border-bottom: 1px solid #eef2f3;
    font-size: 1.4rem;
    text-align: left;
    vertical-align: top;
}

.sg-shop-table th {
    width: 40%;
    color: var(--benq-silver);
    font-weight: 500;
}

.sg-shop-table td {
    color: var(--benq-black);
    font-weight: 600;
}

.sg-shop-table tr.is-total th,
.sg-shop-table tr.is-total td {
    color: var(--benq-primary);
    font-size: 1.55rem;
    border-bottom: none;
    padding-top: 1.2rem;
}

.sg-shop-drawing-preview {
    margin-bottom: 1.2rem;
    background: #f5f8f9;
    border: 1px solid #e5e5e5;
    padding: 1rem;
}

.sg-shop-drawing-preview img {
    max-width: 100%;
    height: auto;
    display: block;
}

.sg-shop-muted {
    margin: 0;
    color: var(--benq-silver);
    font-size: 1.4rem;
}

@media (max-width: 991px) {
    .sg-shop-hero,
    .sg-shop-sections {
        grid-template-columns: 1fr;
    }

    .sg-shop-title { font-size: 2.6rem; }
    .sg-shop-price-break { grid-template-columns: 1fr; }
}

/* —— Contact —— */
.sg-home-contact-form {
    max-width: 840px;
    padding-bottom: 2rem;
}

.sg-home-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.sg-home-field {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sg-home-field--full { grid-column: 1 / -1; }
.sg-home-field--submit { align-items: center; padding-top: 0.8rem; }

.sg-home-label {
    font-family: var(--benq-font-body);
    font-weight: 500;
    font-size: 1.4rem;
    color: var(--benq-dark);
}

.sg-home-required { color: #c0392b; }

.sg-home-input,
.sg-home-textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 1.2rem 1.4rem;
    font-family: var(--benq-font-body);
    font-size: 1.4rem;
    color: var(--benq-dark);
    background: var(--benq-white);
    border: 1px solid #ccc;
    border-radius: 0;
    transition: border-color 0.15s;
}

.sg-home-input:focus,
.sg-home-textarea:focus {
    outline: none;
    border-color: var(--benq-primary);
}

.sg-home-textarea {
    resize: vertical;
    min-height: 140px;
}

@media (max-width: 767px) {
    .sg-home-contact-grid { grid-template-columns: 1fr; }
    .sg-home-field--full { grid-column: auto; }
}

/* —— Footer —— */
.sg-home-footer {
    background: var(--benq-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3.2rem 2rem;
    font-size: 1.3rem;
    text-align: center;
}

.sg-home-footer p { margin: 0; }

/* —— Floating actions (scroll top + live chat) —— */
.sg-home-fab {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    z-index: 400;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.sg-home-fab-btn {
    position: relative;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 40, 50, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sg-home-fab-btn i {
    font-size: 1.8rem;
    line-height: 1;
}

.sg-home-fab-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 40, 50, 0.26);
}

.sg-home-fab-btn:focus {
    outline: 2px solid var(--benq-primary);
    outline-offset: 2px;
}

.sg-home-fab-btn--top {
    background: #fff;
    color: var(--benq-primary);
    border: 1px solid #d7e8eb;
}

.sg-home-fab-btn--top[hidden] {
    display: none !important;
}

.sg-home-fab-btn--chat {
    background: var(--benq-primary);
    color: #fff;
}

.sg-home-fab-btn--chat.is-open {
    background: #004d54;
}

.sg-home-fab-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(0, 98, 107, 0.35);
    animation: sgFabPulse 1.8s ease-out infinite;
    pointer-events: none;
}

.sg-home-fab-live {
    position: absolute;
    top: -0.35rem;
    right: -0.35rem;
    padding: 0.15rem 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    background: #c0392b;
    border-radius: 999px;
    line-height: 1.2;
}

.sg-home-chat {
    position: fixed;
    right: 2rem;
    bottom: 8.2rem;
    z-index: 401;
    width: min(360px, calc(100vw - 2.4rem));
    background: #fff;
    border: 1px solid #d7e8eb;
    box-shadow: 0 18px 48px rgba(0, 40, 50, 0.18);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: sgMapFeedIn 0.25s ease;
}

.sg-home-chat[hidden] {
    display: none !important;
}

.sg-home-chat-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.3rem;
    background: linear-gradient(135deg, #00626b 0%, #004d54 100%);
    color: #fff;
}

.sg-home-chat-head strong {
    display: block;
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.sg-home-chat-head span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 1.15rem;
    opacity: 0.9;
}

.sg-home-chat-head span i {
    font-size: 0.65rem;
    color: #7dffa8;
    animation: sgPulse 1.4s ease infinite;
}

.sg-home-chat-close {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.sg-home-chat-body {
    height: 280px;
    overflow-y: auto;
    padding: 1.2rem;
    background: #f5f8f9;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.sg-home-chat-msg {
    max-width: 88%;
    padding: 0.85rem 1rem;
    font-size: 1.3rem;
    line-height: 1.45;
    word-break: keep-all;
}

.sg-home-chat-msg.is-bot {
    align-self: flex-start;
    background: #fff;
    border: 1px solid #e4ecee;
    color: var(--benq-dark);
}

.sg-home-chat-msg.is-user {
    align-self: flex-end;
    background: var(--benq-primary);
    color: #fff;
}

.sg-home-chat-cta {
    color: var(--benq-primary);
    font-weight: 700;
    text-decoration: underline;
}

.sg-home-chat-foot {
    display: flex;
    gap: 0.6rem;
    padding: 1rem;
    border-top: 1px solid #e5eef0;
    background: #fff;
}

.sg-home-chat-foot input {
    flex: 1;
    min-width: 0;
    border: 1px solid #ccc;
    padding: 0.85rem 1rem;
    font-size: 1.3rem;
    font-family: var(--benq-font-body);
}

.sg-home-chat-foot button {
    width: 42px;
    height: 42px;
    border: none;
    background: var(--benq-primary);
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
}

.sg-home-chat-foot button:hover {
    background: var(--benq-primary-hover);
}

@keyframes sgFabPulse {
    0% { transform: scale(0.92); opacity: 0.8; }
    100% { transform: scale(1.25); opacity: 0; }
}

@media (max-width: 767px) {
    .sg-home-fab {
        right: 1.2rem;
        bottom: 1.2rem;
    }

    .sg-home-chat {
        right: 1.2rem;
        bottom: 7.4rem;
        width: calc(100vw - 2.4rem);
    }
}
