/* =====================================================
   Homepage v2  (US / COM)  -  route: /v2

   Every rule is scoped to .cbl-home-v2 and every class is
   prefixed with v2- so the theme's global rules (and the
   theme's own .container / .section / .btn / li styles)
   are never touched by this file, and never reach into it.
===================================================== */

.cbl-home-v2 {
    --v2-primary: #1769e0;
    --v2-primary-dark: #0f55bd;
    --v2-dark: #172033;
    --v2-text: #4b5563;
    --v2-muted: #64748b;
    --v2-light-bg: #f6f8fb;
    --v2-border: #e5e7eb;
    --v2-navy: #111c2e;
    --v2-radius: 14px;
    --v2-shadow: 0 10px 35px rgba(20, 40, 80, .08);

    color: var(--v2-dark);
    background: #fff;
    line-height: 1.6;
}

.cbl-home-v2 *,
.cbl-home-v2 *::before,
.cbl-home-v2 *::after {
    box-sizing: border-box;
}

.cbl-home-v2 img {
    max-width: 100%;
}

.cbl-home-v2 a {
    text-decoration: none;
    color: inherit;
}

/* The banner and the brand slider under it are the live homepage blocks and
   are deliberately left alone: no rule here touches .container-fluid-lg,
   .cbl-hero-* or .footer-brand-*, so they keep the theme's own widths. */

.cbl-home-v2 .v2-container {
    width: min(1180px, 92%);
    margin-left: auto;
    margin-right: auto;
}

.cbl-home-v2 .v2-section {
    padding: 80px 0;
}

.cbl-home-v2 .v2-section-alt {
    background: var(--v2-light-bg);
}

.cbl-home-v2 h2,
.cbl-home-v2 h3 {
    line-height: 1.2;
    color: var(--v2-dark);
    text-transform: none;
    letter-spacing: normal;
}

.cbl-home-v2 .v2-section h2,
.cbl-home-v2 .v2-badges h2 {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 16px;
}

.cbl-home-v2 p {
    color: var(--v2-text);
    margin: 0;
}

.cbl-home-v2 .v2-eyebrow {
    color: var(--theme-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.cbl-home-v2 .v2-section-header {
    max-width: 740px;
    text-align: center;
    margin: 0 auto 45px;
}

.cbl-home-v2 .v2-section-header p {
    font-size: 16px;
}

.cbl-home-v2 .v2-center {
    text-align: center;
    margin-top: 35px;
}

/* ---------- buttons ---------- */

.cbl-home-v2 .v2-btn {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 7px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: all .2s ease;
}

.cbl-home-v2 .v2-btn-primary {
    background: #5dc9ee;
    border-color: #5dc9ee;
    color: #fff;
}

.cbl-home-v2 .v2-btn-primary:hover {
    background: #77d4fe;
    border-color: #77d4fe;
    color: #fff;
}

.cbl-home-v2 .v2-btn-outline {
    background: #5dc9ee;
    border-color: #5dc9ee;
    color: #fff;
}

.cbl-home-v2 .v2-btn-outline:hover {
    background: #77d4fe;
    border-color: #77d4fe;
    color: #fff;
}

/* ---------- box styles ---------- */

/* Three layouts share these card looks: a white rounded panel that lifts on
   hover, an image that fills its box, and the same link affordance. */
.cbl-home-v2 .v2-feature-card,
.cbl-home-v2 .v2-tile,
.cbl-home-v2 .v2-bento-item {
    display: block;
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-radius);
    overflow: hidden;
    background: #fff;
    color: inherit;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.cbl-home-v2 .v2-feature-card:hover,
.cbl-home-v2 .v2-tile:hover,
.cbl-home-v2 .v2-bento-item:hover {
    transform: translateY(-4px);
    border-color: var(--v2-primary);
    box-shadow: var(--v2-shadow);
}

.cbl-home-v2 .v2-feature-card img,
.cbl-home-v2 .v2-tile img,
.cbl-home-v2 .v2-bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f3f4f6;
}

/* The "Explore ..." line on every card. The whole card is the link, so this
   is the affordance that says so: theme blue, and an underline on hover. */
.cbl-home-v2 .v2-card-link {
    color: #01720a;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
}

/* the roomier cards carry it a little larger */
.cbl-home-v2 .v2-feature-card .v2-card-link,
.cbl-home-v2 .v2-tile.is-wide .v2-card-link,
.cbl-home-v2 .v2-bento-item.is-large .v2-card-link {
    font-size: 15px;
}

.cbl-home-v2 .v2-feature-card:hover .v2-card-link,
.cbl-home-v2 .v2-tile:hover .v2-card-link,
.cbl-home-v2 .v2-bento-item:hover .v2-card-link {
    color: var(--v2-primary-dark);
}

/* ---- block 1: two wide feature cards, copy beside the image ---- */
.cbl-home-v2 .v2-style-feature {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.cbl-home-v2 .v2-feature-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    align-items: stretch;
}

.cbl-home-v2 .v2-feature-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 26px 24px;
}

.cbl-home-v2 .v2-feature-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
}

.cbl-home-v2 .v2-feature-card p {
    font-size: 15px;
    margin-bottom: 16px;
}

.cbl-home-v2 .v2-feature-media {
    min-height: 210px;
}

/* ---- block 2: seven tiles, the sixth running double width ---- */
.cbl-home-v2 .v2-style-tiles {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.cbl-home-v2 .v2-tile.is-wide {
    grid-column: span 2;
}

.cbl-home-v2 .v2-tile-media {
    height: 170px;
}

.cbl-home-v2 .v2-tile-copy {
    padding: 18px 16px;
}

.cbl-home-v2 .v2-tile h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 8px;
}

.cbl-home-v2 .v2-tile p {
    font-size: 16px;
    margin-bottom: 12px;
}

/* the double-width tile puts its copy beside the image, like the design */
.cbl-home-v2 .v2-tile.is-wide {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

.cbl-home-v2 .v2-tile.is-wide .v2-tile-media {
    height: 100%;
    min-height: 170px;
    order: 2;
}

.cbl-home-v2 .v2-tile.is-wide .v2-tile-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 22px 20px;
}

.cbl-home-v2 .v2-tile.is-wide h3 {
    font-size: 19px;
}

/* ---- block 3: the bento ---- */
.cbl-home-v2 .v2-style-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(210px, auto);
    gap: 20px;
    margin-bottom: 20px;
}

/* one large then two compact, then the mirror: two compact, one large */
.cbl-home-v2 .v2-bento-item.is-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

/* the large panel on the right of the grid puts its image on the right */
.cbl-home-v2 .v2-bento-item:nth-child(6) .v2-bento-media {
    order: 2;
}

.cbl-home-v2 .v2-bento-media {
    height: 130px;
}

.cbl-home-v2 .v2-bento-item.is-large .v2-bento-media {
    height: 100%;
    min-height: 180px;
}

.cbl-home-v2 .v2-bento-copy {
    padding: 16px;
}

.cbl-home-v2 .v2-bento-item.is-large .v2-bento-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px 22px;
}

.cbl-home-v2 .v2-bento-item h4 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--v2-dark);
    line-height: 1.25;
}

.cbl-home-v2 .v2-bento-item.is-large h4 {
    font-size: 21px;
}

.cbl-home-v2 .v2-bento-item p {
    font-size: 16px;
    margin-bottom: 10px;
}

.cbl-home-v2 .v2-bento-item.is-large p {
    font-size: 16px;
    margin-bottom: 14px;
}
/* ---------- two column blocks ---------- */

.cbl-home-v2 .v2-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cbl-home-v2 .v2-two-col-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: var(--v2-shadow);
}

.cbl-home-v2 .v2-two-col-content h2 {
    text-align: left;
}

.cbl-home-v2 .v2-two-col-content p {
    font-size: 16px;
    margin-bottom: 18px;
}

.cbl-home-v2 .v2-check-list {
    list-style: none;
    margin: 25px 0;
    padding: 0;
}

/* the theme sets li { display:inline-block } globally */
.cbl-home-v2 .v2-check-list li {
    display: block;
    width: auto;
    margin-bottom: 12px;
    font-weight: 600;
    color: var(--v2-dark);
}

.cbl-home-v2 .v2-check-list li::before {
    content: "\2713";
    color: var(--v2-primary);
    font-weight: 800;
    margin-right: 10px;
}

/* ---------- materials ---------- */

.cbl-home-v2 .v2-material-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cbl-home-v2 .v2-material-card {
    display: block;
    padding: 30px 25px;
    border-radius: var(--v2-radius);
    background: var(--v2-light-bg);
    border: 1px solid var(--v2-border);
    transition: .25s ease;
}

.cbl-home-v2 a.v2-material-card:hover {
    border-color: var(--v2-primary);
    transform: translateY(-3px);
}

.cbl-home-v2 .v2-material-card h3 {
    font-size: 21px;
    font-weight: 700;
    margin: 0 0 10px;
}

.cbl-home-v2 .v2-material-card p {
    font-size: 16px;
}

/* ---------- customization ---------- */

.cbl-home-v2 .v2-customization {
    background: #fff5edb0;
    color: #fff;
}

.cbl-home-v2 .v2-customization h2,
.cbl-home-v2 .v2-customization h3 {
    color: #000000;
}

.cbl-home-v2 .v2-customization .v2-section-header p {
    color: #000000;
}

.cbl-home-v2 .v2-customization .v2-eyebrow {
    color: var(--theme-color);
}

.cbl-home-v2 .v2-custom-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.cbl-home-v2 .v2-custom-card {
    padding: 27px 20px;
    border: 1px solid rgb(226 223 223 / 98%);
    background: #fff;
    border-radius: 12px;
}

.cbl-home-v2 .v2-custom-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}

.cbl-home-v2 .v2-custom-card p {
    color: #000;
    font-size: 16px;
}

/* ---------- industries ---------- */

.cbl-home-v2 .v2-industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.cbl-home-v2 .v2-industry-card {
    display: block;
    padding: 20px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    background: #fff;
    color: var(--v2-dark);
    font-weight: 700;
    transition: .2s ease;
}

.cbl-home-v2 .v2-industry-card:hover {
    color: var(--v2-primary);
    border-color: var(--v2-primary);
    transform: translateY(-2px);
}

/* ---------- process ---------- */

.cbl-home-v2 .v2-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cbl-home-v2 .v2-process-card {
    padding: 35px;
    background: #fff;
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-radius);
}

.cbl-home-v2 .v2-process-card .v2-process-num {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #00ba99;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.cbl-home-v2 .v2-process-card h3 {
    font-size: 21px;
    font-weight: 700;
    margin: 0;
}

.cbl-home-v2 .v2-process-card p {
    margin-top: 10px;
}

/* ---------- why us ---------- */

.cbl-home-v2 .v2-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.cbl-home-v2 .v2-why-card {
    padding: 28px;
    border: 1px solid var(--v2-border);
    border-radius: var(--v2-radius);
    background: #fff;
}

.cbl-home-v2 .v2-why-card h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 8px;
}

.cbl-home-v2 .v2-why-card p {
    font-size: 16px;
}

/* ---------- trust badges ---------- */

.cbl-home-v2 .v2-badges {
    padding: 70px 0;
    background: var(--v2-light-bg);
    border-top: 1px solid var(--v2-border);
    border-bottom: 1px solid var(--v2-border);
}

.cbl-home-v2 .v2-badge-header {
    text-align: center;
    margin-bottom: 40px;
}

.cbl-home-v2 .v2-badge-header span {
    display: block;
    color: var(--v2-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
}

.cbl-home-v2 .v2-badge-header h2 {
    margin-top: 8px;
}

.cbl-home-v2 .v2-badge-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.cbl-home-v2 .v2-badge-item {
    padding: 24px 18px;
    background: #fff;
    border: 1px solid var(--v2-border);
    border-radius: 12px;
    text-align: center;
}

.cbl-home-v2 .v2-badge-item .v2-badge-icon {
    width: 46px;
    height: 46px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf2ff;
    color: var(--v2-primary);
    font-size: 18px;
    line-height: 1;
}

.cbl-home-v2 .v2-badge-item h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 7px;
}

.cbl-home-v2 .v2-badge-item p {
    font-size: 13px;
}

/* ---------- testimonials ---------- */

.cbl-home-v2 .v2-testimonials {
    background: #fff;
}

.cbl-home-v2 .v2-testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.cbl-home-v2 .v2-testimonial-card {
    padding: 32px;
    border: 1px solid var(--v2-border);
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(20, 40, 80, .05);
}

.cbl-home-v2 .v2-stars {
    color: #f5a623;
    font-size: 17px;
    letter-spacing: 2px;
    margin-bottom: 18px;
}

.cbl-home-v2 .v2-testimonial-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
}

.cbl-home-v2 .v2-testimonial-text {
    min-height: 130px;
    color: var(--v2-text);
    font-size: 16px;
    line-height: 1.7;
}

.cbl-home-v2 .v2-customer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid var(--v2-border);
}

.cbl-home-v2 .v2-customer-avatar {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eaf2ff;
    color: var(--v2-primary);
    font-size: 13px;
    font-weight: 700;
}

.cbl-home-v2 .v2-customer strong {
    display: block;
    font-size: 15px;
    color: var(--v2-dark);
}

.cbl-home-v2 .v2-customer span {
    display: block;
    color: var(--v2-muted);
    font-size: 13px;
    margin-top: 2px;
}

/* ---------- trusted by ---------- */

.cbl-home-v2 .v2-trusted {
    padding: 42px 0;
    background: var(--v2-light-bg);
    border-top: 1px solid var(--v2-border);
    border-bottom: 1px solid var(--v2-border);
}

.cbl-home-v2 .v2-trusted-title {
    margin-bottom: 25px;
    color: var(--v2-muted);
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.cbl-home-v2 .v2-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    align-items: center;
}

.cbl-home-v2 .v2-logo-item {
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cbl-home-v2 .v2-logo-item img {
    max-height: 100%;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .72;
    transition: filter .25s ease, opacity .25s ease;
}

.cbl-home-v2 .v2-logo-item img:hover {
    filter: none;
    opacity: 1;
}

/* ---------- seo content ---------- */

.cbl-home-v2 .v2-seo {
    background: #fff;
}

.cbl-home-v2 .v2-seo-inner {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.cbl-home-v2 .v2-seo h2 {
    text-align: left;
}

.cbl-home-v2 .v2-seo p {
    margin-bottom: 18px;
    font-size: 16px;
}

/* ---------- faq ---------- */

/* The accordion itself is the shared .cbl-faq-* component from
   footer-uppper-commonCOM.css, so there is nothing to style here. This one
   rule hands back the answer colour: the wrapper's own "p" reset above is
   specificity 0,1,1 and outranks the component's 0,1,0. */
.cbl-home-v2 .cbl-faq-item p {
    color: var(--cbl-muted, #5B6675);
}

/* ---------- final cta ---------- */

.cbl-home-v2 .v2-final-cta {
    padding: 50px 20px;
    background: #d0edff9c;
    color: #000;
    text-align: center;
}

/* the headline runs long, so it is held to the same column the section headers
   use rather than stretching the full 1180px container */
.cbl-home-v2 .v2-final-cta h2 {
    max-width: 920px;
    margin: 0 auto 15px;
    color: #000;
    font-size: 30px;
    font-weight: 700;
}

.cbl-home-v2 .v2-final-cta p {
    max-width: 700px;
    margin: 0 auto 27px;
    color: #000;
    font-size: 16px;
}

.cbl-home-v2 .v2-final-cta .v2-btn {
    background: #5dc9ee;
    border-color: #5dc9ee;
    color: #fff;
}

.cbl-home-v2 .v2-final-cta .v2-btn:hover {
    background: #77d4fe;
    border-color: #77d4fe;
    color: #fff;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1000px) {

    .cbl-home-v2 .v2-two-col {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    /* image first on the reversed block so the order stays readable */
    .cbl-home-v2 .v2-two-col-reverse .v2-two-col-img {
        order: -1;
    }

    /* the tile grid halves, the feature cards stack */
    .cbl-home-v2 .v2-style-feature {
        grid-template-columns: minmax(0, 1fr);
    }

    .cbl-home-v2 .v2-style-tiles,
    .cbl-home-v2 .v2-style-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cbl-home-v2 .v2-material-grid,
    .cbl-home-v2 .v2-custom-grid,
    .cbl-home-v2 .v2-industry-grid,
    .cbl-home-v2 .v2-why-grid,
    .cbl-home-v2 .v2-badge-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cbl-home-v2 .v2-testimonial-grid {
        grid-template-columns: 1fr;
    }

    .cbl-home-v2 .v2-logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {

    .cbl-home-v2 .v2-section {
        padding: 55px 0;
    }

    .cbl-home-v2 .v2-section h2,
    .cbl-home-v2 .v2-badges h2 {
        font-size: 30px;
    }

    .cbl-home-v2 .v2-section-header {
        margin-bottom: 32px;
    }

    .cbl-home-v2 .v2-material-grid,
    .cbl-home-v2 .v2-custom-grid,
    .cbl-home-v2 .v2-industry-grid,
    .cbl-home-v2 .v2-process-grid,
    .cbl-home-v2 .v2-why-grid,
    .cbl-home-v2 .v2-badge-grid,
    .cbl-home-v2 .v2-logo-grid {
        grid-template-columns: 1fr;
    }

    .cbl-home-v2 .v2-style-tiles,
    .cbl-home-v2 .v2-style-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cbl-home-v2 .v2-two-col-img img {
        height: 300px;
    }

    .cbl-home-v2 .v2-process-card {
        padding: 28px;
    }

    .cbl-home-v2 .v2-testimonial-card {
        padding: 25px;
    }

    .cbl-home-v2 .v2-testimonial-text {
        min-height: auto;
    }

    .cbl-home-v2 .v2-badges {
        padding: 50px 0;
    }

    .cbl-home-v2 .v2-final-cta {
        padding: 55px 20px;
    }

    .cbl-home-v2 .v2-final-cta h2 {
        font-size: 31px;
    }

    /* every split card stacks: image above, copy below */
    .cbl-home-v2 .v2-feature-card,
    .cbl-home-v2 .v2-tile.is-wide,
    .cbl-home-v2 .v2-bento-item.is-large {
        grid-template-columns: minmax(0, 1fr);
    }

    .cbl-home-v2 .v2-feature-media,
    .cbl-home-v2 .v2-tile.is-wide .v2-tile-media,
    .cbl-home-v2 .v2-bento-item.is-large .v2-bento-media {
        order: -1;
        height: 180px;
        min-height: 0;
    }

    .cbl-home-v2 .v2-style-bento {
        grid-auto-rows: auto;
    }
}

@media (max-width: 575px) {

    .cbl-home-v2 .v2-container {
        width: calc(100% - 32px);
    }

    .cbl-home-v2 .v2-style-tiles,
    .cbl-home-v2 .v2-style-bento {
        grid-template-columns: minmax(0, 1fr);
    }

    /* nothing runs double width once everything is one column */
    .cbl-home-v2 .v2-tile.is-wide,
    .cbl-home-v2 .v2-bento-item.is-large {
        grid-column: auto;
    }

    .cbl-home-v2 .v2-btn {
        width: 100%;
        text-align: center;
    }

    .cbl-home-v2 .v2-final-cta .v2-btn {
        width: auto;
    }
}
