/* ============================================================
   SERVICE PAGES — Complete Stylesheet
   SuperlyTech | Matches WordPress reference design
   ============================================================ */

/* ── Root overrides for service pages ── */
:root {
    --sp-primary:    #2271b1;   /* WordPress admin blue used on the live site */
    --sp-primary-d:  #135e96;
    --sp-accent:     #00a32a;   /* green accent */
    --sp-dark:       #1d2327;
    --sp-grey-bg:    #f6f7f7;
    --sp-border:     #dcdcde;
    --sp-text:       #3c434a;
    --sp-muted:      #646970;
    --sp-white:      #ffffff;
    --sp-radius:     8px;
    --sp-radius-lg:  16px;
    --sp-shadow:     0 2px 20px rgba(0,0,0,0.08);
    --sp-shadow-lg:  0 8px 40px rgba(0,0,0,0.12);
    --sp-transition: 0.28s ease;
}

/* ============================================================
   BANNER / HERO
   ============================================================ */

/* Full-width banner image area — 1305 × 298 px target */
.sp-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 0;           /* flush on desktop */
    background: var(--sp-dark);
}

/* Replace background when image available */
.sp-banner__img {
    width: 100%;
    height: 298px;
    object-fit: cover;
    display: block;

    /* ── IMAGE PLACEHOLDER STYLING ──
       Remove these background styles once you upload the real image */
    background: linear-gradient(120deg, #1d2d50 0%, #1976d2 50%, #00c853 100%);
}

/* Overlay text on banner */
.sp-banner__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
}

.sp-banner__title {
    font-size: clamp(1.6rem, 4vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.sp-banner__subtitle {
    font-size: clamp(0.9rem, 2vw, 1.15rem);
    opacity: 0.92;
    max-width: 700px;
    margin: 0 auto;
}

/* Platform logo row on banner */
.sp-banner__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.sp-banner__logo-tag {
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    text-transform: uppercase;
}

/* ============================================================
   PAGE-LEVEL LAYOUT
   ============================================================ */

.sp-page {
    color: var(--sp-text);
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.65;
}

.sp-section {
    padding: 72px 0;
}

.sp-section--grey {
    background: var(--sp-grey-bg);
}

.sp-section--dark {
    background: var(--sp-dark);
    color: #fff;
}

.sp-section--blue {
    background: linear-gradient(135deg, var(--sp-primary) 0%, var(--sp-primary-d) 100%);
    color: #fff;
}

.sp-section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    font-weight: 800;
    color: var(--sp-dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.sp-section-title--white { color: #fff; }

.sp-section-sub {
    font-size: 1.05rem;
    color: var(--sp-muted);
    max-width: 620px;
}

.sp-section-sub--white {
    color: rgba(255,255,255,0.85);
}

/* Divider pill under section heading */
.sp-divider {
    width: 56px;
    height: 4px;
    background: var(--sp-primary);
    border-radius: 4px;
    margin: 0.75rem 0 1.5rem;
}

.sp-divider--center { margin-left: auto; margin-right: auto; }
.sp-divider--white  { background: rgba(255,255,255,0.6); }

/* ============================================================
   IMAGE PLACEHOLDER
   ============================================================ */

/* Generic placeholder box used wherever a real image will go */
.sp-img-placeholder {
    width: 100%;
    border-radius: var(--sp-radius-lg);
    background: linear-gradient(135deg, #e8f0fe 0%, #d2e3fc 100%);
    border: 2px dashed #a8c7fa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--sp-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    padding: 2rem;
    gap: 0.75rem;
    min-height: 260px;
    position: relative;
    overflow: hidden;
}

.sp-img-placeholder i {
    font-size: 3rem;
    opacity: 0.5;
}

.sp-img-placeholder .sp-img-placeholder__label {
    font-size: 0.8rem;
    color: var(--sp-muted);
    font-weight: 400;
}

/* ============================================================
   SERVICE TABS (Onboarding / Listing / Advertising / etc.)
   ============================================================ */

.sp-tabs {
    border-bottom: 2px solid var(--sp-border);
    flex-wrap: wrap;
    gap: 0;
}

.sp-tabs .nav-link {
    color: var(--sp-muted);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    padding: 0.85rem 1.5rem;
    background: transparent;
    margin-bottom: -2px;
    transition: color var(--sp-transition), border-color var(--sp-transition);
}

.sp-tabs .nav-link:hover {
    color: var(--sp-primary);
    background: transparent;
}

.sp-tabs .nav-link.active {
    color: var(--sp-primary);
    border-bottom-color: var(--sp-primary);
    background: transparent;
}

.sp-tab-content {
    background: #fff;
    border: 1px solid var(--sp-border);
    border-top: none;
    border-radius: 0 0 var(--sp-radius) var(--sp-radius);
    padding: 2rem;
}

/* ============================================================
   PRICING TABLE
   ============================================================ */

.sp-pricing-card {
    background: #fff;
    border: 2px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    overflow: hidden;
    transition: box-shadow var(--sp-transition), border-color var(--sp-transition), transform var(--sp-transition);
    height: 100%;
}

.sp-pricing-card:hover {
    border-color: var(--sp-primary);
    box-shadow: var(--sp-shadow-lg);
    transform: translateY(-4px);
}

.sp-pricing-card.is-featured {
    border-color: var(--sp-primary);
    box-shadow: 0 12px 36px rgba(34,113,177,0.18);
    transform: scale(1.03);
    position: relative;
    z-index: 1;
}

.sp-pricing-card__badge {
    background: var(--sp-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 0.3rem 1.2rem;
    text-align: center;
}

.sp-pricing-card__head {
    background: var(--sp-grey-bg);
    padding: 1.5rem;
    text-align: center;
    border-bottom: 1px solid var(--sp-border);
}

.sp-pricing-card__name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--sp-dark);
    margin-bottom: 0.25rem;
}

.sp-pricing-card__price {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--sp-primary);
    line-height: 1;
}

.sp-pricing-card__price small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--sp-muted);
    vertical-align: middle;
}

.sp-pricing-card__duration {
    font-size: 0.82rem;
    color: var(--sp-muted);
    margin-top: 0.25rem;
}

.sp-pricing-card__body {
    padding: 1.25rem 1.5rem;
}

.sp-pricing-card__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}

.sp-pricing-card__row:last-child { border-bottom: none; }

.sp-pricing-card__row span:first-child { color: var(--sp-text); }
.sp-pricing-card__row .sp-yes  { color: var(--sp-accent); font-weight: 700; }
.sp-pricing-card__row .sp-no   { color: #c3c4c7; }

.sp-pricing-card__foot {
    padding: 1.25rem 1.5rem 1.5rem;
    text-align: center;
}

/* Platform toggle pills above pricing */
.sp-platform-pills .nav-link {
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--sp-muted);
    padding: 0.45rem 1.4rem;
    border: 2px solid var(--sp-border);
    background: #fff;
    transition: all var(--sp-transition);
}

.sp-platform-pills .nav-link.active {
    background: var(--sp-primary);
    border-color: var(--sp-primary);
    color: #fff;
}

/* ============================================================
   SERVICE LIST CARDS (Onboarding, Cataloging, Setup)
   ============================================================ */

.sp-list-card {
    background: #fff;
    border-radius: var(--sp-radius-lg);
    border: 1px solid var(--sp-border);
    overflow: hidden;
    height: 100%;
    transition: box-shadow var(--sp-transition);
}

.sp-list-card:hover {
    box-shadow: var(--sp-shadow-lg);
}

.sp-list-card__head {
    padding: 1.1rem 1.5rem;
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
}

.sp-list-card__head--blue   { background: var(--sp-primary); }
.sp-list-card__head--green  { background: var(--sp-accent); }
.sp-list-card__head--purple { background: #8c30f5; }

.sp-list-card__body {
    padding: 0.75rem 1.5rem 1.25rem;
}

.sp-list-card__item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.92rem;
    color: var(--sp-text);
    text-decoration: none;
    transition: color var(--sp-transition);
}

.sp-list-card__item:last-child { border-bottom: none; }

.sp-list-card__item:hover, a.sp-list-card__item:hover {
    color: var(--sp-primary);
}

.sp-list-card__item i {
    color: var(--sp-accent);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ============================================================
   SPLIT CONTENT (image left/right alternating)
   ============================================================ */

.sp-split {
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.sp-split--reverse { flex-direction: row-reverse; }

.sp-split__media {
    flex: 0 0 46%;
    max-width: 46%;
}

.sp-split__content { flex: 1; }

.sp-split__eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sp-primary);
    margin-bottom: 0.5rem;
}

.sp-split__heading {
    font-size: clamp(1.3rem, 3vw, 1.9rem);
    font-weight: 800;
    color: var(--sp-dark);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.sp-split__text {
    color: var(--sp-muted);
    font-size: 0.97rem;
    margin-bottom: 1.25rem;
}

.sp-check-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.sp-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: var(--sp-text);
}

.sp-check-list li i {
    color: var(--sp-accent);
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* ============================================================
   FEATURE / ICON CARDS
   ============================================================ */

.sp-feature-card {
    background: #fff;
    border: 1px solid var(--sp-border);
    border-radius: var(--sp-radius-lg);
    padding: 1.75rem;
    text-align: center;
    transition: box-shadow var(--sp-transition), transform var(--sp-transition);
    height: 100%;
}

.sp-feature-card:hover {
    box-shadow: var(--sp-shadow-lg);
    transform: translateY(-5px);
}

.sp-feature-card__icon {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 1.1rem;
}

.sp-feature-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--sp-dark);
    margin-bottom: 0.5rem;
}

.sp-feature-card__text {
    font-size: 0.88rem;
    color: var(--sp-muted);
    margin: 0;
}

/* ============================================================
   STRATEGY CARDS (Digital Marketing)
   ============================================================ */

.sp-strategy-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    background: #fff;
    border-radius: var(--sp-radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--sp-border);
    transition: box-shadow var(--sp-transition);
    height: 100%;
}

.sp-strategy-card:hover {
    box-shadow: var(--sp-shadow-lg);
}

.sp-strategy-card__num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--sp-primary);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sp-strategy-card__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--sp-dark);
    margin-bottom: 0.3rem;
}

.sp-strategy-card__text {
    font-size: 0.88rem;
    color: var(--sp-muted);
    margin: 0;
}

/* ============================================================
   SOCIAL PLATFORM CARDS
   ============================================================ */

.sp-platform-card {
    border-radius: var(--sp-radius-lg);
    overflow: hidden;
    border: 1px solid var(--sp-border);
    background: #fff;
    transition: box-shadow var(--sp-transition), transform var(--sp-transition);
    height: 100%;
}

.sp-platform-card:hover {
    box-shadow: var(--sp-shadow-lg);
    transform: translateY(-4px);
}

.sp-platform-card__top {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sp-platform-card__logo {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
}

.sp-platform-card__name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--sp-dark);
    margin: 0;
}

.sp-platform-card__body {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.88rem;
    color: var(--sp-muted);
}

/* ============================================================
   CTA SECTION
   ============================================================ */

.sp-cta {
    background: linear-gradient(120deg, var(--sp-primary) 0%, #1565c0 100%);
    border-radius: var(--sp-radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    color: #fff;
}

.sp-cta__title {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.sp-cta__sub {
    font-size: 1rem;
    opacity: 0.88;
    margin-bottom: 1.75rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.sp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.7rem 1.75rem;
    border-radius: var(--sp-radius);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--sp-transition);
    letter-spacing: 0.02em;
}

.sp-btn--primary {
    background: var(--sp-primary);
    color: #fff;
    border-color: var(--sp-primary);
}

.sp-btn--primary:hover {
    background: var(--sp-primary-d);
    border-color: var(--sp-primary-d);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34,113,177,0.35);
}

.sp-btn--outline {
    background: transparent;
    color: var(--sp-primary);
    border-color: var(--sp-primary);
}

.sp-btn--outline:hover {
    background: var(--sp-primary);
    color: #fff;
    transform: translateY(-2px);
}

.sp-btn--white {
    background: #fff;
    color: var(--sp-primary);
    border-color: #fff;
}

.sp-btn--white:hover {
    background: #e8f0fe;
    transform: translateY(-2px);
}

.sp-btn--whatsapp {
    background: #25d366;
    color: #fff;
    border-color: #25d366;
}

.sp-btn--whatsapp:hover {
    background: #1ebe5d;
    border-color: #1ebe5d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.35);
}

.sp-btn--lg {
    padding: 0.9rem 2.2rem;
    font-size: 1rem;
}

/* ============================================================
   STATS BAR
   ============================================================ */

.sp-stats-bar {
    background: var(--sp-dark);
    color: #fff;
    padding: 2.5rem 0;
}

.sp-stat {
    text-align: center;
    padding: 0.5rem;
}

.sp-stat__num {
    font-size: 2.4rem;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    display: block;
}

.sp-stat__label {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    margin-top: 0.3rem;
}

/* ============================================================
   TESTIMONIAL / WHY-CHOOSE STRIP
   ============================================================ */

.sp-why-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: #fff;
    border-radius: var(--sp-radius-lg);
    border: 1px solid var(--sp-border);
    height: 100%;
    transition: box-shadow var(--sp-transition);
}

.sp-why-item:hover { box-shadow: var(--sp-shadow-lg); }

.sp-why-item__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--sp-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.sp-why-item__title {
    font-size: 0.97rem;
    font-weight: 800;
    color: var(--sp-dark);
    margin-bottom: 0.25rem;
}

.sp-why-item__text {
    font-size: 0.85rem;
    color: var(--sp-muted);
    margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991px) {
    .sp-split, .sp-split--reverse {
        flex-direction: column;
    }
    .sp-split__media {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .sp-section {
        padding: 52px 0;
    }
    .sp-banner__img { height: 220px; }
    .sp-pricing-card.is-featured { transform: none; }
}

@media (max-width: 575px) {
    .sp-banner__img { height: 180px; }
    .sp-banner__title { font-size: 1.35rem; }
    .sp-section { padding: 40px 0; }
    .sp-stat__num { font-size: 1.9rem; }
    .sp-tabs .nav-link { padding: 0.65rem 0.9rem; font-size: 0.78rem; }
    .sp-cta { padding: 2rem 1rem; }
}
