/* ==========================================
   MBIZ CONSULTING - SEO SERVICES PAGE
   Brand: blue #0286E7, teal #02BFC9, navy #041C4C, white
   ========================================== */

.se-page {
    --se-blue: #0286E7;
    --se-teal: #02BFC9;
    --se-navy: #041C4C;
    --se-text: #475569;
    --se-line: #E2E8F0;
    --se-soft: #F5F9FD;
    background: #fff;
    color: var(--se-text);
    font-family: var(--font-main, 'Gilroy', 'Poppins', system-ui, sans-serif);
}

.se-page h1,
.se-page h2,
.se-page h3 {
    font-family: var(--font-heading, 'Gilroy', 'Poppins', system-ui, sans-serif);
    color: var(--se-navy);
    letter-spacing: -0.02em;
}

.se-eyebrow,
.se-kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--se-blue);
    margin-bottom: 12px;
}

.se-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.se-heading-left {
    text-align: left;
    margin: 0;
}

.se-heading h2,
.se-overview-copy h2 {
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.2;
    font-weight: 800;
    margin: 0;
}

/* ---------- 01 HERO ---------- */
.se-hero {
    padding: 52px 0 48px;
    border-bottom: 1px solid var(--se-line);
}

.se-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 44px;
    align-items: center;
}

.se-hero h1 {
    font-size: clamp(32px, 4.4vw, 52px);
    line-height: 1.1;
    font-weight: 800;
    margin: 0 0 18px;
}

.se-hero-copy p {
    font-size: 17px;
    line-height: 1.7;
    margin: 0 0 28px;
    max-width: 540px;
}

.se-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.se-hero-media img,
.se-overview-media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    border-radius: 12px;
}

/* ---------- Placeholder: search + keyword analysis skeleton (no numbers) ---------- */
.se-skel {
    background: #fff;
    border: 1px solid var(--se-line);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(4, 28, 76, 0.08);
    max-width: 520px;
    margin: 0 auto;
}

.se-skel-search {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--se-line);
    border-radius: 20px;
    margin-bottom: 16px;
}

.se-skel-search span {
    width: 14px;
    height: 14px;
    border: 2px solid var(--se-blue);
    border-radius: 50%;
}

.se-skel-search i {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: #DCE6F1;
}

.se-skel-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 16px;
    align-items: end;
}

.se-skel-list b,
.se-skel-list em {
    display: block;
    border-radius: 4px;
}

.se-skel-list b {
    height: 9px;
    width: 55%;
    background: var(--se-blue);
    margin-top: 12px;
}

.se-skel-list b:first-child {
    margin-top: 0;
}

.se-skel-list em {
    height: 7px;
    background: #DCE6F1;
    margin-top: 7px;
}

.se-skel-list em.s {
    width: 70%;
}

.se-skel-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 110px;
    padding: 10px;
    border-radius: 8px;
    background: var(--se-soft);
}

.se-skel-chart i {
    flex: 1;
    border-radius: 3px 3px 0 0;
    background: var(--se-teal);
}

.se-skel-overview .se-skel-chart i {
    background: var(--se-blue);
}

/* ---------- 02 OVERVIEW (split) ---------- */
.se-overview {
    padding: 64px 0;
}

.se-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.se-overview-copy h2 {
    margin-bottom: 16px;
}

.se-overview-copy p {
    margin: 0;
    font-size: 17px;
    line-height: 1.8;
}

/* ---------- 03 SERVICES (4 / 2 / 1-2 columns) ---------- */
.se-services {
    background: var(--se-soft);
    border-top: 1px solid var(--se-line);
    border-bottom: 1px solid var(--se-line);
    padding: 64px 0;
}

.se-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.se-service {
    background: #fff;
    border: 1px solid var(--se-line);
    border-top: 3px solid var(--se-teal);
    border-radius: 12px;
    padding: 22px 20px;
}

.se-service h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 8px;
}

.se-service p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

/* ---------- 04 BENEFITS (dark) ---------- */
.se-benefits {
    background: var(--se-navy);
    padding: 64px 0;
}

.se-heading-light h2 {
    color: #fff;
}

.se-benefits .se-kicker {
    color: var(--se-teal);
}

.se-benefit-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px 20px;
}

.se-benefit-grid li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

.se-benefit-grid svg {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: var(--se-teal);
}

/* ---------- 05 PROCESS (horizontal / vertical timeline) ---------- */
.se-process {
    padding: 64px 0;
}

.se-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
    position: relative;
}

.se-timeline::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--se-line);
}

.se-timeline li {
    position: relative;
    text-align: center;
    padding: 0 6px;
}

.se-step-num {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--se-blue);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 0 0 6px #fff;
}

.se-timeline h3 {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 8px;
}

.se-timeline p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.se-related {
    margin: 40px auto 0;
    max-width: 680px;
    text-align: center;
    font-size: 15.5px;
    line-height: 1.7;
}

.se-related a {
    color: var(--se-blue);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}

.se-related a:hover,
.se-related a:focus-visible {
    color: #0269B8;
}

/* ---------- 06 FAQ ---------- */
.se-faq {
    background: var(--se-soft);
    border-top: 1px solid var(--se-line);
    padding: 64px 0;
}

.se-faq-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 48px;
    align-items: start;
}

.se-faq-item {
    border-bottom: 1px solid var(--se-line);
}

.se-faq-item:first-child {
    border-top: 1px solid var(--se-line);
}

.se-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(--se-navy);
}

.se-faq-item summary::-webkit-details-marker {
    display: none;
}

.se-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 14px;
    font-size: 24px;
    font-weight: 400;
    color: var(--se-blue);
}

.se-faq-item[open] summary::after {
    content: "\2212";
}

.se-faq-item summary:focus-visible {
    outline: 2px solid var(--se-blue);
    outline-offset: 2px;
}

.se-faq-item p {
    margin: 0;
    padding: 0 0 18px;
    font-size: 15.5px;
    line-height: 1.7;
}

/* ---------- 07 BANNER: flat navy, white heading, blue button ---------- */
.se-page .se-banner {
    background: var(--se-navy);
    padding: 52px 0;
}

.se-page .se-banner h2 {
    color: #fff;
}

/* ---------- TABLET ---------- */
@media (max-width: 1024px) {
    .se-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .se-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .se-overview-grid {
        gap: 36px;
    }
    .se-faq-inner {
        gap: 32px;
    }
    .se-timeline {
        gap: 12px;
    }
    .se-timeline h3 {
        font-size: 16px;
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 860px) {
    .se-hero {
        padding: 34px 0 32px;
    }
    .se-hero-grid,
    .se-overview-grid,
    .se-faq-inner {
        grid-template-columns: 1fr;
    }
    .se-hero-media img,
    .se-overview-media img {
        max-height: 300px;
    }
    .se-overview,
    .se-services,
    .se-benefits,
    .se-process,
    .se-faq {
        padding: 44px 0;
    }
    .se-heading {
        margin-bottom: 28px;
    }

    /* Vertical timeline */
    .se-timeline {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 4px;
    }
    .se-timeline::before {
        top: 22px;
        bottom: 22px;
        left: 25px;
        right: auto;
        width: 2px;
        height: auto;
    }
    .se-timeline li {
        text-align: left;
        padding: 0 0 26px 70px;
        min-height: 44px;
    }
    .se-timeline li:last-child {
        padding-bottom: 0;
    }
    .se-step-num {
        position: absolute;
        left: 4px;
        top: 0;
        margin: 0;
    }
    .se-timeline h3 {
        padding-top: 10px;
    }
    .se-related {
        margin-top: 32px;
    }
}

@media (max-width: 560px) {
    .se-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    /* compact two-column service cards */
    .se-service-grid {
        gap: 12px;
    }
    .se-service {
        padding: 16px 14px;
    }
    .se-service h3 {
        font-size: 16px;
    }
    .se-service p {
        font-size: 14px;
    }
    .se-benefit-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .se-faq-item summary {
        font-size: 16px;
    }
    .se-skel-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 340px) {
    .se-service-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .se-page * {
        transition: none !important;
    }
}