/* ========== 01. SHARED SECTION SPACING ========== */

.seo-section {
    position: relative;
    padding: var(--cs-section-y, 65px) 0;
}

/* ========== 02. SHARED BODY TEXT ========== */

.seo-text {
    margin: 0;
    color: var(--cs-text, #74787b);
    font-size: 16px;
    line-height: 1.75;
}

.seo-text + .seo-text {
    margin-top: 12px;
}

/* ========== 03. ANIMATIONS ========== */

@keyframes seoGradientShift {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: 100% 50%;
    }
}

@keyframes seoGradientFlow {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: 200% 50%;
    }
}

/* ========== 04. SHARED CARDS ========== */

.seo-process-card h3,
.seo-choice-body h3,
.ai-seo-industry-card h3,
.seo-why-card h3 {
    margin: 0 0 6px;
    color: var(--cs-heading, #393939);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -0.2px;
    overflow-wrap: break-word;
}

.seo-process-card p,
.seo-choice-body p,
.ai-seo-industry-card p,
.seo-why-card p {
    margin: 0;
    color: var(--cs-text, #74787b);
    font-size: 15px;
    line-height: 1.8;
    overflow-wrap: break-word;
}

.seo-process-card,
.seo-choice-card,
.ai-seo-industry-card,
.seo-why-card,
.seo-toolkit-card,
.seo-plan {
    transition:
        transform 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease;
}

@media (hover: hover) {
    .seo-process-card:hover,
    .seo-choice-card:hover,
    .ai-seo-industry-card:hover,
    .seo-why-card:hover,
    .seo-toolkit-card:hover,
    .seo-plan:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 30px rgb(57 57 57 / 6.5%);
    }
}

/* ========== 05. HERO SECTION ========== */

.seo-video-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 55px 0;
    background:
        radial-gradient(
            ellipse at 90% 20%,
            rgb(8 112 175 / 12%),
            transparent 45%
        ),
        radial-gradient(
            ellipse at 75% 85%,
            rgb(48 164 237 / 10%),
            transparent 40%
        ),
        radial-gradient(
            ellipse at 5% 100%,
            rgb(15 109 147 / 6%),
            transparent 40%
        ),
        var(--cs-grad-hero, linear-gradient(135deg, #fff, #f0f9ff));
}

.seo-video-hero,
.seo-video-hero * {
    box-sizing: border-box;
}

.seo-video-hero::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(
        rgb(8 112 175 / 12%) 1px,
        transparent 1px
    );
    background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(
        90deg,
        transparent 30%,
        #000
    );
    mask-image: linear-gradient(
        90deg,
        transparent 30%,
        #000
    );
}

/* ========== 06. HERO CONTENT ========== */

.seo-video-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    min-width: 0;
    max-width: 700px;
}

.seo-video-hero h1 {
    margin: 0;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.seo-video-hero h1 > span {
    display: block;
    margin-top: 10px;
    background-image: linear-gradient(
        90deg,
        var(--cs-primary, #0870af) 0%,
        #32a4eb 25%,
        #0f759d 50%,
        #32a4eb 75%,
        var(--cs-primary, #0870af) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: seoGradientFlow 6s linear infinite;
}

.seo-video-hero__description {
    max-width: 650px;
    margin: 15px 0 0;
    color: var(--cs-text, #74787b);
    font-size: 17px;
    line-height: 1.85;
    overflow-wrap: break-word;
}

/* ========== 07. HERO STATS: DESKTOP ========== */

.seo-video-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 0;
    width: 100%;
    max-width: 650px;
    margin-top: 26px;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.seo-video-hero__stat {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 11px;
    min-width: 0;
    margin: 0;
    padding: 5px 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: left;
}

.seo-video-hero__stat:first-child {
    padding-left: 0;
}

.seo-video-hero__stat:last-child {
    padding-right: 0;
}

/* Vertical separators */

.seo-video-hero__stat + .seo-video-hero__stat::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 36px;
    background: #d3e6ec;
    transform: translateY(-50%);
}

/* Consistent circular blue icons */

.seo-video-hero__stat-icon {
    display: grid;
    place-items: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #e2f3fd;
    color: #15a1d8;
    box-shadow: none;
    font-size: 19px;
    line-height: 1;
}

.seo-video-hero__stat-icon i {
    display: block;
    line-height: 1;
}

.seo-video-hero__stat > div {
    flex: 1;
    min-width: 0;
}

.seo-video-hero__stat strong {
    display: block;
    margin: 0;
    color: #1d4863;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.4px;
    overflow-wrap: break-word;
}

.seo-video-hero__stat > div > span {
    display: block;
    margin-top: 3px;
    color: #727679;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: break-word;
}

/* ========== 08. HERO VIDEO ========== */

.seo-video-hero__visual {
    position: relative;
    display: grid;
    place-items: center;
    min-width: 0;
    width: 100%;
}

.seo-video-hero__orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 420px;
    height: 420px;
    border: 1px solid rgb(8 112 175 / 13%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow:
        0 0 0 35px rgb(8 112 175 / 3%),
        0 0 0 75px rgb(48 164 237 / 2%);
    pointer-events: none;
}

.seo-video-hero__frame {
    position: relative;
    z-index: 1;
    width: min(100%, 320px);
    padding: 9px;
    border: 1px solid rgb(255 255 255 / 95%);
    border-radius: 28px;
    background: var(--cs-white, #fff);
    box-shadow:
        0 24px 55px rgb(38 38 38 / 15%),
        0 6px 18px rgb(8 112 175 / 8%);
}

.seo-video-hero__frame::before,
.seo-video-hero__frame::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
}

.seo-video-hero__frame::before {
    border: 1px solid rgb(8 112 175 / 18%);
    background: var(--case-light-blue, #eaf8fc);
    transform: translate(18px, 12px) rotate(5deg);
}

.seo-video-hero__frame::after {
    z-index: -2;
    border: 1px solid rgb(48 164 237 / 13%);
    background: rgb(48 164 237 / 5%);
    transform: translate(-15px, -9px) rotate(-5deg);
}

.seo-video-hero__player {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 9 / 15;
    border-radius: 20px;
    background: var(--case-dark, #1d4863);
}

.seo-video-hero__player iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ========== 09. BACKGROUND ICONS ========== */

.seo-video-hero__background {
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
}

.seo-video-hero__background i {
    position: absolute;
    color: var(--cs-primary, #0870af);
    font-size: 38px;
    opacity: 0.065;
}

.seo-video-hero__background .seo-bg-search {
    top: 8%;
    left: 4%;
    transform: rotate(-15deg);
}

.seo-video-hero__background .seo-bg-chart {
    bottom: 8%;
    left: 38%;
}

.seo-video-hero__background .seo-bg-code {
    top: 7%;
    right: 8%;
    color: var(--cs-purple, #43859f);
}

.seo-video-hero__background .seo-bg-globe {
    right: 3%;
    bottom: 9%;
}

.seo-video-hero__background .seo-bg-target {
    top: 46%;
    left: 48%;
    color: var(--cs-cyan, #0f6d93);
}

/* ========== 10. SMALL DESKTOP ========== */

@media (min-width: 992px) and (max-width: 1199.98px) {

    .seo-video-hero__stat {
        gap: 8px;
        padding-inline: 10px;
    }

    .seo-video-hero__stat-icon {
        flex-basis: 34px;
        width: 34px;
        height: 34px;
        font-size: 16px;
    }

    .seo-video-hero__stat strong {
        font-size: 17px;
    }

    .seo-video-hero__stat > div > span {
        font-size: 12px;
    }

    .seo-video-hero__visual {
        padding-inline: 25px;
    }

    .seo-video-hero__frame {
        max-width: 290px;
    }
}

/* ========== 11. TABLET ========== */

@media (max-width: 991.98px) {
    .seo-video-hero {
        padding: 50px 0;
    }

    .seo-video-hero__content {
        margin-inline: auto;
        text-align: center;
    }

    .seo-video-hero__description {
        margin-inline: auto;
    }

    .seo-video-hero__stats {
        max-width: 620px;
        margin-inline: auto;
    }

    .seo-video-hero__stat {
        gap: 10px;
        padding-inline: 14px;
    }

    .seo-video-hero__stat-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .seo-video-hero__stat strong {
        font-size: 17px;
    }

    .seo-video-hero__stat > div > span {
        font-size: 12px;
    }

    .seo-video-hero__visual {
        max-width: 450px;
        margin-inline: auto;
    }

    .seo-video-hero__frame {
        max-width: 300px;
    }
}
/* ========== 12. MOBILE ========== */

@media (max-width: 575.98px) {
    .seo-text {
        font-size: 15px;
        line-height: 1.8;
    }

    .seo-process-card p,
    .seo-choice-body p,
    .ai-seo-industry-card p,
    .seo-why-card p {
        font-size: 14px;
        line-height: 1.75;
    }

    .seo-video-hero {
        padding: 40px 0;
    }

    .seo-video-hero h1 > span {
        margin-top: 8px;
    }

    .seo-video-hero__description {
        margin-top: 14px;
        font-size: 15px;
        line-height: 1.8;
    }

    /* Centre the complete stats group */

    .seo-video-hero .seo-video-hero__stats {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        width: fit-content;
        max-width: 100%;
        margin: 24px auto ;
        padding: 0;
    }

    .seo-video-hero .seo-video-hero__stat,
    .seo-video-hero .seo-video-hero__stat:first-child,
    .seo-video-hero .seo-video-hero__stat:last-child {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 14px;
        min-width: 0;
        width: 100%;
        padding: 15px 8px;
        text-align: left;
    }

    .seo-video-hero .seo-video-hero__stat:first-child {
        padding-top: 0;
    }

    .seo-video-hero .seo-video-hero__stat:last-child {
        padding-bottom: 0;
    }

    .seo-video-hero .seo-video-hero__stat > div {
        flex: 1;
        min-width: 0;
        width: auto;
        text-align: left;
    }

    /* Horizontal separators */

    .seo-video-hero .seo-video-hero__stat + .seo-video-hero__stat {
        border-top: 1px solid #d3e6ec;
    }

    .seo-video-hero .seo-video-hero__stat + .seo-video-hero__stat::before {
        content: none;
    }

    .seo-video-hero .seo-video-hero__stat-icon {
        display: grid;
        place-items: center;
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        font-size: 20px;
    }

    .seo-video-hero .seo-video-hero__stat strong {
        font-size: 18px;
        line-height: 1.35;
        letter-spacing: -0.3px;
        white-space: normal;
        overflow-wrap: break-word;
    }

    .seo-video-hero .seo-video-hero__stat > div > span {
        margin-top: 3px;
        font-size: 13px;
        line-height: 1.5;
        overflow-wrap: break-word;
    }

    .seo-video-hero__visual {
        max-width: 380px;
        margin-inline: auto;
    }

    .seo-video-hero__frame {
        width: 100%;
        max-width: 270px;
        padding: 7px;
        border-radius: 24px;
    }

    .seo-video-hero__player {
        border-radius: 17px;
    }

    .seo-video-hero__orbit {
        width: 280px;
        height: 280px;
        box-shadow:
            0 0 0 25px rgb(8 112 175 / 3%),
            0 0 0 50px rgb(48 164 237 / 2%);
    }

    .seo-video-hero__background i {
        font-size: 28px;
        opacity: 0.045;
    }
}

/* ========== 13. EXTRA-SMALL MOBILE ========== */

@media (max-width: 359.98px) {
    .seo-video-hero {
        padding: 34px 0;
    }

    .seo-video-hero .seo-video-hero__stats {
        margin-top: 22px;
    }

    .seo-video-hero .seo-video-hero__stat,
    .seo-video-hero .seo-video-hero__stat:first-child,
    .seo-video-hero .seo-video-hero__stat:last-child {
        gap: 12px;
        padding-inline: 4px;
    }

    .seo-video-hero .seo-video-hero__stat-icon {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .seo-video-hero .seo-video-hero__stat strong {
        font-size: 17px;
    }

    .seo-video-hero .seo-video-hero__stat > div > span {
        font-size: 12px;
    }

    .seo-video-hero__visual {
        padding-inline: 24px;
    }
}

/* ========== 14. REDUCED MOTION ========== */

@media (prefers-reduced-motion: reduce) {
    .seo-video-hero h1 > span {
        animation: none;
    }

    .seo-process-card,
    .seo-choice-card,
    .ai-seo-industry-card,
    .seo-why-card,
    .seo-toolkit-card,
    .seo-plan {
        transition: none;
    }

    .seo-process-card:hover,
    .seo-choice-card:hover,
    .ai-seo-industry-card:hover,
    .seo-why-card:hover,
    .seo-toolkit-card:hover,
    .seo-plan:hover {
        transform: none;
    }
}

/* Replacement hero image */
.seo-video-hero__local-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
}

@media (max-width: 575.98px) {
    .seo-video-hero__local-image {
        border-radius: 16px;
    }
}

/* ========== 05. ABOUT ========== */
.seo-about-section {
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(ellipse at 0% 60%, rgba(8, 112, 175, 6%), transparent 45%),
        var(--cs-white);
}

.seo-about-visual {
    position: relative;
    max-width: 440px;
    margin-inline: auto;
    padding: 15px 20px 42px;
}

.seo-about-visual::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 5px 50px 35px;
    border: 1px solid rgba(8, 112, 175, 16%);
    border-radius: 30px;
    background: linear-gradient(145deg, var(--case-light-blue), rgba(48, 164, 237, 7%));
    transform: rotate(5deg);
}

.seo-about-image {
    overflow: hidden;
    border: 7px solid var(--cs-white);
    border-radius: 26px;
    background: var(--cs-light);
    box-shadow: 0 22px 50px rgba(38, 38, 38, 12%);
}

.seo-about-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 7 / 8;
    object-fit: cover;
}

.seo-about-icon {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 1px solid var(--cs-border);
    border-radius: 17px;
    background: var(--cs-white);
    box-shadow: 0 10px 24px rgba(8, 112, 175, 12%);
    font-size: 23px;
}

.seo-about-icon--search {
    top: 45px;
    left: 0;
    color: var(--cs-primary);
    transform: rotate(-10deg);
}

.seo-about-icon--growth {
    right: 0;
    bottom: 16%;
    color: var(--cs-purple);
    transform: rotate(10deg);
}

.seo-about-content {
    padding-left: 15px;
}

@media (max-width: 991px) {
    .seo-about-content {
        padding-left: 0;
    }

    .seo-about-visual {
        max-width: 400px;
    }
}

@media (max-width: 575px) {
    .seo-about-visual {
        max-width: 350px;
        padding-inline: 15px;
    }

    .seo-about-image {
        border-width: 5px;
        border-radius: 22px;
    }

    .seo-about-icon {
        width: 45px;
        height: 45px;
        border-radius: 13px;
        font-size: 18px;
    }
}

/* ========== 06. INFO (WHAT IS SEO / SEO COMPANY) ========== */
.seo-info-section {
    background: radial-gradient(ellipse at 50% 0%, rgba(48, 164, 237, 5%), transparent 60%),
        var(--cs-light);
}

.seo-info-image {
    overflow: hidden;
    border-radius: 20px;
    background: var(--cs-light);
}

.seo-info-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Center side-by-side headings once columns stack */
@media (max-width: 991px) {
    .seo-about-content .cs-title {
        text-align: center;
    }

    .seo-info-image {
        max-width: 520px;
        margin-inline: auto;
    }

    .seo-info-image img {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 575px) {
    .seo-info-image {
        border-radius: 15px;
    }
}

/* ========== 07. SERVICES TABS ========== */
.seo-services-section {
    background: radial-gradient(ellipse at 95% 10%, rgba(48, 164, 237, 7%), transparent 45%),
        radial-gradient(ellipse at 0% 85%, rgba(15, 109, 147, 6%), transparent 45%), var(--cs-light);
}

.seo-services-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    align-items: start;
    gap: 24px;
}

.seo-services-navigation {
    min-width: 0;
}

@media (min-width: 992px) {
    .seo-services-navigation {
        position: sticky;
        top: 100px;
    }
}

.seo-services-swipe-hint {
    display: none;
}

.seo-services-menu-wrap {
    position: relative;
    min-width: 0;
}

/* Tab menu */
.seo-services-menu {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border: 1px solid var(--cs-border);
    border-radius: 22px;
    background: var(--cs-white);
    box-shadow: 0 10px 35px rgba(57, 57, 57, 3.5%);
}

.seo-service-tab {
    appearance: none;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    padding: 10px 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    color: var(--cs-text);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
    transition:
        background-color 150ms ease,
        color 150ms ease,
        border-color 150ms ease;
}

.seo-service-tab-label {
    flex: 1;
    min-width: 0;
}

.seo-service-tab-icon {
    display: grid;
    flex: 0 0 36px;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--cs-light);
    color: var(--cs-primary);
    font-size: 16px;
}

.seo-tab-arrow {
    flex-shrink: 0;
    font-size: 10px;
    opacity: 0.45;
}

.seo-service-tab:hover {
    background: var(--case-light-blue);
    color: var(--cs-primary);
}

.seo-service-tab.active {
    border-color: rgba(8, 112, 175, 12%);
    background: linear-gradient(110deg, rgba(8, 112, 175, 9%), rgba(48, 164, 237, 7%));
    color: var(--cs-primary);
}

.seo-service-tab.active .seo-service-tab-icon {
    background: var(--case-gradient);
    color: var(--cs-white);
    box-shadow: 0 5px 12px rgba(8, 112, 175, 18%);
}

.seo-service-tab.active .seo-tab-arrow {
    opacity: 1;
}

/* Details card */
.seo-services-details {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--cs-border);
    border-radius: 24px;
    background: var(--cs-white);
    box-shadow: 0 15px 45px rgba(57, 57, 57, 4.5%);
}

.seo-services-details::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--case-gradient);
}

.seo-service-panel {
    padding: 30px;
}

.seo-service-panel:not([hidden]) {
    animation: seoPanelIn 280ms ease;
}

.seo-service-panel[hidden] {
    display: none;
}

@keyframes seoPanelIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.seo-service-panel-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--cs-border);
}

.seo-service-main-icon {
    display: grid;
    flex: 0 0 52px;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(8, 112, 175, 10%);
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(8, 112, 175, 8%), rgba(48, 164, 237, 8%));
    color: var(--cs-primary);
    font-size: 23px;
}

.seo-service-panel-heading h3 {
    flex: 1;
    min-width: 0;
    margin: 0;
    color: var(--cs-heading);
    font-size: clamp(21px, 2vw, 27px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.seo-service-number {
    flex-shrink: 0;
    color: rgba(8, 112, 175, 14%);
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
}

/* Image + first four items */

/* Checklists */
.seo-service-features {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.seo-service-features--bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.seo-service-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 14px;
    border: 1px solid #ebf3f6;
    border-radius: 11px;
    background: #fcfdfe;
    color: var(--cs-text);
    font-size: 15px;
    line-height: 1.55;
    overflow-wrap: anywhere;
    transition:
        border-color 150ms ease,
        background-color 150ms ease;
}

.seo-service-features li:hover {
    border-color: rgba(8, 112, 175, 18%);
    background: var(--cs-white);
}

.seo-service-check {
    display: grid;
    flex: 0 0 22px;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-top: 1px;
    border-radius: 50%;
    background: #29d978;
    color: var(--cs-white);
    font-size: 10px;
    box-shadow: 0 3px 8px rgba(8, 112, 175, 18%);
}

.seo-service-feature-text {
    flex: 1;
    min-width: 0;
}

.seo-service-tab:focus-visible,
.seo-service-panel:focus-visible {
    outline: 3px solid var(--cs-primary);
    outline-offset: -3px;
}

@media (max-width: 1199px) {
    .seo-services-layout {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 18px;
    }

    .seo-service-panel {
        padding: 24px;
    }

    .seo-service-features li {
        padding: 12px;
        font-size: 14px;
    }

    .seo-service-number {
        font-size: 36px;
    }
}

/* Horizontal scrolling menu */
@media (max-width: 991px) {
    .seo-services-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .seo-services-swipe-hint {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        margin: 0 0 10px;
        color: var(--cs-text);
        font-size: 13px;
        font-weight: 500;
        line-height: 1.5;
        transition: opacity 300ms ease;
    }

    .seo-services-swipe-hint strong,
    .seo-services-swipe-hint i {
        color: var(--cs-primary);
    }

    .seo-services-swipe-hint strong {
        font-weight: 700;
    }

    .seo-swipe-hand {
        animation: seoSwipeHand 1.8s ease-in-out infinite;
    }

    .seo-swipe-arrow {
        animation: seoSwipeArrow 1.8s ease-in-out infinite;
    }

    /* Calm the hint once the user has scrolled the menu */
    .seo-services-navigation.has-swiped .seo-swipe-hand,
    .seo-services-navigation.has-swiped .seo-swipe-arrow {
        animation: none;
    }

    .seo-services-navigation.has-swiped .seo-services-swipe-hint {
        opacity: 0.7;
    }

    .seo-services-menu {
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        padding: 10px;
        border-radius: 16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #adcfe2 transparent;
    }

    .seo-services-menu::-webkit-scrollbar {
        height: 4px;
    }

    .seo-services-menu::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background: #adcfe2;
    }

    /* Edge fades show there is more to scroll (toggled by seo.js) */
    .seo-services-menu-wrap::before,
    .seo-services-menu-wrap::after {
        content: "";
        position: absolute;
        top: 1px;
        bottom: 1px;
        z-index: 2;
        width: 44px;
        pointer-events: none;
        opacity: 0;
        transition: opacity 200ms ease;
    }

    .seo-services-menu-wrap::before {
        left: 1px;
        border-radius: 15px 0 0 15px;
        background: linear-gradient(90deg, var(--cs-white) 20%, rgb(255 255 255 / 0%));
    }

    .seo-services-menu-wrap::after {
        right: 1px;
        border-radius: 0 15px 15px 0;
        background: linear-gradient(270deg, var(--cs-white) 20%, rgb(255 255 255 / 0%));
    }

    .seo-services-menu-wrap.can-scroll-left::before,
    .seo-services-menu-wrap.can-scroll-right::after {
        opacity: 1;
    }

    .seo-service-tab {
        flex: 0 0 auto;
        width: auto;
        max-width: 310px;
        min-height: 52px;
        padding: 9px 12px;
    }

    .seo-service-tab-label {
        flex: initial;
        white-space: nowrap;
    }

    .seo-tab-arrow {
        display: none;
    }

    .seo-service-panel {
        padding: 28px;
    }

    .seo-service-features li {
        font-size: 14px;
    }
}

@keyframes seoSwipeHand {
    0%,
    100% {
        transform: translateX(4px);
    }

    50% {
        transform: translateX(-4px);
    }
}

@keyframes seoSwipeArrow {
    0%,
    100% {
        transform: translateX(0);
        opacity: 0.5;
    }

    50% {
        transform: translateX(5px);
        opacity: 1;
    }
}

@media (max-width: 575px) {
    .seo-services-swipe-hint {
        font-size: 12px;
    }

    .seo-services-details {
        border-radius: 18px;
    }

    .seo-service-panel {
        padding: 24px 18px;
    }

    .seo-service-panel-heading {
        gap: 12px;
        margin-bottom: 20px;
        padding-bottom: 18px;
    }

    .seo-service-main-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 19px;
    }

    .seo-service-panel-heading h3 {
        font-size: 21px;
    }

    .seo-service-number {
        display: none;
    }

    .seo-service-features--bottom {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* ========== 08. AUDIT CTA (DARK) ========== */
.seo-audit-cta {
    isolation: isolate;
    overflow: hidden;
    scroll-margin-top: 90px;
    background: radial-gradient(ellipse at 8% 15%, rgba(8, 112, 175, 18%), transparent 48%),
        radial-gradient(ellipse at 92% 85%, rgba(48, 164, 237, 16%), transparent 45%),
        var(--case-dark);
}

/* Background rings */
.seo-audit-cta::before,
.seo-audit-cta::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    pointer-events: none;
}

.seo-audit-cta::before {
    top: -290px;
    left: -100px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(21, 157, 211, 9%);
}

.seo-audit-cta::after {
    right: -200px;
    bottom: -280px;
    width: 550px;
    height: 550px;
    border: 55px solid rgba(48, 164, 237, 4.5%);
}

.seo-audit-cta-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 80px);
}

.seo-audit-cta-content {
    min-width: 0;
}

.seo-audit-cta-content .seo-text {
    max-width: 540px;
}

/* Form card */
.seo-audit-cta-card {
    position: relative;
    min-width: 0;
    padding: 34px;
    border: 1px solid rgba(229, 239, 242, 14%);
    border-radius: 22px;
    background: rgb(255 255 255 / 4.5%);
    box-shadow: 0 20px 55px rgb(0 0 0 / 18%);
}

.seo-audit-cta-card::before {
    content: "";
    position: absolute;
    top: -1px;
    right: 30px;
    left: 30px;
    height: 3px;
    border-radius: 0 0 5px 5px;
    background: var(--cs-gradient);
    background-size: 250% 100%;
    animation: seoGradientShift 7s ease-in-out infinite alternate;
}

.seo-audit-cta-form {
    display: grid;
    gap: 21px;
}

.seo-audit-cta-field label {
    display: block;
    margin-bottom: 9px;
    color: var(--cs-white);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.seo-audit-cta-input {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 0 16px;
    border: 1px solid rgba(229, 239, 242, 16%);
    border-radius: 11px;
    background: rgba(38, 38, 38, 60%);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.seo-audit-cta-input > i {
    flex: 0 0 18px;
    width: 18px;
    color: var(--cs-muted);
    font-size: 16px;
    text-align: center;
}

.seo-audit-cta-input input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 54px;
    padding: 0;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--cs-white);
    color-scheme: dark;
    font: inherit;
    font-size: 16px;
}

.seo-audit-cta-input input::placeholder {
    color: var(--cs-muted);
    opacity: 1;
}

.seo-audit-cta-input:focus-within {
    border-color: var(--case-cyan);
    background: var(--case-dark);
    box-shadow: 0 0 0 4px rgba(15, 109, 147, 10%);
}

.seo-audit-cta-input:focus-within > i {
    color: var(--case-cyan);
}

@media (max-width: 991px) {
    .seo-audit-cta-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }

    .seo-audit-cta-card {
        padding: 28px;
    }
}

@media (max-width: 767px) {
    .seo-audit-cta-layout {
        grid-template-columns: 1fr;
    }

    .seo-audit-cta-content {
        text-align: center;
    }

    .seo-audit-cta-content .seo-text {
        margin-inline: auto;
    }

    .seo-audit-cta-card {
        width: 100%;
        max-width: 520px;
        margin-inline: auto;
        padding: 28px 24px;
        border-radius: 18px;
    }
}

@media (max-width: 375px) {
    .seo-audit-cta-card {
        padding-inline: 20px;
    }
}

/* ========== 09. PROCESS ========== */
.seo-process-section {
    isolation: isolate;
    overflow: hidden;
    background: var(--cs-white);
}

.seo-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.seo-process-card {
    --process-accent: var(--cs-primary);
    --process-tint: rgba(8, 112, 175, 4.5%);
    --process-border: rgba(8, 112, 175, 17%);
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--process-border);
    border-radius: 18px;
    background: linear-gradient(145deg, var(--cs-white) 40%, var(--process-tint));
    box-shadow: 0 5px 18px rgba(57, 57, 57, 2.5%);
}

.seo-process-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 24px;
    width: 32px;
    height: 3px;
    border-radius: 4px 4px 0 0;
    background: var(--process-accent);
    opacity: 0.5;
    transition:
        width 250ms ease,
        opacity 250ms ease;
}

.seo-process-card:nth-child(2),
.seo-process-card:nth-child(7) {
    --process-accent: var(--cs-purple);
    --process-tint: rgba(48, 164, 237, 4.5%);
    --process-border: rgba(48, 164, 237, 17%);
}

.seo-process-card:nth-child(3),
.seo-process-card:nth-child(6) {
    --process-accent: var(--cs-cyan);
    --process-tint: rgba(15, 109, 147, 4.5%);
    --process-border: rgba(15, 109, 147, 18%);
}

.seo-process-card:nth-child(4) {
    --process-accent: var(--cs-orange);
    --process-tint: rgba(73, 77, 79, 4.5%);
    --process-border: rgba(73, 77, 79, 18%);
}

.seo-process-card:nth-child(5) {
    --process-accent: var(--cs-pink);
    --process-tint: rgba(34, 128, 186, 4.5%);
    --process-border: rgba(34, 128, 186, 17%);
}

.seo-process-card:nth-child(8) {
    --process-accent: var(--cs-green);
    --process-tint: rgba(16, 83, 116, 4.5%);
    --process-border: rgba(16, 83, 116, 18%);
}

.seo-process-card:nth-child(9) {
    --process-accent: #1c6ea0;
    --process-tint: rgba(28, 110, 160, 4.5%);
    --process-border: rgba(28, 110, 160, 18%);
}

.seo-process-card:nth-child(10) {
    --process-accent: #3d3d3d;
    --process-tint: rgba(61, 61, 61, 4.5%);
    --process-border: rgba(61, 61, 61, 18%);
}

.seo-process-number {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--process-border);
    border-radius: 50%;
    background: var(--cs-white);
    color: var(--process-accent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.seo-process-illustration {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-height: 54px;
    margin: 0 48px 22px 0;
}

.seo-process-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    border: 1px solid var(--process-border);
    border-radius: 15px;
    background: var(--process-accent);
    color: var(--cs-white);
}

.seo-process-icon i {
    font-size: 23px;
    line-height: 1;
}

@media (hover: hover) {
    .seo-process-card:hover {
        border-color: var(--process-accent);
    }

    .seo-process-card:hover::after {
        width: 56px;
        opacity: 1;
    }
}

@media (max-width: 1199px) {
    .seo-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .seo-process-grid {
        gap: 20px;
    }
}

@media (max-width: 575px) {
    .seo-process-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .seo-process-card {
        padding: 22px;
        border-radius: 16px;
    }

    .seo-process-card::after {
        left: 22px;
    }

    .seo-process-number {
        top: 22px;
        right: 22px;
    }

    .seo-process-illustration {
        min-height: 50px;
        margin-bottom: 20px;
    }

    .seo-process-icon {
        flex-basis: 50px;
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }

    .seo-process-icon i {
        font-size: 22px;
    }
}

/* ========== 10. CHECKLIST CARDS (PACKAGE INCLUSIONS + HOW TO CHOOSE) ========== */
.seo-choice-list {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

.seo-choice-list > li {
    display: flex;
}

.seo-choice-card {
    --choice-accent: var(--cs-primary);
    --choice-icon-end: #22a4f5;
    --choice-tint: rgba(8, 112, 175, 5.5%);
    --choice-border: rgba(8, 112, 175, 13%);
    --choice-shadow: rgba(8, 112, 175, 18%);
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--choice-border);
    border-radius: 18px;
    background: linear-gradient(145deg, var(--choice-tint), var(--cs-white));
    box-shadow: 0 5px 18px rgba(57, 57, 57, 2.5%);
}

.seo-choice-card--cyan {
    --choice-accent: var(--cs-cyan);
    --choice-icon-end: #1f91bf;
    --choice-tint: rgba(15, 109, 147, 5.5%);
    --choice-border: rgba(15, 109, 147, 13%);
    --choice-shadow: rgba(15, 109, 147, 18%);
}

.seo-choice-card--purple {
    --choice-accent: var(--cs-purple);
    --choice-icon-end: #38acf5;
    --choice-tint: rgba(48, 164, 237, 5.5%);
    --choice-border: rgba(48, 164, 237, 13%);
    --choice-shadow: rgba(48, 164, 237, 18%);
}

.seo-choice-card--pink {
    --choice-accent: var(--cs-pink);
    --choice-icon-end: #38a5e9;
    --choice-tint: rgba(34, 128, 186, 5%);
    --choice-border: rgba(34, 128, 186, 12%);
    --choice-shadow: rgba(34, 128, 186, 18%);
}

.seo-choice-card--green {
    --choice-accent: var(--cs-green);
    --choice-icon-end: #2280ba;
    --choice-tint: rgba(16, 83, 116, 5%);
    --choice-border: rgba(16, 83, 116, 12%);
    --choice-shadow: rgba(16, 83, 116, 18%);
}

.seo-choice-card--orange {
    --choice-accent: var(--cs-orange);
    --choice-icon-end: #525252;
    --choice-tint: rgba(73, 77, 79, 5%);
    --choice-border: rgba(73, 77, 79, 12%);
    --choice-shadow: rgba(73, 77, 79, 18%);
}

.seo-choice-card--indigo {
    --choice-accent: #608396;
    --choice-icon-end: #2ea1e8;
    --choice-tint: rgba(96, 131, 150, 5%);
    --choice-border: rgba(96, 131, 150, 12%);
    --choice-shadow: rgba(96, 131, 150, 18%);
}

.seo-choice-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.seo-choice-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--choice-accent), var(--choice-icon-end));
    color: var(--cs-white);
    box-shadow: 0 7px 16px var(--choice-shadow);
}

.seo-choice-icon i {
    font-size: 18px;
    line-height: 1;
}

.seo-choice-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--choice-border);
    border-radius: 50%;
    background: var(--cs-white);
    color: var(--choice-accent);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.seo-choice-body {
    flex: 1;
    min-width: 0;
}

@media (hover: hover) {
    .seo-choice-card:hover {
        border-color: var(--choice-accent);
    }
}

/* Closing highlight under the checklist */
.seo-choice-note {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 25px 28px;
    border: 1px solid rgba(8, 112, 175, 13%);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(8, 112, 175, 5.5%), var(--cs-white));
    box-shadow: 0 5px 18px rgba(57, 57, 57, 2.5%);
}

.seo-choice-note-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0870af, #1499ce);
    color: var(--cs-white);
    box-shadow: 0 7px 16px rgba(8, 112, 175, 20%);
    font-size: 18px;
}

.seo-choice-note p {
    margin: 0;
    color: var(--cs-heading);
    font-size: 15px;
    line-height: 1.8;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .seo-choice-card {
        padding: 24px 20px;
    }
}

@media (max-width: 575px) {
    .seo-choice-note {
        align-items: flex-start;
        gap: 15px;
        padding: 24px;
    }

    .seo-choice-note p {
        font-size: 14px;
    }
}

/* ========== 11. PLANS ========== */
.seo-plans-section {
    isolation: isolate;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 100%, rgba(8, 112, 175, 4%), transparent 60%),
        var(--cs-white);
}

.seo-plans-section .row > .col-lg-4 {
    display: flex;
}

.seo-plan {
    --plan-accent: var(--cs-primary);
    --plan-tint: rgba(8, 112, 175, 5.5%);
    --plan-border: rgba(8, 112, 175, 20%);
    --plan-banner: linear-gradient(120deg, var(--cs-primary-dark), var(--cs-primary));
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--plan-border);
    border-radius: 20px;
    background: linear-gradient(150deg, var(--cs-white), var(--plan-tint));
    box-shadow: 0 12px 30px rgba(57, 57, 57, 3.5%);
}

.seo-plan--local {
    --plan-accent: var(--cs-green);
    --plan-tint: rgba(16, 83, 116, 5.5%);
    --plan-border: rgba(16, 83, 116, 22%);
    --plan-banner: linear-gradient(120deg, var(--cs-green), var(--cs-cyan));
}

.seo-plan--global {
    --plan-accent: var(--cs-purple);
    --plan-tint: rgba(48, 164, 237, 5.5%);
    --plan-border: rgba(48, 164, 237, 22%);
    --plan-banner: linear-gradient(120deg, var(--cs-purple), var(--cs-primary));
}

.seo-plan-banner {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    min-height: 250px;
    padding: 27px 25px 16px;
    overflow: hidden;
    border-radius: 0 0 18px 18px;
    background: var(--plan-banner);
}

.seo-plan-banner::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -65px;
    right: -65px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgb(255 255 255 / 10%);
}

.seo-plan-banner h3 {
    margin: 0 0 12px;
    color: var(--cs-white);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.5px;
    overflow-wrap: break-word;
}

.seo-plan-banner img {
    display: block;
    align-self: flex-end;
    width: 65%;
    max-width: 210px;
    height: 130px;
    margin-top: auto;
    object-fit: contain;
    object-position: right bottom;
}

.seo-plan-body {
    flex: 1;
    padding: 28px 24px 32px;
}

.seo-plan-features {
    display: grid;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.seo-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
}

.seo-plan-feature-icon {
    display: grid;
    flex: 0 0 43px;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: var(--plan-tint);
    color: var(--plan-accent);
    font-size: 19px;
    box-shadow: inset 0 0 0 1px var(--plan-border);
}

.seo-plan-features li > span:last-child {
    flex: 1;
    min-width: 0;
    padding-top: 5px;
    color: var(--cs-heading);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.75;
    overflow-wrap: break-word;
}

@media (hover: hover) {
    .seo-plan:hover {
        border-color: var(--plan-accent);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .seo-plan-banner {
        min-height: 260px;
        padding-inline: 21px;
    }

    .seo-plan-banner h3 {
        font-size: 22px;
    }

    .seo-plan-body {
        padding-inline: 20px;
    }

    .seo-plan-features li {
        gap: 11px;
    }

    .seo-plan-feature-icon {
        flex-basis: 37px;
        width: 37px;
        height: 37px;
        font-size: 17px;
    }
}

@media (max-width: 991px) {
    .seo-plan-banner {
        min-height: 220px;
    }

    .seo-plan-banner img {
        width: 200px;
        max-width: 65%;
    }
}

@media (max-width: 575px) {
    .seo-plan {
        border-radius: 17px;
    }

    .seo-plan-banner {
        padding: 24px 22px 16px;
    }

    .seo-plan-body {
        padding: 25px 22px 28px;
    }

    .seo-plan-features {
        gap: 20px;
    }

    .seo-plan-features li {
        gap: 12px;
    }

    .seo-plan-features li > span:last-child {
        font-size: 15px;
    }
}

/* ========== 12. TOOLKIT ========== */
.seo-toolkit-section {
    background: radial-gradient(ellipse at 50% 0%, rgba(48, 164, 237, 5%), transparent 60%),
        var(--cs-light);
}

.seo-toolkit-grid {
    --toolkit-columns: 6;
    --toolkit-gap: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--toolkit-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}

.seo-toolkit-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0
        calc((100% - (var(--toolkit-columns) - 1) * var(--toolkit-gap)) / var(--toolkit-columns));
    min-width: 0;
    min-height: 155px;
    padding: 25px 15px 21px;
    overflow: hidden;
    border: 1px solid var(--cs-border);
    border-radius: 16px;
    background: var(--cs-white);
    box-shadow: 0 6px 20px rgba(57, 57, 57, 2.5%);
}

.seo-toolkit-card::after {
    content: "";
    position: absolute;
    right: 22px;
    bottom: 0;
    left: 22px;
    height: 3px;
    border-radius: 5px 5px 0 0;
    background: var(--cs-gradient);
    opacity: 0;
    transition: opacity 200ms ease;
}

.seo-toolkit-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 62px;
    margin-bottom: 17px;
}

.seo-toolkit-logo img {
    display: block;
    width: 100%;
    max-width: 145px;
    height: 100%;
    object-fit: contain;
}

.seo-toolkit-card > span {
    color: var(--cs-heading);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: break-word;
}

@media (hover: hover) {
    .seo-toolkit-card:hover {
        border-color: rgba(8, 112, 175, 25%);
    }

    .seo-toolkit-card:hover::after {
        opacity: 1;
    }
}

@media (max-width: 1199px) {
    .seo-toolkit-grid {
        --toolkit-columns: 4;
    }
}

@media (max-width: 991px) {
    .seo-toolkit-grid {
        --toolkit-columns: 3;
        --toolkit-gap: 16px;
    }
}

@media (max-width: 575px) {
    .seo-toolkit-grid {
        --toolkit-columns: 2;
        --toolkit-gap: 12px;
    }

    .seo-toolkit-card {
        min-height: 140px;
        padding: 22px 12px 18px;
        border-radius: 13px;
    }

    .seo-toolkit-card > span {
        font-size: 14px;
    }

    .seo-toolkit-logo {
        height: 54px;
        margin-bottom: 14px;
    }

    .seo-toolkit-logo img {
        max-width: 125px;
    }
}

/* ========== 13. WHY CHOOSE US ========== */
.seo-why-section {
    background: radial-gradient(ellipse at 100% 0%, rgba(8, 112, 175, 6%), transparent 45%),
        var(--cs-grad-light);
}

.seo-why-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.65fr);
    align-items: stretch;
    gap: 24px;
}

/* Dark experience card */
.seo-why-experience {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 36px;
    overflow: hidden;
    border: 1px solid rgba(21, 157, 211, 15%);
    border-radius: 24px;
    background: radial-gradient(ellipse at 100% 0%, rgba(48, 164, 237, 30%), transparent 65%),
        var(--case-dark);
    box-shadow: 0 18px 40px rgba(38, 38, 38, 10%);
}

.seo-why-experience::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -110px;
    bottom: -110px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(21, 157, 211, 14%);
    border-radius: 50%;
    box-shadow:
        0 0 0 30px rgba(21, 157, 211, 2.5%),
        0 0 0 60px rgba(21, 157, 211, 1.5%);
    pointer-events: none;
}

.seo-why-experience-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
    border: 1px solid rgba(21, 157, 211, 20%);
    border-radius: 16px;
    background: var(--cs-white);
    color: var(--case-cyan);
    font-size: 24px;
}

.seo-why-experience h3 {
    margin: 0 0 18px;
}

.seo-why-years {
    display: block;
    margin-bottom: 12px;
    color: var(--cs-white);
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 800;
    line-height: 1;
}

.seo-why-experience-title {
    display: block;
    color: var(--cs-white);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.5px;
}

.seo-why-experience p {
    margin: 0 0 28px;
    color: var(--cs-border);
    font-size: 15px;
    line-height: 1.8;
}

.seo-why-experience-decoration {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 55px;
    margin-top: auto;
}

.seo-why-experience-decoration span {
    width: 22px;
    border-radius: 5px 5px 0 0;
    background: var(--case-gradient);
}

.seo-why-experience-decoration span:nth-child(1) {
    height: 20%;
    opacity: 0.3;
}

.seo-why-experience-decoration span:nth-child(2) {
    height: 40%;
    opacity: 0.4;
}

.seo-why-experience-decoration span:nth-child(3) {
    height: 60%;
    opacity: 0.55;
}

.seo-why-experience-decoration span:nth-child(4) {
    height: 80%;
    opacity: 0.7;
}

.seo-why-experience-decoration span:nth-child(5) {
    height: 100%;
    opacity: 0.9;
}

/* Feature cards */
.seo-why-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    min-width: 0;
}

.seo-why-card {
    position: relative;
    min-width: 0;
    padding: 28px;
    overflow: hidden;
    border: 1px solid var(--cs-border);
    border-radius: 20px;
    background: var(--cs-white);
    box-shadow: 0 6px 22px rgba(57, 57, 57, 2.5%);
}

.seo-why-card::after {
    content: "";
    position: absolute;
    right: 28px;
    bottom: 0;
    left: 28px;
    height: 3px;
    border-radius: 5px 5px 0 0;
    background: var(--cs-gradient);
    opacity: 0;
    transition: opacity 200ms ease;
}

.seo-why-icon {
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    margin-bottom: 20px;
    border: 1px solid rgba(8, 112, 175, 10%);
    border-radius: 14px;
    background: var(--case-light-blue);
    color: var(--cs-primary);
    font-size: 21px;
}

.seo-why-card:nth-child(2) .seo-why-icon,
.seo-why-card:nth-child(4) .seo-why-icon {
    border-color: rgba(48, 164, 237, 12%);
    background: rgba(48, 164, 237, 7%);
    color: var(--cs-purple);
}

.seo-why-card:nth-child(3) .seo-why-icon {
    border-color: rgba(15, 109, 147, 12%);
    background: rgba(15, 109, 147, 7%);
    color: var(--cs-cyan);
}

@media (hover: hover) {
    .seo-why-card:hover {
        border-color: rgba(8, 112, 175, 25%);
    }

    .seo-why-card:hover::after {
        opacity: 1;
    }
}

@media (max-width: 991px) {
    .seo-why-layout {
        grid-template-columns: 1fr;
    }

    .seo-why-experience {
        padding: 32px;
    }

    .seo-why-experience-decoration {
        display: none;
    }

    .seo-why-experience p {
        margin-bottom: 0;
    }
}

@media (max-width: 575px) {
    .seo-why-layout {
        gap: 18px;
    }

    .seo-why-experience {
        align-items: center;
        padding: 30px 25px;
        border-radius: 20px;
        text-align: center;
    }

    .seo-why-experience-icon {
        margin-bottom: 22px;
    }

    .seo-why-years {
        font-size: 56px;
    }

    .seo-why-experience-title {
        font-size: 22px;
    }

    .seo-why-features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .seo-why-card {
        padding: 24px;
        border-radius: 17px;
    }
}

/* ========== 14. INDUSTRIES ========== */
.ai-seo-industry-column {
    display: flex;
}

.ai-seo-industry-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    padding: 24px;
    overflow: hidden;
    border: 1px solid rgba(8, 112, 175, 16%);
    border-radius: 18px;
    background: linear-gradient(145deg, var(--cs-white) 40%, rgba(20, 153, 206, 7%));
    box-shadow: 0 5px 18px rgba(57, 57, 57, 2.5%);
}

.ai-seo-industry-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 24px;
    width: 36px;
    height: 3px;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(135deg, #0870af, #1499ce);
    transition: width 250ms ease;
}

.ai-seo-industry-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0870af, #1499ce);
    color: var(--cs-white);
    box-shadow: 0 7px 16px rgba(8, 112, 175, 20%);
}

.ai-seo-industry-icon i {
    font-size: 21px;
    line-height: 1;
}

@media (hover: hover) {
    .ai-seo-industry-card:hover {
        border-color: rgba(8, 112, 175, 40%);
    }

    .ai-seo-industry-card:hover::after {
        width: 64px;
    }
}

@media (max-width: 575px) {
    .ai-seo-industry-icon {
        margin-bottom: 20px;
    }
}

/* ========== 15. COMPARISON ========== */
.seo-comparison-wrapper {
    padding: 28px;
    border: 1px solid var(--cs-border);
    border-radius: 24px;
    background: var(--cs-white);
    box-shadow: 0 15px 45px rgba(57, 57, 57, 4.5%);
}

.seo-comparison-titles {
    margin-bottom: 22px;
}

.seo-comparison-title {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 13px 18px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.seo-comparison-title--problem {
    border-color: #f4caca;
    background: #fff0f0;
    color: #b42323;
}

.seo-comparison-title--solution {
    border-color: #c5e8d5;
    background: #edf9f2;
    color: #134a6c;
}

.seo-comparison-title-icon {
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    color: var(--cs-white);
    font-size: 20px;
}

.seo-comparison-title--problem .seo-comparison-title-icon {
    background: #c93636;
}

.seo-comparison-title--solution .seo-comparison-title-icon {
    background: #134a6c;
}

.seo-comparison-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.seo-comparison-pair + .seo-comparison-pair {
    margin-top: 14px;
}

.seo-comparison-pair .row > .col-md-6 {
    display: flex;
}

.seo-comparison-item {
    display: flex;
    align-items: center;
    gap: 17px;
    width: 100%;
    min-width: 0;
    padding: 13px 16px;
    border: 1px solid transparent;
    border-radius: 14px;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.seo-comparison-item--problem {
    border-color: #f5dada;
    background: #fff7f7;
}

.seo-comparison-item--solution {
    border-color: #d1ebdc;
    background: #f3fbf6;
}

.seo-comparison-item-icon {
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid transparent;
    border-radius: 50%;
    font-size: 18px;
}

.seo-comparison-item--problem .seo-comparison-item-icon {
    border-color: #f5cece;
    background: #fce1e1;
    color: #b42323;
}

.seo-comparison-item--solution .seo-comparison-item-icon {
    border-color: #bce3cc;
    background: #d9f1e3;
    color: #134a6c;
}

.seo-comparison-item-content {
    flex: 1;
    min-width: 0;
}

.seo-comparison-item-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.seo-comparison-item--problem p {
    color: #704343;
}

.seo-comparison-item--solution p {
    color: #28553c;
    font-weight: 500;
}

/* Accessible labels — visually hidden on desktop, shown when stacked */
.seo-comparison-item-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

@media (hover: hover) {
    .seo-comparison-item--problem:hover {
        border-color: #e7aaaa;
        box-shadow: 0 6px 18px rgb(180 35 35 / 4.5%);
    }

    .seo-comparison-item--solution:hover {
        border-color: #96c9ac;
        box-shadow: 0 6px 18px rgba(19, 74, 108, 4.5%);
    }
}

@media (max-width: 991px) {
    .seo-comparison-wrapper {
        padding: 23px;
    }

    .seo-comparison-item {
        gap: 13px;
        padding: 19px;
    }

    .seo-comparison-item-content p {
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .seo-comparison-titles {
        display: none;
    }

    .seo-comparison-pair + .seo-comparison-pair {
        margin-top: 22px;
        padding-top: 22px;
        border-top: 1px solid var(--cs-border);
    }

    .seo-comparison-item {
        align-items: flex-start;
    }

    .seo-comparison-item-label {
        position: static;
        display: block;
        width: auto;
        height: auto;
        margin-bottom: 5px;
        overflow: visible;
        clip-path: none;
        white-space: normal;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.5;
    }

    .seo-comparison-item--problem .seo-comparison-item-label {
        color: #b42323;
    }

    .seo-comparison-item--solution .seo-comparison-item-label {
        color: #134a6c;
    }
}

@media (max-width: 575px) {
    .seo-comparison-wrapper {
        padding: 18px;
        border-radius: 18px;
    }

    .seo-comparison-item {
        gap: 12px;
        padding: 17px;
        border-radius: 12px;
    }

    .seo-comparison-item-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        font-size: 17px;
    }
}

/* ========== 17. FINAL CTA ========== */
.seo-final-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 80px 40px 64px;
    border: 1px solid rgba(48, 164, 237, 20%);
    border-radius: 28px;
    background: radial-gradient(ellipse at 0% 100%, rgba(48, 164, 237, 30%), transparent 45%),
        radial-gradient(ellipse at 100% 10%, rgba(8, 112, 175, 18%), transparent 45%),
        radial-gradient(ellipse at 100% 100%, rgba(15, 109, 147, 13%), transparent 40%),
        var(--case-dark);
    box-shadow: 0 18px 45px rgba(38, 38, 38, 12%);
}

/* Dot texture on the edges */
.seo-final-card::before {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(48, 164, 237, 22%) 0.7px, transparent 0.7px);
    background-size: 5px 5px;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 30%, transparent 70%, #000);
    mask-image: linear-gradient(90deg, #000, transparent 30%, transparent 70%, #000);
}

.seo-final-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin-inline: auto;
    text-align: center;
}

.seo-final-content .seo-text {
    max-width: 740px;
    margin-inline: auto;
    color: #e5eef1;
    font-size: 18px;
    line-height: 1.8;
    text-wrap: pretty;
}

.seo-final-contacts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 24px;
}

.seo-final-contacts a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 44px;
    padding: 9px 12px;
    border-radius: 12px;
    color: #d8e8ee;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

.seo-final-contacts a i {
    color: #f0f6f8;
    font-size: 21px;
}

.seo-final-contacts a .fa-whatsapp {
    font-size: 26px;
}

.seo-final-contacts a:hover {
    background: rgb(255 255 255 / 6%);
    color: var(--cs-white);
}

.seo-contact-divider {
    flex-shrink: 0;
    width: 1px;
    height: 28px;
    background: rgba(146, 176, 194, 50%);
}

.seo-final-content a:focus-visible {
    outline: 3px solid var(--case-cyan);
    outline-offset: 5px;
}

/* Background icons */
.seo-final-decoration {
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
}

.seo-deco {
    position: absolute;
    color: var(--cs-purple);
    font-size: 46px;
    opacity: 0.55;
    filter: drop-shadow(0 0 14px rgba(48, 164, 237, 50%));
}

.deco-search {
    top: 12%;
    left: 8%;
    color: var(--cs-primary);
    font-size: 58px;
    transform: rotate(-12deg);
}

.deco-code {
    top: 13%;
    right: 13%;
    font-size: 52px;
}

.deco-target {
    top: 35%;
    right: 5%;
    color: var(--cs-cyan);
    font-size: 55px;
}

.deco-browser {
    top: 43%;
    left: 5%;
    font-size: 49px;
}

.deco-link {
    bottom: 24%;
    left: 6%;
    color: var(--cs-primary);
    transform: rotate(-18deg);
}

.deco-chart {
    bottom: 10%;
    left: 18%;
    color: var(--cs-cyan);
    font-size: 48px;
}

.deco-gear {
    right: 10%;
    bottom: 36%;
}

.deco-globe {
    right: 8%;
    bottom: 12%;
    color: var(--cs-primary);
    font-size: 65px;
}

@media (max-width: 1199px) {
    .seo-deco {
        opacity: 0.25;
    }
}

@media (max-width: 767px) {
    .seo-final-card {
        padding: 64px 24px 52px;
        border-radius: 22px;
    }

    .seo-heading-break {
        display: none;
    }

    .seo-final-content .seo-text {
        font-size: 16px;
        line-height: 1.75;
    }

    .seo-final-contacts {
        gap: 16px;
        margin-top: 20px;
    }

    .seo-final-contacts a {
        gap: 8px;
        padding-inline: 6px;
        font-size: 14px;
    }

    .seo-deco {
        font-size: 30px;
        opacity: 0.16;
    }

    .deco-search {
        top: 5%;
        left: 8%;
    }

    .deco-code {
        top: 5%;
        right: 8%;
    }

    .deco-chart {
        bottom: 4%;
        left: 7%;
    }

    .deco-globe {
        right: 7%;
        bottom: 4%;
    }

    .deco-browser,
    .deco-target,
    .deco-link,
    .deco-gear {
        display: none;
    }
}

@media (max-width: 359px) {
    .seo-final-card {
        padding-inline: 18px;
    }

    .seo-final-contacts {
        flex-wrap: wrap;
        gap: 8px;
    }
}

/* ========== 18. REDUCED MOTION (one place for the whole page) ========== */
@media (prefers-reduced-motion: reduce) {
    .seo-page *,
    .seo-page *::before,
    .seo-page *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .seo-process-card:hover,
    .seo-choice-card:hover,
    .ai-seo-industry-card:hover,
    .seo-why-card:hover,
    .seo-toolkit-card:hover,
    .seo-plan:hover {
        transform: none;
    }
}

/* ========== 19. AREAS WE SERVE (local SEO + Google Ads pages) ========== */
.seo-service-locations {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

/* Soft background decoration */
.seo-service-locations::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    width: min(850px, 100%);
    height: 320px;
    transform: translate(-50%, -30%);
    border-radius: 50%;
    background: radial-gradient(ellipse, var(--case-light-blue), transparent 70%);
    pointer-events: none;
}

/* Introduction */
.seo-service-locations .seo-locations-intro {
    max-width: 650px;
    margin: 0 auto 34px;
    text-align: center;
}

.seo-service-locations .seo-locations-intro p {
    margin: 0;
    color: var(--cs-text);
    font-size: 15px;
    line-height: 1.85;
}

.seo-service-locations .seo-locations-intro strong {
    color: var(--cs-primary);
    font-weight: 600;
}

/* Location panel */
.seo-service-locations .seo-locations-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    max-width: 1080px;
    padding: 32px;
    margin: 0 auto;
    border: 1px solid var(--cs-border);
    border-radius: 24px;
    background: var(--cs-white);
    box-shadow: 0 16px 45px rgba(57, 57, 57, 5%);
    list-style: none;
}

/* Location pills */
.seo-service-locations .seo-locations-tags li {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    padding: 8px 18px 8px 9px;
    border: 1px solid var(--cs-border);
    border-radius: 50px;
    background: var(--cs-white);
    transition:
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

/* Pin icon */
.seo-service-locations .seo-locations-tags li i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--cs-primary);
    background: var(--case-light-blue);
    font-size: 13px;
    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}

.seo-service-locations .seo-locations-tags li span {
    min-width: 0;
    color: var(--cs-heading);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* Hover */
@media (hover: hover) {
    .seo-service-locations .seo-locations-tags li:hover {
        transform: translateY(-3px);
        border-color: var(--cs-primary);
        background: var(--case-light-blue);
        box-shadow: 0 6px 16px rgba(8, 112, 175, 8%);
    }

    .seo-service-locations .seo-locations-tags li:hover i {
        color: var(--cs-white);
        background: var(--cs-primary);
    }
}

/* Tablet */
@media (max-width: 991.98px) {
    .seo-service-locations .seo-locations-tags {
        gap: 12px;
        padding: 26px;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .seo-service-locations .seo-locations-intro {
        margin-bottom: 26px;
    }

    .seo-service-locations .seo-locations-intro p {
        font-size: 14px;
    }

    .seo-service-locations .seo-locations-tags {
        gap: 10px;
        padding: 20px 12px;
        border-radius: 18px;
    }

    .seo-service-locations .seo-locations-tags li {
        gap: 7px;
        min-height: 42px;
        padding: 6px 12px 6px 6px;
    }

    .seo-service-locations .seo-locations-tags li i {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .seo-service-locations .seo-locations-tags li span {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .seo-service-locations .seo-locations-tags li,
    .seo-service-locations .seo-locations-tags li i {
        transition: none;
    }

    .seo-service-locations .seo-locations-tags li:hover {
        transform: none;
    }
}
