/* ==========================================
   MBIZ CONSULTING - SOCIAL MEDIA MARKETING PAGE
   Brand: blue #0286E7, teal #02BFC9, navy #041C4C, white
   ========================================== */

.sm-page {
    --sm-blue: #0286E7;
    --sm-teal: #02BFC9;
    --sm-navy: #041C4C;
    --sm-text: #475569;
    --sm-line: #E2E8F0;
    --sm-soft: #F5F9FD;
    background: #fff;
    color: var(--sm-text);
    font-family: var(--font-main, 'Gilroy', 'Poppins', system-ui, sans-serif);
}

.sm-page h1,
.sm-page h2,
.sm-page h3 {
    font-family: var(--font-heading, 'Gilroy', 'Poppins', system-ui, sans-serif);
    color: var(--sm-navy);
    letter-spacing: -0.02em;
}

.sm-eyebrow,
.sm-kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--sm-blue);
    margin-bottom: 12px;
}

.sm-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 40px;
}

.sm-heading-left {
    text-align: left;
    margin: 0;
}

.sm-heading h2,
.sm-overview-grid h2 {
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
    font-weight: 800;
    margin: 0;
}

/* ---------- 01 HERO ---------- */
.sm-hero {
    padding: 52px 0 48px;
    border-bottom: 1px solid var(--sm-line);
    overflow: hidden;
}

.sm-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 44px;
    align-items: center;
}

.sm-hero h1 {
    font-size: clamp(32px, 4.4vw, 52px);
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 18px;
}

.sm-hero-copy p {
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 540px;
}

.sm-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.sm-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: contain;
    border-radius: 12px;
}

/* ---------- Smartphone + content mockup (no figures, no results) ---------- */
.sm-mock {
    position: relative;
    max-width: 500px;
    height: 470px;
    margin: 0 auto;
}

.sm-phone {
    position: absolute;
    background: #fff;
    border: 6px solid var(--sm-navy);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(4, 28, 76, 0.10);
}

.sm-phone-main {
    left: 4%;
    top: 0;
    width: 232px;
    height: 440px;
    padding: 22px 14px 14px;
    z-index: 2;
}

.sm-phone-reel {
    right: 2%;
    top: 36px;
    width: 188px;
    height: 380px;
    padding: 0;
    background: var(--sm-navy);
    z-index: 1;
}

.sm-phone-notch {
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 6px;
    border-radius: 4px;
    background: var(--sm-navy);
    z-index: 3;
}

.sm-phone-reel .sm-phone-notch {
    background: rgba(255, 255, 255, 0.28);
}

.sm-post-head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 6px 0 12px;
}

.sm-avatar {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sm-blue), var(--sm-teal));
    color: #fff;
    font-size: 12px;
    font-weight: 800;
}

.sm-post-head b,
.sm-post-head i {
    display: block;
    height: 7px;
    border-radius: 4px;
    background: #DCE6F1;
}

.sm-post-head b {
    width: 86px;
    margin-bottom: 6px;
    background: var(--sm-navy);
    opacity: 0.85;
}

.sm-post-head i {
    width: 54px;
}

.sm-post-art {
    position: relative;
    height: 218px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--sm-navy) 0%, #0B4A9A 60%, var(--sm-blue) 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.sm-post-art strong {
    position: relative;
    z-index: 1;
    color: #fff;
    font-size: 22px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.sm-art-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--sm-teal);
    opacity: 0.8;
}

.sm-art-ring-a {
    width: 120px;
    height: 120px;
    top: -34px;
    right: -30px;
}

.sm-art-ring-b {
    width: 64px;
    height: 64px;
    top: 36px;
    right: 44px;
    background: var(--sm-teal);
    border-color: var(--sm-teal);
    opacity: 0.9;
}

.sm-post-actions {
    display: flex;
    gap: 14px;
    margin: 12px 0 10px;
    color: var(--sm-navy);
}

.sm-post-actions svg {
    width: 20px;
    height: 20px;
}

.sm-lines em {
    display: block;
    height: 7px;
    border-radius: 4px;
    background: #DCE6F1;
    margin-top: 7px;
}

.sm-lines em.s {
    width: 64%;
}

.sm-reel-art {
    position: absolute;
    inset: 0 0 56px 0;
    background:
        radial-gradient(circle at 70% 24%, rgba(2, 191, 201, 0.55) 0, transparent 46%),
        linear-gradient(170deg, #0B4A9A 0%, var(--sm-blue) 55%, var(--sm-teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sm-play {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    position: relative;
}

.sm-play::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 16px;
    border-left: 16px solid var(--sm-navy);
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

.sm-reel-bar {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 40px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.sm-reel-bar i {
    display: block;
    width: 38%;
    height: 100%;
    border-radius: 2px;
    background: var(--sm-teal);
}

.sm-lines-light {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
}

.sm-lines-light em {
    background: rgba(255, 255, 255, 0.32);
    margin-top: 6px;
}

.sm-cal {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 214px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid var(--sm-line);
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(4, 28, 76, 0.08);
    z-index: 3;
}

.sm-cal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--sm-navy);
}

.sm-cal-title b {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--sm-teal);
}

.sm-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 5px;
}

.sm-cal-grid i {
    display: block;
    height: 22px;
    border-radius: 5px;
    background: #E8EFF7;
}

.sm-cal-grid i.on {
    background: var(--sm-blue);
}

.sm-cal-grid i.on:nth-child(3) {
    background: var(--sm-teal);
}

/* ---------- 02 OVERVIEW ---------- */
.sm-overview {
    padding: 64px 0 56px;
}

.sm-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
}

.sm-overview-grid p {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
}

/* ---------- 03 SERVICES (4 / 2 / compact columns) ---------- */
.sm-services {
    background: var(--sm-soft);
    border-top: 1px solid var(--sm-line);
    border-bottom: 1px solid var(--sm-line);
    padding: 64px 0;
}

.sm-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.sm-service {
    background: #fff;
    border: 1px solid var(--sm-line);
    border-top: 3px solid var(--sm-teal);
    border-radius: 12px;
    padding: 22px 20px;
}

.sm-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #E6F3FE;
    color: var(--sm-blue);
    margin-bottom: 14px;
}

.sm-service-icon svg {
    width: 22px;
    height: 22px;
}

.sm-service h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 8px;
}

.sm-service p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* ---------- 04 PLATFORMS ---------- */
.sm-platforms {
    padding: 64px 0;
}

.sm-platform-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
}

.sm-platform-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 22px 10px 18px;
    background: #fff;
    border: 1px solid var(--sm-line);
    border-radius: 12px;
}

.sm-platform-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--sm-soft);
    color: var(--sm-brand, var(--sm-navy));
}

.sm-platform-icon svg,
.sm-platform-icon img {
    width: 26px;
    height: 26px;
}

.sm-platform-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--sm-navy);
}

.sm-platform-note {
    margin: 26px auto 0;
    max-width: 640px;
    text-align: center;
    font-size: 15.5px;
    line-height: 1.7;
}

/* ---------- 05 BENEFITS (navy, teal accents) ---------- */
.sm-benefits {
    background: var(--sm-navy);
    padding: 64px 0;
}

.sm-benefits .sm-kicker {
    color: var(--sm-teal);
}

.sm-benefits h2 {
    color: #fff;
}

.sm-benefit-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 20px;
}

.sm-benefit-grid li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.sm-benefit-grid svg {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: var(--sm-teal);
}

/* ---------- 06 PROCESS (horizontal / vertical timeline) ---------- */
.sm-process {
    background: var(--sm-soft);
    padding: 64px 0;
}

.sm-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    position: relative;
}

.sm-timeline::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--sm-line);
}

.sm-timeline li {
    position: relative;
    text-align: center;
    padding: 0 6px;
}

.sm-step-num {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--sm-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 0 0 6px var(--sm-soft);
}

.sm-timeline h3 {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 8px;
}

.sm-timeline p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.sm-note {
    max-width: 760px;
    margin: 40px auto 0;
    padding: 20px 24px;
    background: #fff;
    border: 1px solid var(--sm-line);
    border-left: 4px solid var(--sm-blue);
    border-radius: 8px;
}

.sm-note h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 6px;
}

.sm-note p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.7;
}

.sm-related {
    margin: 40px auto 0;
    max-width: 700px;
    text-align: center;
    font-size: 15.5px;
    line-height: 1.7;
}

.sm-related a {
    color: var(--sm-blue);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.sm-related a:hover,
.sm-related a:focus-visible {
    color: #0269B8;
}

/* ---------- 07 FAQ ---------- */
.sm-faq {
    background: #fff;
    padding: 64px 0;
}

.sm-faq-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: start;
}

.sm-faq-item {
    border-bottom: 1px solid var(--sm-line);
}

.sm-faq-item:first-child {
    border-top: 1px solid var(--sm-line);
}

.sm-faq-item summary {
    cursor: pointer;
    list-style: none;
    position: relative;
    padding: 18px 36px 18px 0;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--sm-navy);
}

.sm-faq-item summary::-webkit-details-marker {
    display: none;
}

.sm-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 14px;
    font-size: 24px;
    font-weight: 400;
    color: var(--sm-blue);
}

.sm-faq-item[open] summary::after {
    content: "\2212";
}

.sm-faq-item summary:focus-visible {
    outline: 2px solid var(--sm-blue);
    outline-offset: 2px;
}

.sm-faq-item p {
    margin: 0;
    padding: 0 0 18px;
    font-size: 15.5px;
    line-height: 1.7;
}

/* ---------- 08 BANNER: flat navy, white heading, teal button ---------- */
.sm-page .sm-banner {
    background: var(--sm-navy);
    padding: 52px 0;
}

.sm-page .sm-banner h2 {
    color: #fff;
}

/* ---------- TABLET ---------- */
@media (max-width: 1024px) {
    .sm-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sm-platform-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .sm-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sm-overview-grid {
        gap: 36px;
    }
    .sm-faq-inner {
        gap: 32px;
    }
    .sm-timeline {
        gap: 12px;
    }
    .sm-timeline h3 {
        font-size: 16px;
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 860px) {
    .sm-hero {
        padding: 34px 0 32px;
    }
    .sm-hero-grid,
    .sm-faq-inner,
    .sm-overview-grid {
        grid-template-columns: 1fr;
    }
    .sm-overview-grid {
        gap: 18px;
    }
    .sm-hero-media img {
        max-height: 320px;
    }
    .sm-overview,
    .sm-services,
    .sm-platforms,
    .sm-benefits,
    .sm-process,
    .sm-faq {
        padding: 44px 0;
    }
    .sm-heading {
        margin-bottom: 28px;
    }

    /* Vertical timeline */
    .sm-timeline {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 4px;
    }
    .sm-timeline::before {
        top: 22px;
        bottom: 22px;
        left: 25px;
        right: auto;
        width: 2px;
        height: auto;
    }
    .sm-timeline li {
        text-align: left;
        padding: 0 0 26px 70px;
        min-height: 44px;
    }
    .sm-timeline li:last-child {
        padding-bottom: 0;
    }
    .sm-step-num {
        position: absolute;
        left: 4px;
        top: 0;
        margin: 0;
    }
    .sm-timeline h3 {
        padding-top: 10px;
    }
    .sm-related {
        margin-top: 32px;
    }
}

@media (max-width: 560px) {
    .sm-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Smaller phone mockups */
    .sm-mock {
        height: 410px;
    }
    .sm-phone-main {
        left: 0;
        width: 196px;
        height: 372px;
        padding: 20px 11px 11px;
    }
    .sm-post-art {
        height: 182px;
        padding: 12px;
    }
    .sm-post-art strong {
        font-size: 18px;
    }
    .sm-phone-reel {
        right: 0;
        top: 30px;
        width: 150px;
        height: 316px;
    }
    .sm-cal {
        width: 180px;
        padding: 10px 12px;
    }
    .sm-cal-grid i {
        height: 18px;
    }

    /* compact two-column service cards */
    .sm-service-grid {
        gap: 12px;
    }
    .sm-service {
        padding: 16px 14px;
    }
    .sm-service-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 10px;
    }
    .sm-service-icon svg {
        width: 20px;
        height: 20px;
    }
    .sm-service h3 {
        font-size: 16px;
    }
    .sm-service p {
        font-size: 14px;
    }
    .sm-platform-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .sm-benefit-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .sm-faq-item summary {
        font-size: 16px;
    }
}

@media (max-width: 340px) {
    .sm-service-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sm-page * {
        transition: none !important;
    }
}
