/* ── Reset ──────────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ── Wrapper ────────────────────────────────────────────────────────────────── */
.s2phiw-wrap {
    font-family: Arial, Helvetica, sans-serif;
    color: #666666;
    padding: 2rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Headline ───────────────────────────────────────────────────────────────── */
.s2phiw-headline-wrap {
    margin-bottom: 2rem;
}

.s2phiw-headline-category {
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #666666;
    margin-bottom: 1.2rem;
    font-family: Arial, Helvetica, sans-serif;
}

.s2phiw-headline-title {
    font-family: Georgia, serif;
    font-size: 51.2px;
    font-weight: 700;
    color: #666666;
    line-height: 1.05;
    margin-bottom: 1.25rem;
}

.s2phiw-headline-title em {
    font-size: 51.2px;
    font-style: italic;
    font-weight: 700;
    color: #666666;
    display: block;
}

.s2phiw-headline-subtitle {
    font-family: Georgia, serif;
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 400;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ── Section ────────────────────────────────────────────────────────────────── */
.s2phiw-section {
    margin-bottom: 0;
}

.s2phiw-eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #4169A8;
    margin-bottom: 0.4rem;
    font-family: Arial, Helvetica, sans-serif;
}

.s2phiw-sec-title {
    font-family: Georgia, serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1E3F7A;
    margin-bottom: 0.3rem;
}

.s2phiw-sec-sub {
    font-size: 0.88rem;
    color: #999;
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.s2phiw-divider {
    border: none;
    border-top: 0.5px solid #B5D4F4;
    margin: 2rem 0;
}

/* ── Steps grid ─────────────────────────────────────────────────────────────── */
.s2phiw-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.s2phiw-step-card {
    background: #fff;
    border: 0.5px solid #B5D4F4;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.s2phiw-step-card:hover {
    border-color: #378ADD;
}

.s2phiw-step-img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
    background: #EBF0F8;
}

.s2phiw-step-body {
    padding: 0.9rem 1rem 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.s2phiw-step-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.s2phiw-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #1E3F7A;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: Arial, Helvetica, sans-serif;
}

.s2phiw-step-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1E3F7A;
    font-family: Arial, Helvetica, sans-serif;
}

.s2phiw-step-text {
    font-size: 0.8rem;
    color: #666;
    line-height: 1.65;
    font-family: Arial, Helvetica, sans-serif;
}

/* ── Packages grid ──────────────────────────────────────────────────────────── */
.s2phiw-pkg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.s2phiw-pkg-card {
    background: #fff;
    border: 0.5px solid #B5D4F4;
    border-radius: 12px;
    padding: 1.1rem 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

.s2phiw-pkg-popular {
    border: 2px solid #185FA5;
}

.s2phiw-pkg-badge {
    display: inline-block;
    background: #EBF0F8;
    color: #0C447C;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 4px;
    font-family: Arial, Helvetica, sans-serif;
}

.s2phiw-pkg-badge-pop {
    background: #185FA5;
    color: #fff;
}

.s2phiw-pkg-qty {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1E3F7A;
    line-height: 1.1;
}

.s2phiw-pkg-qty span {
    font-size: 0.82rem;
    font-weight: 400;
    color: #999;
}

.s2phiw-pkg-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: #185FA5;
}

.s2phiw-pkg-each {
    font-size: 0.72rem;
    color: #999;
    margin-top: 2px;
}

.s2phiw-pkg-btn {
    margin-top: 8px;
    background: #1E3F7A;
    color: #fff !important;
    border: none;
    border-radius: 8px;
    padding: 9px 0;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none !important;
    transition: background 0.15s;
}

.s2phiw-pkg-btn:hover {
    background: #185FA5;
    color: #fff !important;
}

.s2phiw-pkg-btn:visited {
    color: #fff !important;
}

/* ── Tips + Phone split ──────────────────────────────────────────────────────── */
.s2phiw-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 24px;
    align-items: start;
}

.s2phiw-tips-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.s2phiw-tip-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.s2phiw-tip-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #EBF0F8;
    color: #1E3F7A;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
    font-family: Arial, Helvetica, sans-serif;
}

.s2phiw-tip-text {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.65;
    font-family: Arial, Helvetica, sans-serif;
}

.s2phiw-tip-text strong {
    color: #1E3F7A;
}

/* ── Phone column ───────────────────────────────────────────────────────────── */
.s2phiw-phone-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.s2phiw-phone-frame {
    background: #1a1a2e;
    border-radius: 28px;
    padding: 9px;
    width: 100%;
}

.s2phiw-phone-screen {
    background: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
}

.s2phiw-phone-bar {
    background: #e8e8e8;
    padding: 7px 10px;
    font-size: 9px;
    color: #555;
    text-align: center;
    border-bottom: 0.5px solid #ddd;
    font-weight: 600;
    font-family: Arial, Helvetica, sans-serif;
}

.s2phiw-phone-to {
    background: #fff;
    padding: 5px 10px;
    font-size: 9px;
    color: #888;
    border-bottom: 0.5px solid #eee;
    font-family: Arial, Helvetica, sans-serif;
}

.s2phiw-phone-to span {
    color: #1E3F7A;
    font-weight: 700;
}

.s2phiw-msgs {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #f0f0f0;
}

.s2phiw-msg-out {
    align-self: flex-end;
    background: #1E3F7A;
    color: #fff;
    border-radius: 10px 10px 2px 10px;
    padding: 5px 8px;
    font-size: 9px;
    max-width: 78%;
    line-height: 1.45;
    font-family: Arial, Helvetica, sans-serif;
}

.s2phiw-msg-in {
    align-self: flex-start;
    background: #fff;
    color: #333;
    border-radius: 10px 10px 10px 2px;
    padding: 5px 8px;
    font-size: 9px;
    max-width: 82%;
    line-height: 1.45;
    border: 0.5px solid #ddd;
    font-family: Arial, Helvetica, sans-serif;
}

.s2phiw-msg-sys {
    align-self: center;
    background: #EBF0F8;
    color: #1E3F7A;
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 8px;
    text-align: center;
    max-width: 92%;
    line-height: 1.4;
    font-family: Arial, Helvetica, sans-serif;
}

/* ── End tip box ────────────────────────────────────────────────────────────── */
.s2phiw-end-tip {
    background: #EBF0F8;
    border-radius: 8px;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.s2phiw-end-tip p {
    font-size: 0.78rem;
    color: #1E3F7A;
    line-height: 1.6;
    font-family: Arial, Helvetica, sans-serif;
}

.s2phiw-end-tip strong {
    color: #1E3F7A;
    font-weight: 700;
}

/* ── Code chip ──────────────────────────────────────────────────────────────── */
.s2phiw-code {
    background: #EBF0F8;
    color: #1E3F7A;
    padding: 1px 5px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.78rem;
    font-weight: 700;
}

/* ── Responsive ─────────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
    .s2phiw-split {
        grid-template-columns: 1fr;
    }
    .s2phiw-phone-col {
        flex-direction: row;
        align-items: flex-start;
        gap: 16px;
    }
    .s2phiw-phone-frame {
        width: 200px;
        flex-shrink: 0;
    }
    .s2phiw-end-tip {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .s2phiw-wrap {
        padding: 1.5rem 10px;
    }
    .s2phiw-headline-title,
    .s2phiw-headline-title em {
        font-size: 2.2rem;
    }
    .s2phiw-steps-grid,
    .s2phiw-pkg-grid {
        grid-template-columns: 1fr;
    }
    .s2phiw-phone-col {
        flex-direction: column;
    }
    .s2phiw-phone-frame {
        width: 100%;
        max-width: 260px;
        margin: 0 auto;
    }
}

