/* ============================================================
   OneCloud homepage v2 (ocx-*) - hero slider, marketplace search,
   domains band, brand banner, category strip, why/testimonials,
   certification band, plus the v2 search + doorway sections.
   Ported from design-mockups/homepage-redesign/css/styles.css
   and css/sections-v2.css. Homepage-only.
   ============================================================ */

/* ---------------- FULL-BLEED SHELL ----------------
   Every v2 section is designed body-wide and carries its own .container.
   WHMCS renders homepage.tpl inside #main-body > .container > .row >
   .primary-content, so that shell is flattened here. This file only loads
   on the homepage when $ocxHomeV2 is on, so nothing else is affected. */

/* custom.css styles this as `section#main-body`, so the same specificity is
   needed here. Its overflow-x:hidden makes #main-body a scroll container and
   reserves ~8px for a scrollbar, so nothing inside can reach the viewport
   edge; `clip` still contains the sections' decorative overflow without
   creating that scrollbar. */
section#main-body {
    padding: 0;
    overflow-x: clip;
}

#main-body > .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

#main-body > .container > .row {
    margin-left: 0;
    margin-right: 0;
}

#main-body .primary-content {
    padding-left: 0;
    padding-right: 0;
}

/* ---------------- Generic slider shells ---------------- */

.ocx-hero,
.ocx-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.ocx-hero__viewport,
.ocx-banner__viewport {
    overflow: hidden;
}

.ocx-hero__track,
.ocx-banner__track,
.ocx-quotes__track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.33, 1, 0.68, 1);
    will-change: transform;
}

/* Side arrows (hero + banner) */

.ocx-hero__side {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, 0.85);
    color: var(--ocx-ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(16, 24, 43, 0.18);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.ocx-hero__side:hover,
.ocx-hero__side:focus-visible {
    background: #fff;
    color: var(--ocx-primary);
}

/* Parked in the gutter just outside the content column, so they track the page
   width without ever sitting on the slide copy. 54px = the 46px control plus an
   8px gap. Once the viewport is too narrow for a gutter the max() drops them
   back to a fixed inset, and the padding rule below keeps the copy clear. */
.ocx-hero__side--prev { left: max(22px, calc(50% - var(--ocx-content) / 2 - 54px)); }
.ocx-hero__side--next { right: max(22px, calc(50% - var(--ocx-content) / 2 - 54px)); }

/* Below ~1460px the arrows sit inside the content column, so the slide copy
   reserves a gutter for them (arrow 46px + 22px inset + breathing room). */
@media (max-width: 1459.98px) {
    .ocx-hslide__inner,
    .ocx-bslide__inner {
        padding-left: 90px;
        padding-right: 90px;
    }
}

/* Dots */

.ocx-hero__dots {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ocx-hero__dots--inline {
    position: static;
    transform: none;
}

.ocx-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: rgba(16, 24, 43, 0.25);
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.ocx-hslide--deep ~ .ocx-hero__dots .ocx-dot,
.ocx-quotes .ocx-dot {
    background: rgba(255, 255, 255, 0.35);
}

.ocx-dot.is-active {
    width: 28px;
    background: var(--ocx-primary);
}

.ocx-quotes .ocx-dot.is-active {
    background: #fff;
}

/* ---------------- 1. HERO SLIDES ---------------- */

.ocx-hslide {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    min-height: 540px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ocx-hslide--light { background: #fff; }
.ocx-hslide--deep { background: var(--ocx-primary); }
.ocx-hslide--ink { background: var(--ocx-ink); }

.ocx-hslide__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ocx-hslide__logo-float {
    position: absolute;
    right: 13%;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    height: 150px;
    object-fit: contain;
    pointer-events: none;
}

.ocx-hslide__logo-cluster {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ocx-hslide__logo-cluster img {
    position: absolute;
    background: #fff;
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(16, 24, 43, 0.12);
}

.ocx-hslide__inner {
    position: relative;
    z-index: 2;
    width: 100%;
}

.ocx-hslide__content {
    max-width: 560px;
    padding: 70px 0;
}

.ocx-hslide__lockup {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 26px;
}

.ocx-hslide__lockup img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.ocx-hslide__lockup-sep {
    width: 1.5px;
    height: 34px;
    background: rgba(255, 255, 255, 0.4);
}

.ocx-hslide__lockup--dark .ocx-hslide__lockup-sep {
    background: rgba(16, 24, 43, 0.2);
}

.ocx-hslide__title {
    font-size: 50px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ocx-ink);
    margin: 0 0 16px;
}

.ocx-hslide--deep .ocx-hslide__title,
.ocx-hslide--ink .ocx-hslide__title {
    color: #fff;
}

.ocx-hslide__text {
    font-size: 17px;
    line-height: 1.65;
    color: var(--ocx-muted);
    max-width: 470px;
    margin: 0 0 28px;
}

.ocx-hslide--deep .ocx-hslide__text,
.ocx-hslide--ink .ocx-hslide__text {
    color: rgba(255, 255, 255, 0.82);
}

/* ---------------- 2. CONTACT STRIP ---------------- */

.ocx-callband {
    background: var(--ocx-ink);
    padding: 40px 0;
}

.ocx-callband__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.ocx-callband__title {
    color: #fff;
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: -0.01em;
}

.ocx-callband__text {
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    margin: 0;
    max-width: 480px;
}

.ocx-callband__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ---------------- 2. MARKETPLACE SEARCH ---------------- */

.ocx-search {
    background: var(--ocx-ink);
    padding: 56px 0 48px;
}

.ocx-search__head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 26px;
}

.ocx-search__title {
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.015em;
    margin: 0 0 8px;
}

.ocx-search__text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.ocx-search__box {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
    z-index: 5;
}

.ocx-search__form {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 780px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 6px 12px 6px 22px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ocx-search__form:focus-within {
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.34), 0 0 0 3px rgba(51, 82, 211, 0.45);
}

.ocx-search__form > i {
    color: var(--ocx-primary);
    font-size: 18px;
}

.ocx-search__form input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 17px;
    padding: 14px 0;
    color: var(--ocx-ink);
}

.ocx-search__form input::placeholder {
    color: var(--ocx-muted);
}

.ocx-search__form input::-webkit-search-cancel-button {
    display: none;
}

.ocx-search__clear {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 0;
    background: #eef1fb;
    color: var(--ocx-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ocx-search__clear:hover {
    color: var(--ocx-ink);
}


/* Chips row */

.ocx-search__chips {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 18px auto 0;
    max-width: 1040px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 2px 4px;
}

.ocx-search__chips::-webkit-scrollbar {
    display: none;
}

.ocx-search__chip {
    flex: 0 0 auto;
    white-space: nowrap;
}

.ocx-search__chips-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-right: 4px;
}

/* Results panel (hidden until search / chip) */

.ocx-search__panel {
    max-width: 1040px;
    margin: 28px auto 0;
}

.ocx-search__panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.ocx-search__close {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ocx-search__close:hover {
    color: #fff;
}

.ocx-search__chip {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

@media (max-width: 767.98px) {
    .ocx-search__chips {
        justify-content: flex-start;
    }
}

.ocx-search__chip:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.ocx-search__chip.is-active {
    background: #fff;
    border-color: #fff;
    color: var(--ocx-primary);
}

.ocx-search__count {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
}

.ocx-search__results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.ocx-result {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px 16px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ocx-result:hover,
.ocx-result:focus {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.ocx-result.is-hidden {
    display: none;
}

.ocx-result__logo {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ocx-result__logo img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.ocx-result__logo--icon {
    background: var(--ocx-primary);
    color: #fff;
    font-size: 16px;
}

.ocx-result__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.ocx-result__text strong {
    color: #fff;
    font-size: 14.5px;
    font-weight: 800;
}

.ocx-result__text span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 12.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ocx-result__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex: 0 0 auto;
}

.ocx-result__meta em {
    font-style: normal;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #72d97f;
}

.ocx-result__meta b {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
}

.ocx-result > i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.ocx-result:hover > i {
    color: #fff;
    transform: translateX(3px);
}

.ocx-search__empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14.5px;
    margin: 20px 0 0;
}

.ocx-search__empty a {
    color: #fff;
    text-decoration: underline;
}

/* ---------------- 2.5 DOMAINS (marketing band) ---------------- */

.ocx-domains {
    position: relative;
    background: #fff;
    border-bottom: 1px solid var(--ocx-line);
    padding: 64px 0;
    overflow: hidden;
}

.ocx-domains__art {
    display: none;
}

.ocx-domains__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ocx-domains__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.ocx-domains__eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ocx-primary);
    margin-bottom: 12px;
}

.ocx-domains .ocx-btn--white {
    background: var(--ocx-primary);
    color: #fff;
}

.ocx-domains .ocx-btn--white:hover,
.ocx-domains .ocx-btn--white:focus {
    background: #041d7e;
    color: #fff;
}

.ocx-domains__title {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--ocx-ink);
    margin: 0 0 12px;
}

.ocx-domains__text {
    font-size: 15.5px;
    line-height: 1.65;
    color: var(--ocx-muted);
    margin: 0 0 24px;
    max-width: 480px;
}

/* TLD price bubbles: an organic floating cluster.
   Each bubble is absolutely placed via --x/--y and drifts on its own
   phase (--d). Only a few are filled; the rest are white with a tinted rim,
   plus a couple of tiny decorative dots so it reads as "bubbles", not a grid. */

.ocx-domains__bubbles {
    position: relative;
    height: 340px;
}

.ocx-bubble {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    background: #fff;
    border: 1.5px solid var(--ocx-line);
    box-shadow: 0 10px 26px rgba(16, 24, 43, 0.10), inset 0 -6px 12px rgba(16, 24, 43, 0.04);
    animation: ocxFloat 6s ease-in-out infinite;
    animation-delay: var(--d, 0s);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Soft highlight in the upper-left, like light on a real bubble */
.ocx-bubble::before {
    content: '';
    position: absolute;
    top: 12%;
    left: 16%;
    width: 30%;
    height: 22%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    pointer-events: none;
}

.ocx-bubble--outline::before {
    background: rgba(255, 255, 255, 0.9);
}

.ocx-bubble:hover,
.ocx-bubble:focus {
    text-decoration: none;
    animation-play-state: paused;
    box-shadow: 0 18px 40px rgba(16, 24, 43, 0.18), inset 0 -6px 12px rgba(16, 24, 43, 0.04);
}

.ocx-bubble--outline:hover,
.ocx-bubble--outline:focus {
    border-color: var(--ocx-primary);
}

@keyframes ocxFloat {
    0%   { transform: translate(-50%, -50%) translateY(0); }
    50%  { transform: translate(-50%, -50%) translateY(-10px); }
    100% { transform: translate(-50%, -50%) translateY(0); }
}

/* Sizes */
.ocx-bubble--lg { width: 164px; height: 164px; }
.ocx-bubble--md { width: 124px; height: 124px; }
.ocx-bubble--sm { width: 104px; height: 104px; }
.ocx-bubble--xs { width: 84px;  height: 84px; }

/* Fills: only three coloured, the rest outlined white */
.ocx-bubble--blue  { background: var(--ocx-primary); border-color: var(--ocx-primary); }
.ocx-bubble--green { background: var(--ocx-green);   border-color: var(--ocx-green); }
.ocx-bubble--ink   { background: var(--ocx-ink);     border-color: var(--ocx-ink); }

/* Decorative empty dots */
.ocx-bubble--dot {
    width: 16px;
    height: 16px;
    border-color: rgba(5, 37, 159, 0.25);
    box-shadow: none;
    pointer-events: none;
}

.ocx-bubble--dot::before { display: none; }

.ocx-bubble--dot-lg {
    width: 26px;
    height: 26px;
}

/* Text */
.ocx-bubble strong {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ocx-ink);
    line-height: 1;
    position: relative;
}

.ocx-bubble--lg strong { font-size: 34px; }
.ocx-bubble--md strong { font-size: 24px; }
.ocx-bubble--sm strong { font-size: 19px; }
.ocx-bubble--xs strong { font-size: 16px; }

.ocx-bubble span {
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ocx-muted);
    position: relative;
}

.ocx-bubble--lg span { font-size: 15px; }
.ocx-bubble--xs span { font-size: 11px; margin-top: 4px; }

.ocx-bubble small {
    font-size: 0.8em;
    font-weight: 600;
    opacity: 0.8;
}

.ocx-bubble--blue strong,
.ocx-bubble--green strong,
.ocx-bubble--ink strong,
.ocx-bubble--blue span,
.ocx-bubble--green span,
.ocx-bubble--ink span {
    color: #fff;
}

.ocx-bubble--outline strong { color: var(--ocx-primary); }

@media (prefers-reduced-motion: reduce) {
    .ocx-bubble { animation: none; }
}

/* ---------------- 3. PARTNER BRANDS ---------------- */

.ocx-brands {
    background: #fff;
    padding: 76px 0;
    text-align: center;
}

.ocx-brands__title {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--ocx-primary);
    text-transform: none;
    margin: 0 0 14px;
}

.ocx-brands__intro {
    font-size: 16px;
    line-height: 1.65;
    color: var(--ocx-muted);
    max-width: 640px;
    margin: 0 auto 44px;
}

.ocx-brands__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 22px;
}

.ocx-brands__logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--ocx-line);
    border-radius: 14px;
    padding: 26px 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ocx-brands__logo:hover {
    border-color: rgba(5, 37, 159, 0.3);
    box-shadow: 0 6px 18px rgba(16, 24, 43, 0.07);
}

.ocx-brands__logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.ocx-brands__logo span {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ocx-ink);
}

/* ---------------- 4. FULL-WIDTH BANNER ---------------- */

.ocx-bslide {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.ocx-bslide__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.ocx-bslide__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ocx-bslide__content {
    flex: 1 1 auto;
    max-width: 560px;
    padding: 64px 0;
}

/* Floating product cards on the right of the banner (one or two) */

.ocx-bslide__cards {
    flex: 0 0 auto;
    display: flex;
    gap: 16px;
    padding: 40px 0;
}

.ocx-bcard {
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border-radius: 16px;
    padding: 20px 20px 18px;
    text-decoration: none;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ocx-bslide__cards--single .ocx-bcard {
    width: 300px;
}

.ocx-bcard:hover,
.ocx-bcard:focus {
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.ocx-bcard__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.ocx-bcard__logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid var(--ocx-line);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ocx-bcard__logo img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.ocx-bcard__logo--icon {
    background: var(--ocx-tint);
    border-color: transparent;
    color: var(--ocx-primary);
    font-size: 17px;
}

.ocx-bcard__tag {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ocx-green);
    background: rgba(20, 128, 74, 0.1);
    border-radius: 999px;
    padding: 5px 10px;
}

.ocx-bcard__tag--blue {
    color: var(--ocx-primary);
    background: var(--ocx-tint);
}

.ocx-bcard__name {
    font-size: 16px;
    font-weight: 800;
    color: var(--ocx-ink);
    line-height: 1.3;
}

.ocx-bcard__desc {
    font-size: 13px;
    color: var(--ocx-muted);
    line-height: 1.5;
    flex: 1 1 auto;
}

.ocx-bcard__deal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ocx-green);
    background: rgba(20, 128, 74, 0.08);
    border-radius: 8px;
    padding: 8px 10px;
    margin-top: 4px;
}

.ocx-bcard__deal i {
    font-size: 12px;
}

.ocx-bcard__price {
    font-size: 17px;
    font-weight: 800;
    color: var(--ocx-primary);
    letter-spacing: -0.01em;
    padding-top: 8px;
    border-top: 1px solid var(--ocx-line);
}

.ocx-bcard__price em {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--ocx-muted);
    margin-right: 3px;
}

.ocx-bcard__price small {
    font-size: 12px;
    font-weight: 600;
    color: var(--ocx-muted);
}

.ocx-bcard__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ocx-primary);
    padding-top: 10px;
    border-top: 1px solid var(--ocx-line);
    margin-top: 4px;
}

.ocx-bcard__cta i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.ocx-bcard:hover .ocx-bcard__cta i {
    transform: translateX(3px);
}

.ocx-bslide__brand {
    margin-bottom: 18px;
}

.ocx-bslide__brand img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.ocx-bslide__brand--tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.ocx-bslide__brand--tile img {
    height: 36px;
    width: 36px;
}

.ocx-bslide__eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #72d97f;
    margin-bottom: 14px;
}

.ocx-bslide__eyebrow--orange { color: #ff9900; }
.ocx-bslide__eyebrow--dark { color: var(--ocx-primary); }

/* Light brand slide: dark text on pale background */
.ocx-bslide--light .ocx-bslide__title { color: var(--ocx-ink); }
.ocx-bslide--light .ocx-bslide__text { color: var(--ocx-muted); }
.ocx-bslide--light .ocx-bcard { box-shadow: 0 14px 34px rgba(16, 24, 43, 0.14); border: 1px solid var(--ocx-line); }
.ocx-bslide--light ~ .ocx-hero__side { background: #fff; }

.ocx-bslide__title {
    font-size: 34px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: #fff;
    margin: 0 0 14px;
}

.ocx-bslide__text {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 26px;
}

/* ---------------- 5. CATEGORY STRIP ---------------- */

.ocx-cats {
    background: #f7f8fc;
    padding: 56px 0;
}

.ocx-cats__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    position: relative;
    z-index: 3;
    /* Inset by the arc size so the first and last tiles are never flush with
       the pane's edge: every active tile then gets both concave corners and
       the pane keeps its full radius, with no edge special cases. */
    padding: 0 16px;
}

.ocx-cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--ocx-line);
    border-radius: 14px;
    padding: 24px 12px 20px;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ocx-cat-tile:hover {
    text-decoration: none;
    border-color: rgba(5, 37, 159, 0.35);
    box-shadow: 0 8px 20px rgba(16, 24, 43, 0.08);
    transform: translateY(-2px);
}

.ocx-cat-tile__icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: var(--ocx-tint);
    color: var(--ocx-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.ocx-cat-tile__name {
    font-size: 14.5px;
    font-weight: 800;
    color: var(--ocx-ink);
}

.ocx-cat-tile__line {
    font-size: 12.5px;
    color: var(--ocx-muted);
}

/* Tiles are buttons now: neutralize button chrome */
button.ocx-cat-tile {
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

/* Active tile becomes a "folder tab": squared bottom, no bottom border,
   sits 1px over the panel so the two read as one continuous card. */
.ocx-cat-tile {
    position: relative;
    z-index: 1;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.25s ease, border-radius 0.2s ease;
}

.ocx-cats.is-open .ocx-cat-tile:not(.is-active) {
    opacity: 0.45;
    transform: none;
    box-shadow: none;
}

.ocx-cats.is-open .ocx-cat-tile:not(.is-active):hover {
    opacity: 0.8;
}

/* The active tile joins the pane below it. No bridge, no fillets: the pane
   overlaps the tile row by 1px and the tile, being higher in the stack with a
   solid white fill and no bottom border, simply covers the pane's top line
   underneath it. That leaves a clean butt joint at each tab wall instead of the
   quarter-arc fillets, which never landed smoothly. */
.ocx-cat-tile.is-active {
    position: relative;
    z-index: 3;
    /* Softer than the hover/focus blue: this outline wraps a large connected
       surface, so at 0.35 it read as a hard box around the whole component. */
    border-color: rgba(5, 37, 159, 0.18);
    border-bottom-color: transparent;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 -6px 18px rgba(5, 37, 159, 0.08);
    transform: none;
    background: #fff;
}

/* Concave corners where the tab meets the pane, so the two shapes flow into one
   another instead of butting at a right angle. Each is a 12px box just outside a
   tab wall, filled white everywhere except a quarter-disc, with the arc stroked
   in the same colour as the surrounding border so the outline stays continuous.
   Drawn as inline SVG rather than JS-injected elements: the tab now sits flush
   on the pane, so the corner geometry is fixed and needs no measuring. */
.ocx-cat-tile.is-active::before,
.ocx-cat-tile.is-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 12px;
    height: 12px;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

/* Left: white fills below-right of the arc, curving down into the pane. */
.ocx-cat-tile.is-active::before {
    left: -12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M12 0 A12 12 0 0 1 0 12 L12 12 Z' fill='%23ffffff'/%3E%3Cpath d='M12 0 A12 12 0 0 1 0 12' fill='none' stroke='%2305259f' stroke-opacity='0.18'/%3E%3C/svg%3E");
}

/* Right: the mirror image. */
.ocx-cat-tile.is-active::after {
    right: -12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M0 0 A12 12 0 0 0 12 12 L0 12 Z' fill='%23ffffff'/%3E%3Cpath d='M0 0 A12 12 0 0 0 12 12' fill='none' stroke='%2305259f' stroke-opacity='0.18'/%3E%3C/svg%3E");
}


.ocx-cat-tile.is-active .ocx-cat-tile__icon {
    background: var(--ocx-primary);
    color: #fff;
}


/* Reveal panel under the tiles */

.ocx-cats__panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    position: relative;
    z-index: 1;
}

.ocx-cats__panel.is-open {
    max-height: 640px;
    opacity: 1;
    /* Flush against the tile row, overlapping its border line by 1px so the
       active tile and the pane read as one continuous surface. */
    margin-top: -1px;
    padding-top: 0;
    overflow: visible;
}

.ocx-cats__pane {
    display: none;
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(5, 37, 159, 0.18);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 12px 30px rgba(16, 24, 43, 0.08);
}

.ocx-cats__pane.is-active {
    display: flex;
    position: relative;
}

/* Product mini-cards inside the panel: always one row on desktop */

.ocx-pcard {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--ocx-line);
    border-radius: 12px;
    padding: 18px 18px 16px;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ocx-pcard:hover,
.ocx-pcard:focus {
    text-decoration: none;
    border-color: rgba(5, 37, 159, 0.35);
    box-shadow: 0 8px 20px rgba(16, 24, 43, 0.08);
    transform: translateY(-2px);
}

.ocx-pcard__logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    border: 1px solid var(--ocx-line);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.ocx-pcard__logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.ocx-pcard__logo--icon {
    background: var(--ocx-tint);
    border-color: transparent;
    color: var(--ocx-primary);
    font-size: 17px;
}

.ocx-pcard__name {
    font-size: 15px;
    font-weight: 800;
    color: var(--ocx-ink);
    line-height: 1.3;
}

.ocx-pcard__desc {
    font-size: 13px;
    color: var(--ocx-muted);
    line-height: 1.5;
    flex: 1 1 auto;
}

.ocx-pcard__price {
    font-size: 17px;
    font-weight: 800;
    color: var(--ocx-primary);
    letter-spacing: -0.01em;
    padding-top: 8px;
    border-top: 1px solid var(--ocx-line);
}

.ocx-pcard__price em {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--ocx-muted);
    margin-right: 3px;
}

.ocx-pcard__price small {
    font-size: 12px;
    font-weight: 600;
    color: var(--ocx-muted);
}

.ocx-pcard__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ocx-primary);
}

.ocx-pcard__cta i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.ocx-pcard:hover .ocx-pcard__cta i {
    transform: translateX(3px);
}

/* ---------------- 5.5 CURRENT OFFERS ---------------- */

.ocx-offers {
    background: #fff;
    padding: 76px 0 20px;
}

.ocx-offers__head {
    text-align: center;
    margin-bottom: 38px;
}

.ocx-offers__title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--ocx-ink);
    margin: 0 0 8px;
}

.ocx-offers__sub {
    font-size: 15px;
    color: var(--ocx-muted);
    margin: 0;
}

.ocx-offers__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.ocx-offer {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--ocx-line);
    border-radius: 16px;
    padding: 24px 22px 20px;
    text-decoration: none;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ocx-offer:hover,
.ocx-offer:focus {
    text-decoration: none;
    border-color: rgba(5, 37, 159, 0.35);
    box-shadow: 0 10px 26px rgba(16, 24, 43, 0.1);
    transform: translateY(-3px);
}

.ocx-offer__tag {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--ocx-green);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 6px 12px;
}

.ocx-offer__logo {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    border: 1px solid var(--ocx-line);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.ocx-offer__logo img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.ocx-offer__logo--icon {
    background: var(--ocx-tint);
    border-color: transparent;
    color: var(--ocx-primary);
    font-size: 19px;
}

.ocx-offer__name {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--ocx-ink);
    line-height: 1.3;
}

.ocx-offer__desc {
    font-size: 13.5px;
    color: var(--ocx-muted);
    line-height: 1.55;
    flex: 1 1 auto;
}

.ocx-offer__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ocx-primary);
    padding-top: 10px;
    border-top: 1px solid var(--ocx-line);
}

.ocx-offer__cta i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.ocx-offer:hover .ocx-offer__cta i {
    transform: translateX(3px);
}

/* ---------------- 5.5 CAMPAIGN PROMOS (2x2 image tiles) ---------------- */

.ocx-promos {
    background: #fff;
    padding: 76px 0 24px;
}

.ocx-promos__head {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 38px;
}

.ocx-promos__title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--ocx-ink);
    margin: 0 0 8px;
}

.ocx-promos__sub {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ocx-muted);
    margin: 0;
}

.ocx-promos__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.ocx-promo {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 320px;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(16, 24, 43, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ocx-promo:hover,
.ocx-promo:focus {
    text-decoration: none;
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(16, 24, 43, 0.14);
}

.ocx-promo--light {
    border: 1px solid var(--ocx-line);
    box-shadow: 0 6px 18px rgba(16, 24, 43, 0.05);
}

.ocx-promo__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: transform 0.6s ease;
}

.ocx-promo:hover .ocx-promo__art {
    transform: scale(1.03);
}

.ocx-promo__logo-cluster {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ocx-promo__logo-cluster img {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 8px 20px rgba(16, 24, 43, 0.12);
}

.ocx-promo__tag {
    position: absolute;
    top: 20px;
    left: 24px;
    z-index: 2;
    background: var(--ocx-green);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 7px 14px;
}

.ocx-promo__tag--orange { background: #c96a00; }
.ocx-promo__tag--dark { background: var(--ocx-primary); }

.ocx-promo__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 90px 28px 28px;
    max-width: 66%;
}

.ocx-promo__brand img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.ocx-promo__brand--tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.16);
}

.ocx-promo__brand--tile img {
    height: 26px;
    width: 26px;
}

.ocx-promo__title {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.01em;
    color: #fff;
}

.ocx-promo__text {
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.82);
}

.ocx-promo__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    margin-top: 4px;
}

.ocx-promo__cta i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.ocx-promo:hover .ocx-promo__cta i {
    transform: translateX(3px);
}

.ocx-promo--light .ocx-promo__title { color: var(--ocx-ink); }
.ocx-promo--light .ocx-promo__text { color: var(--ocx-muted); }
.ocx-promo--light .ocx-promo__cta { color: var(--ocx-primary); }

/* ---------------- 6. WHY ONECLOUD ---------------- */

.ocx-why {
    background: #fff;
    padding: 84px 0;
}

.ocx-why__head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 54px;
    flex-wrap: wrap;
}

.ocx-why__title {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--ocx-ink);
    margin: 0;
}

.ocx-why__rule {
    flex: 0 0 46px;
    height: 2px;
    background: var(--ocx-line);
}

.ocx-why__sub {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ocx-primary);
}

.ocx-why__layout {
    display: grid;
    grid-template-columns: 1fr 340px 1fr;
    gap: 44px;
    align-items: center;
}

.ocx-why__visual svg {
    width: 100%;
    height: auto;
    display: block;
}

.ocx-why__col {
    display: flex;
    flex-direction: column;
    gap: 38px;
}

.ocx-reason__head {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 8px;
}

.ocx-why__col--left .ocx-reason { text-align: right; }
.ocx-why__col--left .ocx-reason__head { justify-content: flex-end; }

.ocx-reason__head h3 {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ocx-ink);
    margin: 0;
}

.ocx-reason__num {
    font-size: 26px;
    font-weight: 800;
    color: rgba(5, 37, 159, 0.22);
    line-height: 1;
}

.ocx-reason p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--ocx-muted);
    margin: 0;
}

/* ---------------- 7. TESTIMONIALS ---------------- */

.ocx-quotes {
    background: var(--ocx-ink);
    padding: 72px 0 56px;
    text-align: center;
}

.ocx-quotes__mark {
    width: 58px;
    height: 58px;
    margin: 0 auto 30px;
    border-radius: 50%;
    background: var(--ocx-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.ocx-quotes__viewport {
    overflow: hidden;
}

.ocx-quote {
    flex: 0 0 100%;
    min-width: 100%;
    margin: 0;
    padding: 0 8%;
}

.ocx-quote p {
    font-size: 20px;
    line-height: 1.7;
    font-weight: 600;
    color: #fff;
    max-width: 720px;
    margin: 0 auto 24px;
}

.ocx-quote cite {
    display: block;
    font-style: normal;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #72d97f;
    margin-bottom: 4px;
}

.ocx-quote footer span {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
}

.ocx-quotes__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    margin-top: 38px;
}

.ocx-quotes__arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease;
}

.ocx-quotes__arrow:hover,
.ocx-quotes__arrow:focus-visible {
    color: #fff;
}

/* ---------------- 8. CERTIFICATION BAND ---------------- */

.ocx-certs {
    background: var(--ocx-primary);
    padding: 38px 0;
}

.ocx-certs__grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
}

.ocx-cert {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
}

.ocx-cert i {
    font-size: 34px;
    opacity: 0.95;
}

.ocx-cert span {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-align: left;
    letter-spacing: 0.02em;
}

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

@media (max-width: 1199.98px) {
    .ocx-brands__grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .ocx-cats__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (max-width: 991.98px) {
    .ocx-hslide {
        min-height: 480px;
    }

    .ocx-domains__inner {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .ocx-search__results {
        grid-template-columns: 1fr;
    }

    .ocx-promos__grid {
        grid-template-columns: 1fr;
    }

    .ocx-bslide__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .ocx-bslide__content {
        padding-bottom: 20px;
    }

    .ocx-bslide__cards {
        padding: 0 0 56px;
        flex-wrap: wrap;
    }

    .ocx-cats__pane {
        flex-wrap: wrap;
    }

    .ocx-pcard {
        flex: 1 1 45%;
    }

    .ocx-hslide__title {
        font-size: 38px;
    }

    .ocx-hslide__logo-float,
    .ocx-hslide__logo-cluster {
        display: none;
    }

    .ocx-why__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ocx-why__visual {
        max-width: 280px;
        margin: 0 auto;
        order: -1;
    }

    .ocx-why__col--left .ocx-reason { text-align: left; }
    .ocx-why__col--left .ocx-reason__head { justify-content: flex-start; }

    .ocx-brands__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .ocx-hslide {
        min-height: 440px;
    }

    .ocx-hslide__content {
        padding: 54px 0 74px;
    }

    .ocx-hslide__title {
        font-size: 30px;
    }

    .ocx-hslide__text {
        font-size: 15px;
    }

    .ocx-hslide__art {
        opacity: 0.35;
    }

    .ocx-hslide--light .ocx-hslide__art {
        opacity: 0.5;
    }

    .ocx-hero__side {
        width: 38px;
        height: 38px;
    }

    .ocx-hero__side--prev { left: max(10px, calc(50% - var(--ocx-content) / 2 - 54px)); }
    .ocx-hero__side--next { right: max(10px, calc(50% - var(--ocx-content) / 2 - 54px)); }

    .ocx-hslide__inner,
    .ocx-bslide__inner {
        padding-left: 58px;
        padding-right: 58px;
    }

    .ocx-brands {
        padding: 56px 0;
    }

    .ocx-brands__title {
        font-size: 28px;
    }

    .ocx-brands__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .ocx-cats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ocx-cats__pane {
        flex-direction: column;
        padding: 12px;
    }

    .ocx-pcard {
        flex: 1 1 auto;
    }

    .ocx-promos__title {
        font-size: 26px;
    }

    .ocx-search__title {
        font-size: 24px;
    }

    .ocx-search__form input {
        font-size: 15px;
        padding: 12px 0;
    }

    .ocx-result__meta em {
        display: none;
    }

    .ocx-result__text span {
        white-space: normal;
    }

    .ocx-promo {
        min-height: 260px;
    }

    .ocx-promo__body {
        max-width: 100%;
        padding: 80px 20px 22px;
    }

    .ocx-promo__logo-cluster {
        display: none;
    }

    .ocx-domains {
        padding: 48px 0;
    }

    .ocx-domains__title {
        font-size: 24px;
    }

    /* Small screens: bubbles become a simple wrapping row, no absolute cluster */
    .ocx-domains__bubbles {
        height: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

    .ocx-bubble {
        position: static;
        transform: none;
        animation: none;
    }

    .ocx-bubble--dot { display: none; }
    .ocx-bubble--lg { width: 116px; height: 116px; }
    .ocx-bubble--md { width: 100px; height: 100px; }
    .ocx-bubble--sm { width: 92px; height: 92px; }
    .ocx-bubble--xs { width: 84px; height: 84px; }
    .ocx-bubble--lg strong { font-size: 24px; }
    .ocx-bubble--md strong { font-size: 19px; }
    .ocx-bubble--sm strong,
    .ocx-bubble--xs strong { font-size: 16px; }
    .ocx-bubble span { font-size: 11.5px; }

    .ocx-bslide__title {
        font-size: 25px;
    }

    .ocx-bslide__cards {
        width: 100%;
    }

    .ocx-bcard,
    .ocx-bslide__cards--single .ocx-bcard {
        width: 100%;
    }

    .ocx-bcard:nth-child(2) {
        display: none;
    }

    .ocx-quote p {
        font-size: 16.5px;
    }

    .ocx-quotes__arrow span {
        display: none;
    }

    .ocx-certs__grid {
        justify-content: center;
        gap: 22px 34px;
    }
}

/* ---------------- MOTION SAFETY ---------------- */

@media (prefers-reduced-motion: reduce) {
    .ocx-hero__track,
    .ocx-banner__track,
    .ocx-quotes__track,
    .ocx-btn,
    .ocx-cat-tile,
    .ocx-brands__logo {
        transition: none;
    }
}

/* ============================================================
   Homepage sections v2: search band + advisor doorway redesign
   ============================================================ */

/* ---------- Search band: dark "command palette" with orbiting vendor chips ---------- */

.ocx-search--v2 {
    position: relative;
    overflow: hidden;
    padding: 76px 0 64px;
}

/* subtle dot grid behind everything */
.ocx-search__grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    pointer-events: none;
}

.ocx-search--v2 .container { position: relative; z-index: 2; }

/* orbiting vendor chips */
.ocx-search__orbit {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, var(--ocx-content));
    pointer-events: none;
    z-index: 1;
}

.ocx-orb {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
    transform: translate(-50%, -50%);
    animation: ocxOrbFloat 7s ease-in-out infinite;
    animation-delay: var(--d, 0s);
    opacity: 0.95;
}

.ocx-orb--sm { width: 44px; height: 44px; border-radius: 12px; opacity: 0.8; }
.ocx-orb img { width: 30px; height: 30px; object-fit: contain; }
.ocx-orb--sm img { width: 22px; height: 22px; }

@keyframes ocxOrbFloat {
    0%   { transform: translate(-50%, -50%) translateY(0); }
    50%  { transform: translate(-50%, -50%) translateY(-12px); }
    100% { transform: translate(-50%, -50%) translateY(0); }
}

.ocx-search__kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #72d97f;
    margin-bottom: 12px;
}

.ocx-search--v2 .ocx-search__title { font-size: 38px; }
.ocx-search--v2 .ocx-search__text { max-width: 560px; margin: 0 auto; }

/* bigger, glowing search bar */
.ocx-search--v2 .ocx-search__form {
    padding: 8px 12px 8px 24px;
    border-radius: 18px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.ocx-search--v2 .ocx-search__form > i { font-size: 20px; }
.ocx-search--v2 .ocx-search__form input { font-size: 18px; padding: 16px 0; }

.ocx-search__kbd {
    flex: 0 0 auto;
    font-family: inherit;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--ocx-muted);
    background: #f1f4fc;
    border: 1px solid var(--ocx-line);
    border-bottom-width: 2px;
    border-radius: 7px;
    padding: 5px 9px;
    margin-left: 6px;
}

/* chips: two centred rows if needed, never clipped */
.ocx-search--v2 .ocx-search__chips {
    flex-wrap: wrap;
    overflow: visible;
    max-width: 960px;
    row-gap: 10px;
}

/* chips with icons */
.ocx-search--v2 .ocx-search__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.16);
}

.ocx-search--v2 .ocx-search__chip i { font-size: 12px; color: #72d97f; }
.ocx-search--v2 .ocx-search__chip.is-active i { color: var(--ocx-primary); }

/* stat line */
.ocx-search__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 26px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    flex-wrap: wrap;
}

.ocx-search__stats strong { color: #fff; font-weight: 800; }
.ocx-search__stats-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }

/* ---------- Advisor doorway: engineer panel + coloured scenario cards ---------- */

.ocx-door--v2 {
    padding: 80px 0;
    background: #fff;
    position: relative;
}

.ocx-door__layout {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

/* the engineer panel */
.ocx-door__panel {
    background: var(--ocx-ink);
    color: #fff;
    border-radius: 22px;
    padding: 26px 26px 24px;
    position: sticky;
    top: 24px;
    box-shadow: 0 24px 60px rgba(16, 24, 43, 0.22);
}

.ocx-door__engineer {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 18px;
}

.ocx-door__avatar {
    position: relative;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--ocx-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ocx-door__avatar-dot {
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #72d97f;
    border: 3px solid var(--ocx-ink);
}

.ocx-door__engineer strong { display: block; font-size: 16px; font-weight: 800; }
.ocx-door__engineer span { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }

.ocx-door__chat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

.ocx-door__bubble {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.55;
    padding: 11px 14px;
    border-radius: 14px;
    max-width: 92%;
}

.ocx-door__bubble--them {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.92);
    border-bottom-left-radius: 4px;
    align-self: flex-start;
}

.ocx-door__bubble--me {
    background: var(--ocx-primary);
    color: #fff;
    border-bottom-right-radius: 4px;
    align-self: flex-end;
}

.ocx-door__facts {
    list-style: none;
    margin: 0;
    padding: 16px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ocx-door__facts li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.45;
}

.ocx-door__facts i { color: #72d97f; font-size: 11px; margin-top: 4px; }

/* right column */
.ocx-door__main .ocx-door__title { text-align: left; font-size: 30px; margin: 4px 0 8px; }
.ocx-door__main .ocx-door__sub { text-align: left; margin: 0 0 22px; max-width: 560px; }

.ocx-door--v2 .ocx-door__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.ocx-door--v2 .ocx-door__card {
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 20px;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1.5px solid var(--ocx-line);
    background: #fff;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ocx-door--v2 .ocx-door__card:hover {
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(16, 24, 43, 0.10);
}

.ocx-door__icon {
    grid-row: 1 / span 2;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: #fff;
}

/* the FA glyph inside the coloured tile must always be white (beats theme icon colour rules) */
.ocx-door--v2 .ocx-door__card .ocx-door__icon,
.ocx-door--v2 .ocx-door__card .ocx-door__icon i {
    color: #fff !important;
    opacity: 1;
}

.ocx-door--v2 .ocx-door__card strong { grid-column: 2; font-size: 14.5px; font-weight: 800; color: var(--ocx-ink); line-height: 1.3; }
.ocx-door--v2 .ocx-door__card span:not(.ocx-door__icon) { grid-column: 2; font-size: 12.5px; color: var(--ocx-muted); line-height: 1.4; }

.ocx-door__go {
    grid-column: 3;
    grid-row: 1 / span 2;
    color: var(--ocx-muted);
    font-size: 12px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.ocx-door--v2 .ocx-door__card:hover .ocx-door__go { transform: translateX(3px); color: var(--ocx-primary); }

/* one flat accent per scenario (deep, muted tones) */
.ocx-door__card--c1 .ocx-door__icon { background: #05259f; }
.ocx-door__card--c2 .ocx-door__icon { background: #14804a; }
.ocx-door__card--c3 .ocx-door__icon { background: #3352d3; }
.ocx-door__card--c4 .ocx-door__icon { background: #10182b; }
.ocx-door__card--c5 .ocx-door__icon { background: #0f6b7a; }
.ocx-door__card--c6 .ocx-door__icon { background: #1f9a5e; }
.ocx-door__card--c7 .ocx-door__icon { background: #6b4fbb; }
.ocx-door__card--c8 .ocx-door__icon { background: #c96a00; }

.ocx-door__card--c1:hover { border-color: #05259f; }
.ocx-door__card--c2:hover { border-color: #14804a; }
.ocx-door__card--c3:hover { border-color: #3352d3; }
.ocx-door__card--c4:hover { border-color: #10182b; }
.ocx-door__card--c5:hover { border-color: #0f6b7a; }
.ocx-door__card--c6:hover { border-color: #1f9a5e; }
.ocx-door__card--c7:hover { border-color: #6b4fbb; }
.ocx-door__card--c8:hover { border-color: #c96a00; }

.ocx-door--v2 .ocx-door__foot {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
    text-align: left;
    flex-wrap: wrap;
}

.ocx-door--v2 .ocx-door__foot span { font-size: 13.5px; color: var(--ocx-muted); }

/* the primary button in the foot: white text on brand blue, whatever the theme's link colour says */
.ocx-door--v2 .ocx-door__foot a.ocx-btn--primary,
.ocx-door--v2 .ocx-door__foot a.ocx-btn--primary:hover,
.ocx-door--v2 .ocx-door__foot a.ocx-btn--primary:focus {
    color: #fff !important;
    background: var(--ocx-primary);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.ocx-door--v2 .ocx-door__foot a.ocx-btn--primary:hover { background: #041d7e; }
.ocx-door--v2 .ocx-door__foot a.ocx-btn--primary i { color: #fff !important; }

@media (max-width: 1199.98px) {
    .ocx-door__layout { grid-template-columns: 340px minmax(0, 1fr); gap: 28px; }
}

/* Orbs need real side gutters: only show them on wide screens where the
   content column (max 1140px) leaves 200px+ free on each side. */
@media (max-width: 1499.98px) {
    .ocx-search--v2 .ocx-orb { display: none; }
}

@media (max-width: 991.98px) {
    .ocx-door__layout { grid-template-columns: 1fr; }
    .ocx-door__panel { position: static; }
    .ocx-search--v2 .ocx-search__title { font-size: 30px; }
}

@media (max-width: 767.98px) {
    .ocx-door--v2 .ocx-door__grid { grid-template-columns: 1fr; }
    .ocx-search__kbd { display: none; }
    .ocx-search__stats { gap: 10px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .ocx-orb { animation: none; }
}
