/*
| CloudMate company pages: About Us, Help Center, Knowledge Base and Contact.
| Loaded after ssl-domains.css, which provides the shared parts (hero, headings,
| buttons, bento grid, step cards, feature cards, callout, final CTA).
| Everything here is prefixed "cmco-".
|
|  1. Hero spacing (no trust strip under these heroes)
|  2. About: profile card in the hero
|  3. About: overview and numbers
|  4. About: parent company band
|  5. Link cards (Help Center account, Contact teams)
|  6. Knowledge base: topics, article list, empty state, more topics
|  7. Contact: office details and map
|  8. Compare Plans: plan finder and hosting-type cards
|  9. Plan pages: spec tiles, two-card plan grid, wide comparison tables
*/

/* 1. HERO SPACING --------------------------------------------------------- */

.cmco-hero {
    padding-bottom: 60px;
}
.cmco-hero.cmds-hero-centered {
    padding-bottom: 72px;
}
.cmco-hero .cmds-hero-actions {
    margin-top: 32px;
}
.cmco-hero.cmds-hero-centered .cmds-hero-actions {
    justify-content: center;
}
.cmco-hero .cmds-search {
    margin-top: 32px;
}

/* Topic pills under a search box: links or buttons */
.cmco-topics {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.cmco-topics span {
    align-self: center;
    margin-right: 4px;
    color: var(--muted);
    font-size: 12px;
}
.cmco-topic {
    padding: 7px 15px;
    border: 1px solid #dce7f4;
    border-radius: 30px;
    background: #fff;
    color: var(--navy);
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition:
        border-color 0.2s,
        background 0.2s,
        color 0.2s;
}
.cmco-topic:hover,
.cmco-topic.is-active {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

/* 2. ABOUT: PROFILE CARD IN THE HERO ------------------------------------- */

/* Floating badges sit above the card, on its top and bottom edges */
.cmco .cmds-float {
    z-index: 2;
}
.cmco .cmds-float-top {
    top: 0;
}
.cmco .cmds-float-bottom {
    bottom: 0;
}

.cmco-profile {
    position: relative;
    z-index: 1;
    width: min(100%, 500px);
    margin: 22px auto;
    padding: 28px;
    border: 1px solid #dce7f4;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 30px 60px rgba(16, 32, 61, 0.12);
}
.cmco-profile-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.cmco-profile-logo {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(140deg, var(--blue), #1599ed);
    color: #fff;
    font-size: 22px;
}
.cmco-profile-head strong {
    display: block;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.cmco-profile-head small {
    color: var(--muted);
    font-size: 12px;
}
.cmco-profile-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 20px 0;
}
.cmco-profile-services span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 10px;
    background: #f4f8fd;
    font-size: 12px;
    font-weight: 500;
}
.cmco-profile-services i {
    width: 16px;
    color: var(--blue);
    text-align: center;
}
.cmco-profile-foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}
.cmco-profile-foot i {
    margin-right: 6px;
    color: var(--green);
}

/* 3. ABOUT: OVERVIEW AND NUMBERS ----------------------------------------- */

.cmco-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 60px;
}
.cmco-overview .cmds-heading {
    margin-bottom: 20px;
}
.cmco-prose p {
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}
.cmco-prose p:last-child {
    margin-bottom: 0;
}
.cmco-prose strong {
    color: var(--navy);
    font-weight: 600;
}
.cmco-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.cmco-stat {
    --stat-accent: var(--blue);
    --stat-tint: #e7f2ff;
    padding: 28px 26px;
    border: 1px solid #e2eaf4;
    border-radius: 18px;
    background: linear-gradient(160deg, var(--stat-tint), #fff 70%);
}
.cmco-stat:nth-child(2) {
    --stat-accent: #0d9188;
    --stat-tint: #ddf4f1;
}
.cmco-stat:nth-child(3) {
    --stat-accent: #8b50d7;
    --stat-tint: #f0e8fc;
}
.cmco-stat:nth-child(4) {
    --stat-accent: #15966d;
    --stat-tint: #dff5ec;
}
.cmco-stat strong {
    display: block;
    margin-bottom: 6px;
    color: var(--stat-accent);
    font-size: clamp(30px, 2.6vw, 40px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.15;
}
.cmco-stat span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

/* 4. ABOUT: PARENT COMPANY BAND ------------------------------------------ */

.cmco-parent {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
    padding: 38px 42px;
    border-radius: 24px;
    background:
        radial-gradient(60% 90% at 0% 0%, rgba(22, 136, 239, 0.35), transparent 70%),
        radial-gradient(50% 80% at 100% 100%, rgba(139, 80, 215, 0.3), transparent 70%),
        #0b1a33;
    color: #fff;
}
.cmco-parent-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.1);
    color: #7cc0ff;
    font-size: 26px;
}
.cmco-parent .cmds-eyebrow {
    margin-bottom: 8px;
    color: #7cc0ff;
}
.cmco-parent h2 {
    margin-bottom: 8px;
    font-size: clamp(22px, 2vw, 30px);
    font-weight: 700;
    letter-spacing: -0.035em;
}
.cmco-parent p {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.75;
}
.cmco-parent-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.cmco-ghost-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    transition:
        background 0.2s,
        color 0.2s;
}
.cmco-ghost-btn:hover,
.cmco-ghost-btn.is-solid {
    border-color: #fff;
    background: #fff;
    color: var(--navy);
}
.cmco-ghost-btn.is-solid:hover {
    background: #e3f0ff;
}

/* 5. LINK CARDS ----------------------------------------------------------- */

.cmco-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.cmco-link-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cmco-link-card {
    --card-accent: var(--blue);
    --card-tint: #e7f2ff;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px;
    border: 1px solid #e2eaf4;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(16, 32, 61, 0.04);
    color: var(--navy);
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        transform 0.2s;
}
.cmco-link-card:nth-child(3n + 2) {
    --card-accent: #0d9188;
    --card-tint: #ddf4f1;
}
.cmco-link-card:nth-child(3n) {
    --card-accent: #8b50d7;
    --card-tint: #f0e8fc;
}
.cmco-link-grid-4 .cmco-link-card:nth-child(4) {
    --card-accent: #15966d;
    --card-tint: #dff5ec;
}
.cmco-link-card:hover {
    border-color: var(--card-accent);
    box-shadow: 0 14px 30px rgba(16, 32, 61, 0.08);
    color: var(--navy);
    transform: translateY(-3px);
}
.cmco-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--card-tint);
    color: var(--card-accent);
    font-size: 19px;
}
.cmco-link-card h3 {
    margin-bottom: 6px;
    font-size: 16px;
    font-weight: 600;
}
.cmco-link-card p {
    flex: 1;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}
.cmco-link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--card-accent);
    font-size: 13px;
    font-weight: 600;
}
.cmco-link-more i {
    font-size: 11px;
    transition: transform 0.2s;
}
.cmco-link-card:hover .cmco-link-more i {
    transform: translateX(4px);
}

/* 6. KNOWLEDGE BASE ------------------------------------------------------- */

.cmco-kb-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 13px;
}
.cmco-kb-bar a {
    color: var(--blue);
    font-weight: 600;
}
.cmco-article-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.cmco-article {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 18px 20px;
    border: 1px solid #e2eaf4;
    border-radius: 14px;
    background: #fff;
    color: var(--navy);
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
}
.cmco-article[hidden] {
    display: none;
}
.cmco-article:hover {
    border-color: var(--blue);
    box-shadow: 0 10px 24px rgba(16, 32, 61, 0.07);
    color: var(--navy);
}
.cmco-article-icon {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #e7f2ff;
    color: var(--blue);
}
.cmco-article-text {
    flex: 1;
    min-width: 0;
}
.cmco-article-text small {
    display: block;
    margin-bottom: 2px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.cmco-article-text strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}
.cmco-article > i {
    color: #9fb3c8;
    font-size: 12px;
    transition:
        color 0.2s,
        transform 0.2s;
}
.cmco-article:hover > i {
    color: var(--blue);
    transform: translateX(3px);
}
.cmco-empty {
    padding: 40px 20px;
    border: 1px dashed #cddff3;
    border-radius: 16px;
    background: #f8fbff;
    text-align: center;
}
.cmco-empty i {
    margin-bottom: 12px;
    color: var(--blue);
    font-size: 26px;
}
.cmco-empty h3 {
    margin-bottom: 6px;
    font-size: 17px;
    font-weight: 600;
}
.cmco-empty p {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 13px;
}
.cmco-empty .cmds-hero-actions {
    justify-content: center;
}
.cmco-more-title {
    margin: 40px 0 16px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

/* 7. CONTACT: OFFICE DETAILS AND MAP ------------------------------------- */

.cmco-office {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
    gap: 40px;
}
.cmco-office .cmds-heading {
    margin-bottom: 26px;
}
.cmco-info {
    display: grid;
    gap: 14px;
}
.cmco-info li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid #e2eaf4;
    border-radius: 14px;
    background: #fff;
}
.cmco-info-icon {
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #e7f2ff;
    color: var(--blue);
    font-size: 17px;
}
.cmco-info strong {
    display: block;
    margin-bottom: 3px;
    font-size: 14px;
    font-weight: 600;
}
.cmco-info span,
.cmco-info a {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}
.cmco-info a:hover {
    color: var(--blue);
}
.cmco-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.cmco-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #dce7f4;
    border-radius: 12px;
    background: #fff;
    color: var(--blue);
    font-size: 17px;
    transition:
        background 0.2s,
        color 0.2s;
}
.cmco-social a:hover {
    background: var(--blue);
    color: #fff;
}
.cmco-map {
    min-height: 420px;
    overflow: hidden;
    border: 1px solid #dce7f4;
    border-radius: 22px;
    background: #e8f0fb;
    box-shadow: 0 20px 45px rgba(16, 32, 61, 0.08);
}
.cmco-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

/* 8. COMPARE PLANS: PLAN FINDER AND HOSTING-TYPE CARDS ------------------ */

.cmco-finder {
    margin-top: 34px;
}
.cmco-finder-label {
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 600;
}
.cmco-finder .cmco-topic {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 13px;
}
.cmco-finder .cmco-topic i {
    color: var(--blue);
    transition: color 0.2s;
}
.cmco-finder .cmco-topic:hover i,
.cmco-finder .cmco-topic.is-active i {
    color: #fff;
}
.cmco-finder-result {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 16px;
    max-width: 640px;
    margin: 22px auto 0;
    padding: 14px 20px;
    border: 1px solid #cfe3f7;
    border-radius: 14px;
    background: #fff;
    font-size: 14px;
}
.cmco-finder-result[hidden] {
    display: none;
}
.cmco-finder-result strong {
    color: var(--blue);
    font-weight: 700;
}
.cmco-finder-result a {
    color: var(--blue);
    font-weight: 600;
}

/* Copy of the recommended hosting-type card, shown under the finder result */
.cmco-finder-card {
    max-width: 440px;
    margin: 30px auto 0;
    text-align: left;
}
.cmco-finder-card[hidden] {
    display: none;
}

.cmco-type-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.cmco-type-card {
    --card-accent: var(--blue);
    --card-tint: #e7f2ff;
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 28px 26px 24px;
    border: 1px solid #e2eaf4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(16, 32, 61, 0.04);
    scroll-margin-top: 120px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s,
        transform 0.2s;
}
.cmco-type-card:nth-child(3n + 2) {
    --card-accent: #0d9188;
    --card-tint: #ddf4f1;
}
.cmco-type-card:nth-child(3n) {
    --card-accent: #8b50d7;
    --card-tint: #f0e8fc;
}
.cmco-type-card:hover {
    border-color: var(--card-accent);
    box-shadow: 0 14px 30px rgba(16, 32, 61, 0.08);
    transform: translateY(-3px);
}
.cmco-type-card.is-match {
    border-color: var(--blue);
    box-shadow:
        0 0 0 3px rgba(8, 120, 212, 0.15),
        0 18px 36px rgba(8, 120, 212, 0.14);
}
.cmco-type-match {
    position: absolute;
    top: -12px;
    left: 24px;
    display: none;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    background: #ffc53d;
    color: #3d2a00;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.cmco-type-card.is-match .cmco-type-match {
    display: inline-flex;
}
.cmco-type-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.cmco-type-head .cmco-link-icon {
    flex: 0 0 46px;
    margin: 0;
}
.cmco-type-head h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.cmco-type-head small {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
.cmco-type-card > p {
    flex: 1;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.75;
}
.cmco-type-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}
.cmco-type-price small {
    display: block;
    color: var(--muted);
    font-size: 11px;
}
.cmco-type-price strong {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.cmco-type-price em {
    margin-left: 3px;
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}
.cmco-type-foot .cmds-btn {
    padding-inline: 16px;
    font-size: 12px;
}

/* 9. PLAN PAGES: SPEC TILES, TWO-CARD GRID, WIDE TABLES ------------------ */

.cmco-spec-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.cmco-spec {
    --card-accent: var(--blue);
    --card-tint: #e7f2ff;
    padding: 24px;
    border: 1px solid #e2eaf4;
    border-radius: 16px;
    background: #fff;
}
.cmco-spec:nth-child(4n + 2) {
    --card-accent: #0d9188;
    --card-tint: #ddf4f1;
}
.cmco-spec:nth-child(4n + 3) {
    --card-accent: #8b50d7;
    --card-tint: #f0e8fc;
}
.cmco-spec:nth-child(4n) {
    --card-accent: #15966d;
    --card-tint: #dff5ec;
}
.cmco-spec .cmco-link-icon {
    margin-bottom: 16px;
}
.cmco-spec strong {
    display: block;
    color: var(--card-accent);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
}
.cmco-spec > span:last-child {
    color: var(--muted);
    font-size: 13px;
}
.cmco-plan-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    margin-inline: auto;
}
.cmco-plan-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1080px;
    margin-inline: auto;
}
@media (max-width: 850px) {
    .cmco-plan-grid-3 {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}
/* Tables with six plan columns */
.cmds-table.cmco-table-wide {
    min-width: 1080px;
}
.cmds-table.cmco-table-wide tr > th:first-child {
    width: 210px;
}
.cmco-table-wide .cmds-table-price {
    font-size: 21px;
}
/* Green "Running" dot in the cloud server illustration */
.cmco-profile-foot .fa-circle {
    font-size: 8px;
    vertical-align: middle;
}

/* RESPONSIVE --------------------------------------------------------------- */

@media (max-width: 1100px) {
    .cmco-overview,
    .cmco-office {
        gap: 36px;
    }
    .cmco-link-grid,
    .cmco-link-grid-4,
    .cmco-type-grid,
    .cmco-spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cmco-parent {
        grid-template-columns: auto minmax(0, 1fr);
    }
    .cmco-parent-links {
        grid-column: 2;
    }
}
@media (max-width: 850px) {
    .cmco-overview,
    .cmco-office {
        grid-template-columns: 1fr;
    }
    .cmco-article-list {
        grid-template-columns: 1fr;
    }
    .cmco-map,
    .cmco-map iframe {
        min-height: 320px;
    }
}
@media (max-width: 600px) {
    .cmco-hero,
    .cmco-hero.cmds-hero-centered {
        padding-bottom: 44px;
    }
    .cmco-profile {
        padding: 20px;
    }
    .cmco-profile-services {
        grid-template-columns: 1fr;
    }
    .cmco-stats {
        gap: 12px;
    }
    .cmco-stat {
        padding: 20px 18px;
    }
    .cmco-link-grid,
    .cmco-link-grid-4,
    .cmco-type-grid,
    .cmco-plan-grid-2 {
        grid-template-columns: 1fr;
    }
    .cmco-spec-grid {
        gap: 12px;
    }
    .cmco-spec {
        padding: 18px 16px;
    }
    .cmco-spec strong {
        font-size: 20px;
    }
    .cmds-table.cmco-table-wide {
        min-width: 940px;
    }
    .cmds-table.cmco-table-wide tr > th:first-child {
        width: 118px;
    }
    .cmco-parent {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 28px 22px;
        text-align: center;
    }
    .cmco-parent-icon {
        margin-inline: auto;
    }
    .cmco-parent-links {
        grid-column: 1;
        justify-content: center;
    }
    .cmco-article {
        padding: 15px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cmco-link-card,
    .cmco-type-card,
    .cmco-article,
    .cmco-link-more i {
        transition: none;
    }
    .cmco-link-card:hover,
    .cmco-type-card:hover {
        transform: none;
    }
}
