/* ==========================================
   MBIZ CONSULTING - WEBSITE DESIGN & DEVELOPMENT
   Brand: blue #0286E7, teal #02BFC9, navy #041C4C, white
   ========================================== */

.wd-page {
    --wd-blue: #0286E7;
    --wd-teal: #02BFC9;
    --wd-navy: #041C4C;
    --wd-text: #475569;
    --wd-line: #E2E8F0;
    --wd-soft: #F5F9FD;
    background: #fff;
    color: var(--wd-text);
    font-family: var(--font-main, 'Gilroy', 'Poppins', system-ui, sans-serif);
}

.wd-page h1,
.wd-page h2,
.wd-page h3 {
    font-family: var(--font-heading, 'Gilroy', 'Poppins', system-ui, sans-serif);
    color: var(--wd-navy);
    letter-spacing: -0.02em;
}

.wd-eyebrow,
.wd-kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--wd-blue);
    margin-bottom: 12px;
}

.wd-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.wd-heading-left {
    text-align: left;
    margin: 0;
}

.wd-heading h2,
.wd-overview h2 {
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
    font-weight: 800;
    margin: 0;
}

/* ---------- 01 HERO ---------- */
.wd-hero {
    padding: 52px 0 48px;
    border-bottom: 1px solid var(--wd-line);
}

.wd-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 44px;
    align-items: center;
}

.wd-hero h1 {
    font-size: clamp(32px, 4.4vw, 52px);
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 18px;
}

.wd-hero-copy p {
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 540px;
}

.wd-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wd-hero-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
}

/* CSS-only mockup shown until the real device image is uploaded */
.wd-mock {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    padding: 0 40px 28px 0;
}

.wd-mock-browser {
    background: #fff;
    border: 1px solid var(--wd-line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(4, 28, 76, 0.08);
}

.wd-mock-bar {
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    background: var(--wd-navy);
}

.wd-mock-bar i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.wd-mock-body {
    padding: 16px;
}

.wd-mock-hero {
    height: 96px;
    border-radius: 8px;
    background: var(--wd-blue);
    margin-bottom: 12px;
}

.wd-mock-line {
    height: 8px;
    border-radius: 4px;
    background: #DCE6F1;
    margin-bottom: 8px;
}

.wd-mock-line.short {
    width: 60%;
}

.wd-mock-btn {
    width: 90px;
    height: 24px;
    border-radius: 12px;
    background: var(--wd-teal);
    margin-top: 12px;
}

.wd-mock-phone {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 120px;
    padding: 12px 10px 14px;
    background: #fff;
    border: 5px solid var(--wd-navy);
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(4, 28, 76, 0.12);
}

.wd-mock-phone .wd-mock-hero {
    height: 64px;
}

.wd-mock-phone .wd-mock-btn {
    width: 60px;
    height: 18px;
}

/* ---------- 02 OVERVIEW ---------- */
.wd-overview {
    padding: 64px 0 24px;
}

.wd-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
}

.wd-overview-grid p {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
}

/* ---------- 03 SOLUTIONS ---------- */
.wd-solutions {
    padding: 48px 0 64px;
}

.wd-solution-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.wd-solution {
    background: #fff;
    border: 1px solid var(--wd-line);
    border-top: 3px solid var(--wd-teal);
    border-radius: 12px;
    padding: 24px 22px;
}

.wd-solution h3 {
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 8px;
}

.wd-solution p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.65;
}

/* ---------- 04 FEATURES (navy panel) ---------- */
.wd-features {
    padding: 0 0 64px;
}

.wd-features-panel {
    background: var(--wd-navy);
    border-radius: 16px;
    padding: 52px 40px;
}

.wd-heading-light h2 {
    color: #fff;
}

.wd-heading-light .wd-kicker {
    color: var(--wd-teal);
}

.wd-feature-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 20px;
}

.wd-feature-grid li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
}

.wd-feature-icon {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(2, 191, 201, 0.12);
    color: var(--wd-teal);
}

.wd-feature-icon svg {
    width: 22px;
    height: 22px;
}

.wd-feature-grid li:nth-child(even) .wd-feature-icon {
    color: #4DB3FF;
    background: rgba(2, 134, 231, 0.18);
}

.wd-feature-name {
    color: #fff;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
}

/* ---------- 05 PROCESS (horizontal / vertical timeline) ---------- */
.wd-process {
    background: var(--wd-soft);
    border-top: 1px solid var(--wd-line);
    border-bottom: 1px solid var(--wd-line);
    padding: 64px 0;
}

.wd-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    position: relative;
}

.wd-timeline::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--wd-line);
}

.wd-timeline li {
    position: relative;
    text-align: center;
    padding: 0 6px;
}

.wd-step-num {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--wd-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 0 0 6px var(--wd-soft);
}

.wd-timeline h3 {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 8px;
}

.wd-timeline p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* ---------- 06 FAQ ---------- */
.wd-faq {
    padding: 64px 0;
}

.wd-faq-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: start;
}

.wd-faq-item {
    border-bottom: 1px solid var(--wd-line);
}

.wd-faq-item:first-child {
    border-top: 1px solid var(--wd-line);
}

.wd-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(--wd-navy);
}

.wd-faq-item summary::-webkit-details-marker {
    display: none;
}

.wd-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 14px;
    font-size: 24px;
    font-weight: 400;
    color: var(--wd-blue);
}

.wd-faq-item[open] summary::after {
    content: "\2212";
}

.wd-faq-item summary:focus-visible {
    outline: 2px solid var(--wd-blue);
    outline-offset: 2px;
}

.wd-faq-item p {
    margin: 0;
    padding: 0 0 18px;
    font-size: 15.5px;
    line-height: 1.7;
}

/* ---------- 07 BANNER (global .cta-banner) ---------- */
.wd-page .cta-banner {
    padding: 52px 0;
}

/* ---------- TABLET ---------- */
@media (max-width: 1024px) {
    .wd-solution-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .wd-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .wd-features-panel {
        padding: 44px 28px;
    }
    .wd-timeline {
        gap: 12px;
    }
    .wd-timeline h3 {
        font-size: 16px;
    }
    .wd-overview-grid,
    .wd-faq-inner {
        gap: 32px;
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 860px) {
    .wd-hero {
        padding: 34px 0 32px;
    }
    .wd-hero-grid,
    .wd-overview-grid,
    .wd-faq-inner {
        grid-template-columns: 1fr;
    }
    .wd-hero-media img {
        max-height: 300px;
    }
    .wd-overview {
        padding: 44px 0 16px;
    }
    .wd-solutions {
        padding: 36px 0 44px;
    }
    .wd-process,
    .wd-faq {
        padding: 44px 0;
    }
    .wd-features {
        padding-bottom: 44px;
    }
    .wd-heading {
        margin-bottom: 28px;
    }

    /* Vertical timeline */
    .wd-timeline {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 4px;
    }
    .wd-timeline::before {
        top: 22px;
        bottom: 22px;
        left: 25px;
        right: auto;
        width: 2px;
        height: auto;
    }
    .wd-timeline li {
        text-align: left;
        padding: 0 0 26px 70px;
        min-height: 44px;
    }
    .wd-timeline li:last-child {
        padding-bottom: 0;
    }
    .wd-step-num {
        position: absolute;
        left: 4px;
        top: 0;
        margin: 0;
    }
    .wd-timeline h3 {
        padding-top: 10px;
        font-size: 17px;
    }
}

@media (max-width: 560px) {
    .wd-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .wd-solution-grid {
        grid-template-columns: 1fr;
    }
    .wd-features-panel {
        padding: 36px 18px;
        border-radius: 12px;
    }
    .wd-feature-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .wd-faq-item summary {
        font-size: 16px;
    }
    .wd-mock {
        padding-right: 28px;
    }
    .wd-mock-phone {
        width: 96px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wd-page * {
        transition: none !important;
    }
}