/* =============================================================== */
/* Base */
/* =============================================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    font-family: 'Montserrat', sans-serif;
    color: #1f2937;
    background: #f6f3ee;
}

body {
    position: relative;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

/* =============================================================== */
/* Hero Background */
/* =============================================================== */
.page-shell {
    position: relative;
    min-height: 52vh;
    overflow: hidden;
    isolation: isolate;
}

.page-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('/images/kb12-11.png');
    background-size: cover;
    background-position: center 23%;
    filter: blur(5px);
    transform: scale(1.04);
    z-index: -2;
}

.background-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(248, 245, 240, 0.74),
            rgba(248, 245, 240, 0.86)
        );
    z-index: -1;
}

/* =============================================================== */
/* Layout */
/* =============================================================== */
.main-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 32px 80px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 74px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    width: 170px;
    max-width: 42vw;
    height: auto;
    opacity: 0.95;
}

/* =============================================================== */
/* Navigation */
/* =============================================================== */
.top-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.top-nav a {
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 600;
    color: #24334a;
    transition: opacity 0.2s ease;
}

.top-nav a:hover {
    opacity: 0.72;
}

.top-nav .nav-book {
    color: #17325c;
}

/* =============================================================== */
/* Hero Content */
/* =============================================================== */
.hero-content {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.hero-content-clean {
    padding-bottom: 62px;
}

.eyebrow {
    margin: 0 0 16px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #907b63;
}

.hero-content h1 {
    margin: 0;
    font-size: clamp(2.5rem, 5vw, 4.8rem);
    line-height: 1.04;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #22385d;
}

.intro-text {
    max-width: 760px;
    margin: 28px auto 0;
    font-size: 1.08rem;
    line-height: 1.8;
    color: #706961;
}

.hero-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #72675c;
}

.hero-links a {
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.hero-links a:hover {
    opacity: 0.68;
}

.hero-links span {
    color: #a29484;
}

.hero-actions {
    margin-top: 60px;
    display: flex;
    justify-content: center;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 186px;
    padding: 14px 30px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    background: #17325c;
    box-shadow:
        0 10px 24px rgba(48, 38, 28, 0.10),
        0 1px 2px rgba(48, 38, 28, 0.05);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero-button:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.hero-fade {
    height: 88px;
    margin-top: -18px;
    background: linear-gradient(
        to bottom,
        rgba(248, 245, 240, 0),
        rgba(248, 245, 240, 0.56),
        rgba(248, 245, 240, 1)
    );
}

/* =============================================================== */
/* Content Sections */
/* =============================================================== */
.content-section {
    padding: 88px 24px;
}

.section-light {
    background: #f8f5f0;
}

.section-soft {
    background: #f3efe9;
}

.section-contact {
    background: #f7f4ef;
}

.section-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

.section-inner.narrow {
    max-width: 860px;
}

.section-kicker {
    margin: 0 0 14px;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #907b63;
}

.section-title {
    margin: 0;
    text-align: center;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #22385d;
}

.section-subtitle {
    margin: 20px 0 0;
    text-align: center;
    font-size: 1.02rem;
    line-height: 1.7;
    color: #6e685f;
}

.section-subtitle.strong {
    font-weight: 700;
    color: #3f3932;
}

.section-text {
    max-width: 720px;
    margin: 24px auto 0;
    font-size: 1rem;
    line-height: 1.82;
    color: #706961;
}

.section-text.left {
    text-align: left;
}

.section-text.center {
    text-align: center;
}

/* =============================================================== */
/* Images / Media */
/* =============================================================== */
.stacked-images {
    display: grid;
    gap: 24px;
    margin-top: 38px;
}

.stacked-images img,
.partner-image {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    border-radius: 12px;
}

.partner-block {
    margin-top: 44px;
    text-align: center;
}

.kbooster-img {
    max-width: 600px;
    width: 100%;
    display: block;
    margin: 24px auto;
}

/* =============================================================== */
/* Product Grids */
/* =============================================================== */
.category-block {
    margin-top: 44px;
}

.special-space {
    margin-top: 64px;
}

.category-title {
    margin: 0 0 22px;
    text-align: center;
    font-size: 1.22rem;
    font-weight: 700;
    color: #22385d;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    justify-items: center;
}

.product-grid.three-col {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 900px;
    margin: 0 auto;
}

.product-card {
    padding: 28px 20px 30px;
    border-radius: 12px;
    background: rgba(251, 249, 245, 0.98);
    border: 1px solid rgba(70, 58, 43, 0.08);
    box-shadow:
        0 10px 24px rgba(48, 38, 28, 0.06),
        0 1px 2px rgba(48, 38, 28, 0.04);
    text-align: center;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 28px rgba(48, 38, 28, 0.08),
        0 3px 6px rgba(48, 38, 28, 0.05);
}

.product-card img {
    width: 100%;
    max-width: 120px;
    margin: 0 auto 16px;
}

.product-card h4 {
    margin: 0 0 8px;
    font-size: 1.04rem;
    font-weight: 700;
    color: #23324a;
}

.product-card p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #756f67;
}

/* =============================================================== */
/* Text Blocks */
/* =============================================================== */
.text-block {
    max-width: 760px;
    margin: 32px auto 0;
    display: grid;
    gap: 18px;
}

.text-block p {
    margin: 0;
    text-align: center;
    font-size: 1rem;
    line-height: 1.82;
    color: #706961;
}

/* =============================================================== */
/* Buttons */
/* =============================================================== */
.section-actions {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 188px;
    padding: 14px 28px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    background: #17325c;
    box-shadow:
        0 10px 24px rgba(48, 38, 28, 0.10),
        0 1px 2px rgba(48, 38, 28, 0.05);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.cta-button:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

/* =============================================================== */
/* Contact */
/* =============================================================== */
.map-wrap {
    margin-top: 30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 10px 24px rgba(48, 38, 28, 0.06),
        0 1px 2px rgba(48, 38, 28, 0.04);
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 380px;
}

.office-location {
    margin-top: 20px;
    text-align: center;
    font-size: 0.98rem;
    line-height: 1.75;
    color: #5f5a54;
}

.partner-note {
    margin-top: 8px;
    text-align: center;
    font-size: 0.95rem;
    color: #7a746c;
}


/* =============================================================== */
/* Footer */
/* =============================================================== */
.site-footer {
    padding: 48px 24px 28px;
    background: #eee8df;
    color: #5f5a54;
}

/* 전체 컨테이너 */
.footer-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

/* 상단 (회사 정보) */
.footer-brand {
    text-align: center;
}

.footer-company {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 700;
    color: #4f4a44;
}

.footer-address,
.footer-contact {
    margin: 6px 0 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #6a645d;
}

.footer-contact a {
    color: #23324a;
    text-decoration: none;
    border-bottom: 1px solid rgba(35, 50, 74, 0.2);
}

.footer-contact a:hover {
    opacity: 0.75;
}

/* 인스타 */
.footer-social {
    margin-top: 14px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    text-decoration: none;
    color: #23324a;
    border: 1px solid rgba(35, 50, 74, 0.12);
    background: rgba(255, 255, 255, 0.35);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-social a:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

/* 하단 메타 */
.footer-meta {
    margin-top: 18px;
    text-align: center;
}

.footer-copy {
    margin: 0;
    font-size: 0.9rem;
    color: #6c665f;
}

/* 정책 링크 */
.footer-links {
    margin-top: 10px;
    font-size: 0.92rem;
}

.footer-links a {
    text-decoration: none;
    color: #23324a;
}

.footer-links a:hover {
    opacity: 0.75;
}

.footer-links span {
    margin: 0 10px;
    color: #8d867d;
}

/* =============================================================== */
/* Responsive */
/* =============================================================== */
@media (max-width: 900px) {
    .top-nav {
        gap: 18px;
    }

    .product-grid,
    .product-grid.three-col {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.hamburger {
    display: none;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 40px 18px 24px;
    }

    .footer-company {
        font-size: 1rem;
    }

    .footer-address,
    .footer-contact {
        font-size: 0.93rem;
        line-height: 1.5;
    }

    .footer-meta {
        margin-top: 16px;
    }

    .footer-links {
        font-size: 0.9rem;
    }

    .main-container {
        padding: 24px 18px 64px;
    }

    .logo-container {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 46px;
        gap: 0;
    }

    .logo-link {
        margin: 0 auto;
    }

    .logo {
        width: 138px;
    }

    .top-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #f8f5f0;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px 0;
        gap: 16px;
        z-index: 20;
    }

    .top-nav.active {
        display: flex;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 28px;
        height: 28px;
        cursor: pointer;
        background: transparent;
        border: 0;
        padding: 0;
    }

    .hamburger span {
        display: block;
        width: 24px;
        height: 2px;
        background: #24334a;
        border-radius: 999px;
    }

    .hero-content-clean {
        padding-bottom: 48px;
    }

    .hero-content h1 {
        font-size: clamp(2.1rem, 8vw, 3.2rem);
        line-height: 1.08;
    }

    .intro-text {
        font-size: 0.98rem;
        margin-top: 20px;
    }

    .hero-links {
        font-size: 0.9rem;
        gap: 10px;
        margin-top: 22px;
    }

    .hero-actions {
        margin-top: 48px;
    }

    .hero-fade {
        height: 68px;
    }

    .content-section {
        padding: 68px 18px;
    }

     .kbooster-img {
        max-width: 90%;
    }
}

@media (max-width: 540px) {
    .page-shell {
        min-height: auto;
    }

    .logo {
        width: 126px;
    }

    .hero-links {
        flex-direction: column;
        gap: 8px;
    }

    .hero-links span {
        display: none;
    }

    .product-grid,
    .product-grid.three-col {
        grid-template-columns: 1fr;
        justify-items: center; /* 카드 가운데 정렬 */
    }

    .product-card {
        max-width: 320px;
        width: 100%;
        padding: 24px 18px;
    }

    .product-card img {
        max-width: 100px;
        width: 100%;
        height: auto;
        margin: 0 auto 14px;
        display: block;
    }

    .product-card h4 {
        font-size: 1rem;
    }

    .product-card p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .map-wrap iframe {
        height: 300px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle,
    .section-text,
    .text-block p {
        font-size: 0.96rem;
    }

    .kbooster-img {
        max-width: 260px;
    }
}







.homecare-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.homecare-row {
    display: grid;
    max-width: 1000px;
    margin: 0 auto;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: #fff;
    border-radius: 28px;
    padding: 28px 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.homecare-row.reverse .homecare-media {
    order: 2;
}

.homecare-row.reverse .homecare-copy {
    order: 1;
}

.homecare-media {
    width: 380px;
    height: 240px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.homecare-img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.homecare-img.daily-img {
    transform: scale(0.98);
}

.homecare-img.special-img {
    transform: scale(0.92);
}

.homecare-copy {
    width: 100%;
    max-width: 340px;
}

.homecare-row .homecare-copy {
    margin-right: auto;
}

.homecare-row.reverse .homecare-copy {
    margin-left: auto;
}

.homecare-copy .category-title {
    margin: 0 0 14px;
    text-align: left;
}

.homecare-copy .section-text {
    margin: 0 0 22px;
    text-align: left;
    line-height: 1.7;
}

#homecare .section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .homecare-row,
    .homecare-row.reverse {
        grid-template-columns: 1fr;
        padding: 24px 20px;
        gap: 24px;
    }

    .homecare-row.reverse .homecare-media,
    .homecare-row.reverse .homecare-copy {
        order: initial;
    }

    .homecare-media {
        width: 100%;
        max-width: 380px;
        height: auto;
    }

    .homecare-copy {
        max-width: 100%;
        text-align: center;
    }

    .homecare-copy .category-title,
    .homecare-copy .section-text {
        text-align: center;
    }

    .homecare-img.daily-img,
    .homecare-img.special-img {
        transform: none;
    }
}