
/* ============================================
   Layout
============================================ */
.inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ============================================
   Section Title
============================================ */
.sec-title {
    text-align: center;
    font-size: 42px;
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 1.35;
    margin-bottom: 22px;
    color: var(--black);
}

.sec-title .gold-text {
    font-weight: 800;
}

.sec-desc {
    text-align: center;
    font-size: 18px;
    font-weight: 300;
    color: var(--black);
    opacity: 0.7;
    line-height: 1.85;
    max-width: 900px;
    margin: 0 auto;
}



/* ============================================
   1. Head Image
============================================ */
.hero {background-image: url('../images/scalp_bg.jpg');}
/* ============================================
   2. About Scalp Care
============================================ */
.about-imgs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto 56px;
}

.about-imgs img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px;
}

.about-text {
    text-align: center;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.95;
    color: var(--black);
    opacity: 0.8;
    max-width: 920px;
    margin: 0 auto;
}

.about-text strong {
    font-weight: 600;
    opacity: 1;
}

.about-text .highlight {
    display: block;
    margin-top: 30px;
    font-size: 19px;
    font-weight: 500;
    opacity: 1;
    color: var(--black);
}

/* ============================================
   3. Scalp Types
============================================ */
.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.type-card {
    background: var(--white);
    border: 1px solid var(--gray-line);
    border-radius: 12px;
    padding: 42px 34px;
    transition: transform .35s ease, box-shadow .35s ease;
}

.type-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
}

.type-card .type-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.type-card .type-icon i {
    font-size: 26px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.type-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 18px;
}

.type-card ul {
    list-style: none;
}

.type-card ul li {
    position: relative;
    padding-left: 18px;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.7;
    color: var(--black);
    opacity: 0.75;
    margin-bottom: 10px;
}

.type-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-deep);
}

/* ============================================
   4. Program
============================================ */
.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 60px auto 0;
}

.program-item {
    background: var(--white);
    border: 1px solid var(--gray-line);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    transition: all .3s ease;
}

.program-item:hover {
    border-color: var(--gold-solid);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
}

.program-item i {
    font-size: 30px;
    margin-bottom: 16px;
    color: #c9a661;
}

.program-item p {
    font-size: 17px;
    font-weight: 500;
    color: var(--black);
}

.program-banner {
    margin-top: 64px;
    text-align: center;
    background: var(--light-gray);
    border-radius: 14px;
    padding: 54px 30px;
}

.program-banner h3 {
    font-size: 22px;
    font-weight: 300;
    color: var(--black);
    opacity: 0.7;
    margin-bottom: 14px;
}

.program-banner .big {
    font-size: 32px;
    font-weight: 800;
    color: var(--black);
}

/* ============================================
   5. Steps
============================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 44px;
    margin-top: 60px;
}

.step-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-line);
    border-radius: 12px;
    padding: 36px 30px;
    display: flex;
    align-items: center;
    gap: 22px;
    transition: all .3s ease;
}

/* STEP 카드 사이 화살표 */
.step-card::after {
    content: '\f054'; /* fa-chevron-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: -34px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #c9a661;
    z-index: 2;
}
/* 각 행의 마지막(3n) 카드는 화살표 제거 */
.step-card:nth-child(3n)::after,
.step-card:last-child::after {
    display: none;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.07);
}

.step-card .step-icon {
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card .step-icon i {
    font-size: 30px;
    color: #c9a661;
}

.step-card .step-num {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #c9a661;
    margin-bottom: 6px;
}

.step-card h4 {
    font-size: 21px;
    font-weight: 700;
    color: var(--black);
}

.steps-note {
    text-align: center;
    margin-top: 40px;
    font-size: 16px;
    font-weight: 300;
    color: var(--black);
    opacity: 0.6;
}

/* ============================================
   6. Devices
============================================ */
.device-list {
    margin-top: 64px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.device-row {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 50px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--gray-line);
    border-radius: 16px;
    padding: 40px;
}

.device-row:nth-child(even) {
    grid-template-columns: 1fr 360px;
}

.device-row:nth-child(even) .device-img {
    order: 2;
}

.device-img {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    overflow: hidden;
}

.device-img img {
    max-height: 100%;
    object-fit: contain;
}

.device-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 6px;
}

.device-info .device-en {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: var(--black);
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.device-info .device-en span {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.device-info p {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.85;
    color: var(--black);
    opacity: 0.78;
}

/* ============================================
   7. Why
============================================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 64px;
}

.why-card {
    text-align: center;
    background: var(--white);
    border: 1px solid var(--gray-line);
    border-radius: 16px;
    padding: 54px 34px;
    transition: all .35s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 44px rgba(0,0,0,0.08);
}

.why-card .why-icon {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.why-card .why-icon i {
    font-size: 36px;
    color: #c9a661;
}

.why-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 18px;
}

.why-card p {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--black);
    opacity: 0.75;
}

/* ============================================
   Animation
============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive
============================================ */
@media (max-width: 1024px) {
    .sec-title { font-size: 34px; }
    .types-grid,
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .program-grid { grid-template-columns: repeat(3, 1fr); }
    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .head-visual h1 { font-size: 40px; }

    .step-card::after { right: -32px; }
    .step-card:nth-child(3n)::after { display: block; }
    .step-card:nth-child(2n)::after,
    .step-card:last-child::after { display: none; }
}

@media (max-width: 768px) {
    section { padding: 70px 0; }
    .inner { padding: 0 20px; }
    .sec-title { font-size: 27px; }
    .sec-desc { font-size: 16px; }
    .head-visual { height: 400px; }
    .head-visual h1 { font-size: 30px; }
    .head-visual p { font-size: 16px; }
    .about-imgs { grid-template-columns: 1fr; }
    .about-imgs img { height: 240px; }
    .about-text { font-size: 16px; }
    .types-grid,
    .program-grid,
    .steps-grid,
    .why-grid { grid-template-columns: 1fr; }
    .steps-grid { gap: 40px; }
    .step-card::after,
    .step-card:nth-child(3n)::after {
        content: '\f078'; /* chevron-down */
        right: 50%;
        top: auto;
        bottom: -34px;
        transform: translateX(50%);
        display: block;
    }
    .step-card:last-child::after { display: none; }
    .device-row,
    .device-row:nth-child(even) { grid-template-columns: 1fr; gap: 26px; padding: 26px; }
    .device-row:nth-child(even) .device-img { order: 0; }
    .device-img { height: 240px; }
    .device-info h3 { font-size: 23px; }
    .program-banner .big { font-size: 24px; }
}
