/* ==========================================================================
   Responsive fixes
   Loaded last (inc/responsive.php), after styles.min.css, brand-override.css
   and the inline button styles. Layout only: no colours or content (a few
   heading sizes are reduced where a heading didn't fit its column).
   Before/after: block this file in the browser (DevTools > Network > Block
   request URL) to see the original layout.
   Theme breakpoints: 768 / 834 / 1024 / 1200 / 1440 / 1920 (mobile-first).
   ========================================================================== */

/* ---------- Scroll lock for popups (image lightbox, mobile menu) ----------
   Lightbox2 adds body.lb-disable-scrolling and the mobile menu adds
   body.is-fixed, both setting body{overflow:hidden}. But the theme gives
   <html> overflow-x:clip, and a body overflow only locks the page when html's
   overflow is "visible" - so the lock did nothing: the page scrolled behind
   the open image/menu and the popup scrolled off screen. Lock html instead. */
html:has(> body.lb-disable-scrolling),
html:has(> body.is-fixed) {
    overflow: hidden;
}

/* ---------- Text pages (privacy, terms, refund, blog content: .single-main) ----------
   Long unbreakable words (URLs, e-mails) in the policy lists made items up to
   580px wide on a 375px phone; the overflow was clipped so text was cut off. */
.single-main p,
.single-main li,
.single-main a,
.single-main td,
.single-main th,
.single-main h1, .single-main h2, .single-main h3, .single-main h4 {
    overflow-wrap: anywhere;          /* break long URLs instead of overflowing */
}
.single-main ul > li,
.single-main ol > li {
    min-width: 0;                     /* the lists are flex: let items shrink to the column */
}
.single-main img,
.single-main video {
    max-width: 100%;                  /* never wider than the text column */
    height: auto;
}
.single-main iframe,
.single-main embed,
.single-main object {
    max-width: 100%;
}
.single-main table {
    display: block;                   /* wide tables scroll inside themselves on phones */
    max-width: 100%;
    overflow-x: auto;
}

/* ---------- Hero sections: no inner scrolling (1440px+) ----------
   The theme sets overflow-x:hidden on .hero-section from 1440px. That forces
   overflow-y to "auto", so the home hero (its decorative glow is taller than
   the section) became its own scroll box: the wheel scrolled inside the hero
   and the glow ended in a hard line. clip hides the sideways overflow without
   making a scroll box, so the hero scrolls with the page like any section. */
@media (min-width: 1440px) {
    .hero-section {
        overflow: hidden;             /* fallback for old browsers: still not user-scrollable */
        overflow-x: clip;
        overflow-y: visible;
    }
}

/* ---------- Home hero (.hero-section_ns) ----------
   Below 1440px the theme used the phone layout: a full-width 1200px+ button
   and a hero image as tall as the screen. */
@media (min-width: 834px) {
    .hero-section_ns .container-wide {
        padding: 0 3.2rem;            /* line up with the header (.container uses 3.2rem) */
    }
    .hero-section_ns .hero-section__btngroup {
        text-align: left;             /* button lines up with the left-aligned text */
    }
    .hero-section_ns .hero-section__btngroup .btn {
        width: auto;                  /* normal button, as at 1440 */
    }
}
@media (min-width: 834px) and (max-width: 1023.98px) {
    .hero-section_ns .hero-section__right {
        max-width: 64rem;             /* keep the stacked image from filling the screen */
        margin: 4rem auto 0;
    }
}
@media (min-width: 1024px) and (max-width: 1439.98px) {
    /* Text left, image right, as at 1440. */
    .hero-section_ns .hero-section__col {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    .hero-section_ns .hero-section__left {
        width: 52%;
        min-width: 0;
        flex-shrink: 0;
    }
    .hero-section_ns .hero-section__right {
        width: 48%;
    }
    .hero-section_ns .page-title {
        font-size: 5.6rem;            /* 64px heading would not fit half the width */
    }
}
@media (min-width: 1440px) and (max-width: 1919.98px) {
    .hero-section_ns .page-title {
        font-size: 6.6rem;            /* 72px "Design Without Limits" ran into the hero image */
    }
}

/* ---------- Service page hero (.hero-section_capability) ----------
   834-1439px: centred text sat in a 692px box pinned to the left (empty right
   half) and the image was pushed below the fold. */
@media (min-width: 834px) and (max-width: 1023.98px) {
    .hero-section.hero-section_capability .hero-section__col {
        align-items: center;          /* centre the 692px text box on the page */
    }
}
@media (min-width: 1024px) and (max-width: 1439.98px) {
    /* Text left, image right, as at 1440. */
    .hero-section.hero-section_capability .hero-section__col {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 3.2rem;
    }
    .hero-section.hero-section_capability .hero-section__left {
        width: 50%;
        min-width: 0;
        flex-shrink: 0;
        padding-right: 0;
    }
    .hero-section.hero-section_capability .hero-section__right {
        width: 50%;
    }
    .hero-section.hero-section_capability .breadcrumbs {
        justify-content: flex-start;
        max-width: 100%;
    }
    .hero-section.hero-section_capability .page-title,
    .hero-section.hero-section_capability .hero-section__txt {
        text-align: left;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .hero-section.hero-section_capability .page-title {
        font-size: 5.2rem;            /* 64px titles wrap word-by-word in half the width */
    }
    .hero-section.hero-section_capability .hero-section__btngroup {
        text-align: left;
    }
}

/* ---------- Award logos under hero (.hero-partners, pricing/services) ----------
   834-1439px: 2x2 grid with no row gap, so the two logo rows touched and
   looked stacked on top of each other. */
@media (min-width: 834px) and (max-width: 1023.98px) {
    main:not(.hire-page):not(.ads-page) .hero-partners {
        row-gap: 3.2rem;              /* space between the two logo rows */
    }
}
@media (min-width: 1024px) and (max-width: 1439.98px) {
    main:not(.hire-page):not(.ads-page) .hero-partners {
        grid-template-columns: repeat(4, 1fr);  /* all four logos in one row */
    }
    main:not(.hire-page):not(.ads-page) .hero-partners__item:nth-child(2) {
        border-right: 2px solid rgba(131, 141, 167, .2);  /* divider the 2-col layout removed */
    }
    main:not(.hire-page):not(.ads-page) .hero-partners__item:nth-child(4) {
        border-right: none;
    }
}

/* ---------- Pricing "Compare our plans" list (.design-include) ----------
   Phones: every feature name was cut to one line ("Displa...", "Banne...") so
   the list was unreadable. Let names wrap instead. */
@media (max-width: 833.98px) {
    .design-include__item {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);  /* 2 equal columns that can't overflow */
        column-gap: 1.2rem;
    }
    .design-include__name {
        align-items: flex-start;      /* tick stays on the first line of a wrapped name */
    }
    .design-include__name > span:first-of-type {
        flex: 1 1 auto;               /* the name takes all space next to the tick */
        min-width: 0;
        white-space: normal;          /* was nowrap + ellipsis */
        overflow: visible;
        text-overflow: clip;
        overflow-wrap: break-word;
    }
    .design-include__name > span.safari-wrapping-fix {
        display: none;                /* empty helper span was taking half the width */
    }
}

/* ---------- Before & After slider (.result-compare, PowerPoint Design) ----------
   The slider had fixed sizes (311px / 770px / 1200px / 1400px), so between
   those steps it was much smaller than the screen (e.g. 311px on a 768px
   tablet). Now it fills the content width at every size, keeps the image's
   1400x619 shape, and never grows past the original desktop sizes. */
.result-compare .sl-container {
    container-type: inline-size;      /* lets the images size to the slider (100cqw) */
    width: 100%;
    max-width: 140rem;                /* 1920px+ size */
    height: auto;
    aspect-ratio: 1400 / 619;
}
@media (max-width: 1919.98px) {
    .result-compare .sl-container {
        max-width: 120rem;            /* 1440px size */
    }
}
.result-compare .sl-container .view {
    height: 100%;
}
.result-compare .sl-container .view img {
    width: 100cqw;                    /* both images exactly as wide as the slider, */
    max-width: none;                  /* so the "after" view lines up when clipped */
    height: 100%;
    object-fit: cover;
}

/* ---------- Why section (home: Flexibility / Speed / Organization) ----------
   The theme puts title+image and the list side by side only from 1440px, so on
   1200-1439px screens the list sat under the image with the right half of the
   card empty. Start the same two-column layout at 1200px, slightly narrower. */
@media (min-width: 1200px) and (max-width: 1439.98px) {
    .why-section__item {
        flex-direction: row;          /* title+image left, list right (as at 1440) */
        align-items: stretch;
        justify-content: space-between;
        padding: 6.4rem;              /* a bit less than 8rem so both columns fit */
    }
    .why-section__info {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
        width: 44rem;                 /* 1440 uses 51.4rem */
        flex-shrink: 0;
    }
    .why-section__txt {
        width: auto;
        flex: 1 1 0;                  /* list takes the remaining width */
        padding-left: 5.6rem;
        gap: 2.4rem;
        justify-content: center;      /* list vertically centred, as at 1440 */
    }
    .why-section__info .section-title {
        font-size: 4rem;              /* 48px "and Professionalism" is wider than the 440px column */
    }
    .why-section__img img {
        max-width: 100%;
        height: auto;
    }
}

/* ---------- Blog list cards (/blog/, .blog-section #manage-ajax-response) ----------
   The title sat directly on the image, title and date were indented 8px from
   the image edge, the date line was heavy and was cut off ("08 Oct…") in the
   three narrow columns used from 769px. Now: a real grid (1 / 2 / 3 columns),
   images in a fixed 16:10 shape, a clear gap under the image, text aligned
   with the image, and a lighter date line that never cuts off. */
.blog-section #manage-ajax-response {
    display: grid;
    grid-template-columns: 1fr;       /* phones: one card per row */
    gap: 4rem 2.4rem;                 /* rows / columns */
    margin: 0;
}
@media (min-width: 600px) {
    .blog-section #manage-ajax-response {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (min-width: 1024px) {
    .blog-section #manage-ajax-response {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 4.8rem 3.2rem;
    }
}
.blog-section #manage-ajax-response > * {
    grid-column: 1 / -1;              /* pagination, "no posts" messages: full width */
}
.blog-section #manage-ajax-response > article.caf-post-layout1 {
    grid-column: auto;                /* cards fill one grid cell each */
    flex: none;                       /* cancel the plugin's 33% / 100% columns */
    max-width: none;
    width: auto;
    padding: 0;
    margin: 0 !important;
}
.blog-section #manage-ajax-response #manage-post-area {
    padding-top: 0;
}
.blog-section #manage-ajax-response #manage-post-area > a:first-child {
    margin-bottom: 1.6rem;            /* space between image and title */
}
.blog-section #manage-ajax-response .caf-featured-img-box {
    height: auto;
    aspect-ratio: 16 / 10;            /* same shape at every width (was a fixed 181/218px height) */
    border-radius: 1.2rem;
}
.blog-section #manage-ajax-response .caf-featured-img-box img {
    transition: transform .4s ease;
}
.blog-section #manage-ajax-response #manage-post-area > a:first-child:hover img {
    transform: scale(1.04);           /* gentle zoom, like the other blog lists */
}
.blog-section #manage-ajax-response .caf-post-title {
    padding: 0;                       /* aligned with the image edge */
    margin: 0 0 1rem;
    width: 100%;
}
.blog-section #manage-ajax-response .caf-post-title h2 a {
    font-size: 2rem;
    line-height: 1.3;
    display: -webkit-box;             /* long titles: max 3 lines, so cards stay even */
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (min-width: 1440px) {
    .blog-section #manage-ajax-response .caf-post-title h2 a {
        font-size: 2.2rem;
    }
}
.blog-section #manage-ajax-response .caf-meta-content {
    padding: 0;
    gap: .4rem 1.2rem;
    flex-wrap: wrap;                  /* date and read time wrap as a pair, never cut off */
}
.blog-section #manage-ajax-response .date,
.blog-section #manage-ajax-response .read-time {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
}
.blog-section #manage-ajax-response .read-time {
    padding-left: 2.2rem;
    background-size: 1.6rem;
}

/* ---------- About: "The Rise of Digital Dot" cards (.story-section) ----------
   Below 834px the cards were a fixed 581px-wide grid in a sideways-scrolling
   box (cut off on phones), and at every width the cards had a fixed height,
   so their text spilled out below the card. Now a grid that fits the screen:
   1 column on phones, 2 on tablets (picture cards full width), the original
   60/40 checkerboard from 1024px; cards grow with their text. */
.story-section__box {
    overflow: visible;                /* no sideways scrolling */
}
.story-section__list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
    width: 100%;
}
.story-section__item,
.story-section__item-img {
    width: auto;
    min-width: 0;
    height: auto;                     /* was a fixed 280px / 264px */
    padding: 2.4rem;
    gap: 2rem;
}
.story-section__item-img {
    padding: 0;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;                 /* the illustration's glow stays inside the rounded card */
}
.story-section__item-img .story-section__info {
    width: auto;
    flex: 1 1 55%;
    min-width: 0;
    padding: 2.4rem 0 2.4rem 2.4rem;
}
.story-section__img {
    flex: 0 0 42%;
    width: auto;
    min-width: 0;
    display: flex;
    align-items: flex-end;            /* illustration stands on the card's bottom edge */
    justify-content: flex-end;
}
.story-section__img img {
    width: 100%;
    max-width: 23.4rem;
    height: auto;
}
.story-section__txt {
    font-size: 1.4rem;
}
@media (min-width: 600px) {
    .story-section__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem;
    }
    .story-section__item-img {
        grid-column: 1 / -1;          /* picture cards full width, number cards side by side */
    }
    /* Same order as on desktop: globe, 700+ | 100+, trophy. */
    .story-section__item:nth-child(1) { order: 1; }
    .story-section__item:nth-child(2) { order: 2; }
    .story-section__item:nth-child(3) { order: 3; }
    .story-section__item:nth-child(4) { order: 4; }
    .story-section__img {
        flex-basis: 23.4rem;
    }
}
@media (min-width: 834px) {
    .story-section__item {
        padding: 3rem;
    }
    .story-section__item-img {
        padding: 0;
    }
    .story-section__item-img .story-section__info {
        padding: 3rem 0 3rem 3rem;
    }
    .story-section__txt {
        font-size: 1.6rem;
    }
}
@media (min-width: 1024px) {
    .story-section__list {
        grid-template-columns: repeat(10, minmax(0, 1fr));
        gap: 2.4rem;
    }
    .story-section__item {
        grid-column: span 4;          /* number cards 40% */
        min-height: 26.4rem;          /* the original card height, now a minimum */
    }
    .story-section__item-img {
        grid-column: span 6;          /* picture cards 60% */
    }
}

/* ---------- Book a Call: space between the heading and the Calendly card ----------
   The card sat directly under "Book a call with our team" (0px gap). */
.hero-section .page-title + .contact-form__call {
    margin-top: 3.2rem;
}
@media (min-width: 834px) {
    .hero-section .page-title + .contact-form__call {
        margin-top: 4.8rem;
    }
}

/* ---------- Month switch (1 / 3 / 6 months): sliding highlight ----------
   assets/js/price-switch.js adds .price-sale__pill and .has-pill; the yellow
   highlight then slides to the chosen option instead of jumping. */
.price-sale {
    position: relative;               /* the highlight is positioned inside the switch */
}
.price-sale__pill {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    border-radius: 5rem;
    background: #ffca41;              /* same yellow as the active option */
    box-shadow: 0 4px 14px -6px rgba(201, 140, 0, 0.55);
    pointer-events: none;
    transition: transform .4s cubic-bezier(.34, 1.3, .64, 1), width .4s cubic-bezier(.34, 1.3, .64, 1), height .3s ease, opacity .2s ease;
}
.price-sale.has-pill .price-sale__item,
.price-sale.has-pill .price-sale__item.active {
    position: relative;
    z-index: 1;                       /* labels above the highlight */
    /* background: transparent; */
}
@media (prefers-reduced-motion: reduce) {
    .price-sale__pill {
        transition: none;
    }
}

/* ---------- Header menus: no accidental text selection ----------
   A quick double-tap / double-click on the menu button selected the menu
   words (shown in the device's highlight colour, e.g. orange boxes). Menu
   text never needs selecting; links keep working normally. */
.btn-menu,
.menu-mobile,
.header-menu {
    -webkit-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* ---------- Plan cards with badges (Pricing, Hire Designers: "Visual",
   "Creative Suite", "Popular", "Build") ----------
   The badges sit half above each card (top:-2.1rem), but stacked cards were
   only 1.6rem apart, so every badge overlapped the card above it. Leave room
   for the badge above every card, at every width (also when cards wrap). */
.price-section_ns .price-section__list {
    row-gap: 5.6rem;                  /* 16px gap + room for the 42px-tall badge */
    padding-top: 2.4rem;              /* first card's badge is not clipped by the switch above */
}
.price-section_ns .price-item_labels {
    gap: .8rem;                       /* two badges side by side, close together */
    flex-wrap: wrap;
    padding: 0 1.6rem;
}
.price-section_ns .price-item_labels .price-item_creative,
.price-section_ns .price-item_labels .price-item_popular {
    margin: 0;
    white-space: nowrap;
}

/* ---------- Review card ("Award-Winning Design Agency", Marketing Design) ----------
   The card is "flex: 1 1 803px" (its width beside the award badges on
   desktop). Below 1025px the section stacks, so those 803px became the card's
   HEIGHT and short quotes left a large empty gap. Size it to its content, and
   keep room for the longest of the rotating quotes so the page does not jump
   every 4 seconds when the next review slides in. */
@media (max-width: 1024px) {
    .awards__body > .review {
        flex: 0 0 auto;
    }
    .awards__body > .review .review__quote {
        flex: 0 0 auto;
    }
    .awards__body > .review .review__quote p {
        min-height: 3lh;                  /* longest quote: 3 lines on tablets */
        min-height: 90px;
    }
}
@media (max-width: 640px) {
    .awards__body > .review .review__quote p {
        min-height: 4lh;                  /* phones 414px+: 4 lines of 28px */
        min-height: 112px;
    }
}
@media (max-width: 413.98px) {
    .awards__body > .review .review__quote p {
        min-height: 140px;                /* 375px phones: 5 lines */
    }
}
@media (max-width: 374.98px) {
    .awards__body > .review .review__quote p {
        min-height: 168px;                /* 320px phones: 6 lines */
    }
}

/* ---------- Image popup (Lightbox, Portfolio and other galleries) on phones/tablets ----------
   Below 834px the image ran edge to edge, the box was placed with a scroll
   offset (not centred) and the arrows sat half outside the screen. Now: a
   centred full-screen layer, 16px side margins, rounded image that always fits
   the screen height, arrows inside the screen under the image. */
@media (max-width: 833.98px) {
    .lightboxOverlay {
        position: fixed !important;
        inset: 0;
        width: 100% !important;
        height: 100% !important;
    }
    .lightbox {
        position: fixed !important;
        inset: 0;
        top: 0 !important;
        left: 0 !important;
        height: 100%;
        padding: 80px 16px 32px;      /* room for the close button above */
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
    }
    .lightbox .lb-outerContainer {
        width: 100% !important;       /* the script sets a fixed pixel size */
        height: auto !important;
        max-width: 100%;
    }
    .lightbox .lb-container {
        width: 100%;
        height: auto;
        padding: 0;
        background: transparent;      /* no dark strip behind the arrows */
        border-radius: 0;
    }
    .lightbox .lb-image {
        width: 100% !important;
        height: auto !important;
        max-height: calc(100vh - 220px);
        max-height: calc(100dvh - 220px);
        object-fit: contain;
        border-radius: 16px;
    }
    .lightbox .lb-nav {
        position: relative;
        margin-top: 24px;
    }
    .lightbox .lb-nav a.lb-prev {
        left: 10px;                   /* the 7px yellow ring stays on screen */
    }
    .lightbox .lb-nav a.lb-next {
        right: 10px;
    }
    .lb-closeContainer {
        top: 16px;
        right: 16px;
    }
}

/* ---------- Scroll-reveal animations ("wow") on phones and tablets ----------
   Content stayed invisible until it was 100-230px into the screen and then
   faded in over 1-1.3s, so a normal swipe passed half a section before it
   appeared. As WOW.js itself recommends (its "mobile: false" option), the
   reveal is switched off on touch-size screens and for "reduce motion": the
   content is simply there. Desktop keeps the animations. */
@media (max-width: 1024px) {
    .wow,
    .wow.animated {
        visibility: visible !important;
        animation: none !important;
        opacity: 1 !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .wow,
    .wow.animated {
        visibility: visible !important;
        animation: none !important;
        opacity: 1 !important;
    }
}

/* ---------- Month switch (1 / 3 / 6 months, .price-sale): sleeker ----------
   Slimmer pill: tighter padding, smaller type, hairline border and a soft
   shadow; "10% off" as a small accent line; the sliding highlight (see the
   section above) a softer yellow gradient. Same everywhere it appears. */
.price-sale {
    padding: .4rem;
    border: 1px solid rgba(6, 55, 113, 0.08);
    background: #ffffff;
    box-shadow: 0 6px 20px -12px rgba(6, 55, 113, 0.25);
    gap: .2rem;
}
.price-sale .price-sale__item {
    padding: .7rem 1.6rem;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.25;
    color: #1d2433;
    border-radius: 5rem;
    min-height: 4.6rem;
}
.price-sale .price-sale__label {
    margin-top: .1rem;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: .02em;
    color: #B4441F;                   /* brand orange, readable on white and yellow */
}
.price-sale__pill {
    background: linear-gradient(94deg, #FFCA41 7%, #FFD873 100%);
    box-shadow: 0 4px 12px -6px rgba(201, 140, 0, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}
@media (min-width: 834px) {
    .price-sale .price-sale__item {
        padding: .8rem 2.4rem;
        font-size: 1.6rem;
        min-height: 5rem;
    }
    .price-sale .price-sale__label {
        font-size: 1.2rem;
    }
}
@media (min-width: 1440px) {
    .price-section_cta .price-sale .price-sale__item {
        padding: .7rem 2.2rem;        /* the switch in the plan card's notch */
    }
}

/* ---------- "Compare our plans" plan tabs (.design-include__nav): same sleek
   pill as the month switch, with the sliding highlight (price-switch.js). */
.design-include .design-include__nav {
    position: relative;
    padding: .4rem;
    border: 1px solid rgba(6, 55, 113, 0.08);
    box-shadow: 0 10px 28px -16px rgba(122, 52, 20, 0.45);
    gap: .2rem;
}
.design-include .design-include__btn {
    padding: .9rem 1.8rem;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.25;
    color: #1d2433;
    border-radius: 5rem;
    position: relative;
    z-index: 1;
}
.design-include .design-include__nav.has-pill .design-include__btn,
.design-include .design-include__nav.has-pill .design-include__btn.active {
    background: transparent;
}
.design-include .design-include__price {
    display: block;
    margin-top: .2rem;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: .02em;
    color: #B4441F;                   /* same accent as the month switch */
}
@media (max-width: 833.98px) {
    .design-include .design-include__nav {
        border-radius: 2.4rem;
    }
    .design-include .design-include__btn > span {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1.2rem;
    }
    .design-include .design-include__price {
        margin-top: 0;
        white-space: nowrap;
    }
}
@media (min-width: 834px) {
    .design-include .design-include__nav {
        margin-bottom: 3.2rem;
    }
    .design-include .design-include__btn {
        font-size: 1.6rem;
        padding: 1rem 2.4rem;
    }
}
.design-include__nav .price-sale__pill {
    border-radius: 5rem;
}
@media (max-width: 833.98px) {
    .design-include__nav .price-sale__pill {
        border-radius: 2rem;
    }
}
/* The highlight element is the nav's first child, so the theme's
   ":nth-child(2)" (wider middle tab) hit the first tab. Same widths, by type. */
@media (min-width: 834px) {
    .design-include .design-include__nav .design-include__btn {
        width: 28%;
    }
    .design-include .design-include__nav .design-include__btn:nth-of-type(2) {
        width: 44%;
    }
}
@media (min-width: 1920px) {
    .design-include .design-include__nav .design-include__btn {
        width: 30%;
    }
    .design-include .design-include__nav .design-include__btn:nth-of-type(2) {
        width: 40%;
    }
}

/* Speed on phones: the portfolio grid (~1,300 elements, 250 images) and the
   review slider (~600 elements) are far below the first screen. The browser
   now skips drawing them until they come near the screen, which removes most
   of the work that made pages feel stuck while opening. Looks the same; the
   reserved height keeps the scrollbar steady and is replaced by the real
   height once the section has been shown. */
.portfolio-mini,
.review-slider {
    content-visibility: auto;
    contain-intrinsic-size: auto 1500px;
}
.review-slider {
    contain-intrinsic-size: auto 800px;
}
/* Capabilities mega menu (computers): the panel had a fixed height (52.1rem) that fits 9 links per
   column, and the "All services" button is pinned 3rem from its bottom, so with more links (20 now)
   the last row ended up under the button. The panel now grows with its links and keeps room for the
   button; with 18 links or fewer it looks the same as before (52.1rem minimum). The Contact card
   stretches with the panel (its height is a percentage of it). */
@media (min-width: 1440px) {
    .main__menu .menu-item-10315 .sub-menu {
        height: auto;
        min-height: 52.1rem;
        padding-bottom: 11rem;
    }
}

/* Capabilities mega menu → Contact card button: brand orange with white text and arrow on every page.
   brand-override.css already does this, but many page layouts don't load that file, so the theme's
   original yellow button showed there. (The "Know what you want…" line above the button is the link's
   :before; the theme gives it its own colour, so the white text here doesn't reach it.) */
.main__menu .menu-item-10315 #menu-item-11312>a,
.main__menu .menu-item-10315 .sub-menu>li:last-child>a,
.main__menu .menu-item-10315 .sub-menu>li.dd-mega-cta>a {
    background: #DC5930;
    color: #ffffff;
}

.main__menu .menu-item-10315 #menu-item-11312>a.active,
.main__menu .menu-item-10315 #menu-item-11312>a:focus,
.main__menu .menu-item-10315 #menu-item-11312>a:hover,
.main__menu .menu-item-10315 .sub-menu>li:last-child>a.active,
.main__menu .menu-item-10315 .sub-menu>li:last-child>a:focus,
.main__menu .menu-item-10315 .sub-menu>li:last-child>a:hover,
.main__menu .menu-item-10315 .sub-menu>li.dd-mega-cta>a:hover {
    background: #b8461f;
    color: #ffffff;
    box-shadow: 0 0 0 11px rgba(220, 89, 48, 0.2);
}

.main__menu .menu-item-10315 #menu-item-11312>a:after,
.main__menu .menu-item-10315 .sub-menu>li:last-child>a:after {
    filter: brightness(0) invert(1); /* The theme's dark arrow picture, shown white. */
}

/* "Proven process" steps (.process-grid), computers: the number had 22% of the row (~300px for "01"),
   leaving a big gap before the step. Now a narrow number column and the text takes the rest; the
   number sits on the same line as the step's title. */
@media (min-width: 1440px) {
    .process-grid__item {
        align-items: baseline;
        gap: 2.4rem;
    }

    .process-grid__number {
        flex: 0 0 6.4rem;
        width: 6.4rem;
    }

    .process-grid__head {
        flex: 1 1 auto;
        width: auto;
        padding-left: 0;
    }
}

/* "Proven process" header, computers: the intro text sat far to the right of the heading; now it
   is directly under the heading, left-aligned with it and with the step numbers. */
@media (min-width: 1440px) {
    .process-grid__info {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 2rem;
    }

    .process-grid .section-txt {
        max-width: 72rem;
    }
}

/* 2026-11-01: cta-services ("Why choose …") — fill the full width instead of a
   left-pinned narrow column that leaves the right half empty. */
.cta-services .cta-services__txt {
    max-width: none;
}

/* 2026-11-01: always-section capability cards — equal height, no staggered
   up/down offset. Removes the base stair-step margins so every card lines up. */
.always-section__list .always-section__item {
    margin-top: 0;
    margin-bottom: 0;
}
@media (min-width: 834px) {
    .always-section__list {
        -webkit-align-items: stretch;
        -ms-flex-align: stretch;
        align-items: stretch;
    }
}

/* 2026-11-02: the overscroll / "bounce" area showed white because <html> has no
   background and the theme's overflow-x:clip on <html> stops the body's cream
   from propagating to the canvas. Set the root background so the bounce matches
   the header. Background only — scrolling is untouched. */
html { background-color: #fef9ef; }

/* 2026-11-02: stop the rubber-band bounce that reveals a band above the fixed
   header on overscroll. Tested headless: window scrolling (0→1500, 9245px tall)
   is unaffected by this; it only removes the elastic over-pull at the edges.
   The html background above is the fallback colour if a browser ignores this. */
html { overscroll-behavior-y: none; }

/* 2026-11-02: single case study "Your project could be next" CTA — centre the
   button (the column aligns its items to the left by default). */
.bigcta-section__2col .bigcta-section__column {
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

/* 2026-11-02: on a case study with a dark hero, the header nav text was dark/grey
   and unreadable on the navy. The theme's own white-nav rule never matches (it
   needs .header inside .case-top_dark, but the header sits outside it), so key off
   the dark hero being anywhere on the page. White only while the header is
   transparent over the hero; once scrolled it turns cream and the text is dark again. */
body:has(.case-top_dark) .header:not(.is-scrolled) .main__menu > li > a,
body:has(.case-top_dark) .header:not(.is-scrolled) .main__menu > li > a span {
    color: #fff !important;
}

/* 2026-11-02: "Your project could be next" CTA button — keep it centred at all
   widths. A page-level rule (…-page .cta-section__btngroup{justify-content:flex-start})
   pins it left at >=1440, so force the centre here. */
.cta-section .cta-section__btngroup {
    -webkit-justify-content: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 2026-11-02: No-Code hero — on desktop fill the viewport so the next section's
   heading is not visible without scrolling, content vertically centred. On mobile
   this is skipped so the hero keeps its natural height (no big empty gap). */
@media (min-width: 834px) {
    .nocode-page .hero-section_price {
        min-height: 100vh;
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-justify-content: center;
        justify-content: center;
    }
}

/* 2026-11-27: Restore the /services/ FAQ accordion and match the single-service
   FAQ controls. The previous override forced answers open and hid both icon bars. */
.services-page .faq-section .section-title {
    text-align: left;
    margin-bottom: 1rem;
}
.services-page .faq-section .container { max-width: 100%; }
@media (min-width: 1440px) {
    .services-page .faq-section .container { max-width: 1240px; }
}
@media (min-width: 1920px) {
    .services-page .faq-section .container { max-width: 1480px; }
}
/* Match the first FAQ row's top spacing to the other FAQ rows. */
.services-page .faq-section .faq-section__item:first-child .faq-btn {
    padding-top: 2.4rem;
}
.services-page .faq-section .faq-btn {
    /* Keep the existing FAQ icon supplied by Appearance → Customize → Icons.
       The background image belongs on the left; the +/- indicator is drawn
       independently with the right-side pseudo-elements below. */
    padding: 2rem 5.6rem 2rem 5rem;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 3.2rem;
    cursor: pointer;
}
.services-page .faq-section .faq-btn::after,
.services-page .faq-section .faq-btn::before {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    width: 2.4rem;
    height: 2.4rem;
    margin-top: -1.2rem;
    margin-left: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    box-shadow: none;
    transform: none;
    filter: none;
    background-color: rgba(6, 55, 113, 0.08);
    background-repeat: no-repeat;
    background-position: center;
    transition: background-color .3s ease, opacity .3s ease;
    z-index: 1;
}
.services-page .faq-section .faq-btn::after {
    background-image: linear-gradient(var(--brand-navy, #063771), var(--brand-navy, #063771));
    background-size: 1.2rem .2rem;
}
.services-page .faq-section .faq-btn::before {
    background-image: linear-gradient(var(--brand-navy, #063771), var(--brand-navy, #063771));
    background-size: .2rem 1.2rem;
    z-index: 2;
}
.services-page .faq-section .faq-section__item.active .faq-btn::before { opacity: 0; }
.services-page .faq-section .faq-section__item.active .faq-btn::after,
.services-page .faq-section .faq-section__item.active .faq-btn::before {
    background-color: rgba(220, 89, 48, 0.12);
}
.services-page .faq-section .faq-section__item.active .faq-btn::after {
    background-image: linear-gradient(var(--brand-orange, #DC5930), var(--brand-orange, #DC5930));
    background-size: 1.2rem .2rem;
    background-position: center;
    background-repeat: no-repeat;
}
.services-page .faq-section .faq-section__answer {
    max-height: 0;
    overflow: hidden;
}
.services-page .faq-section .faq-section__answer-inner { padding: 0; }
.services-page .faq-section .faq-section__item {
    border-bottom: 1px solid rgba(6, 55, 113, .1);
}

/* 2026-11-02: mobile footer Contact Us — stack the email/phone details under the
   heading (left-aligned) instead of cramming them to the right of it. */
@media (max-width: 833px) {
    .page-footer__item-contact {
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: flex-start;
        align-items: flex-start;
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
        gap: 1.4rem;
    }
    .page-footer__contact-info {
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: flex-start;
        align-items: flex-start;
        text-align: left;
        gap: 1rem;
    }
    .page-footer__contact-list,
    .page-footer__contact-list a { text-align: left; }
}

/* 2026-11-02: No-Code hero platform logos on mobile — one row, icons only
   (hide the labels). Desktop is unchanged. */
@media (max-width: 833px) {
    .nocode-page .hero-advantages {
        -webkit-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-align-items: center;
        align-items: center;
        gap: 3.6rem;
        padding-top: 4rem;
    }
    .nocode-page .hero-advantages__item {
        width: auto;
        -webkit-justify-content: center;
        justify-content: center;
    }
    .nocode-page .hero-advantages__name { display: none; }
}

/* 2026-11-23: Capabilities mega menu ("Design and Development") — real columns
   with a heading each, instead of the flat CSS text-columns.
   The walker (DD_Menu_Walker) now renders each mega-menu child that has links of
   its own as <li class="dd-mega-col"> containing a heading (.dd-mega-col__title)
   and a plain <ul class="dd-mega-col__links"> of those links, and marks the panel
   <ul> with .dd-mega-cols. Only panels that actually use columns get this class,
   so any other mega menu keeps its original look. The white button (2nd-to-last
   child) and the CTA card (last child) are untouched: they stay absolutely
   positioned by the theme CSS, so only the link columns switch to the new layout.
   The panel keeps the theme's reserved right padding (36.8rem) for the Contact
   card, and its height grows with its links (see the rule above). */
.main__menu .menu-item-10315 .sub-menu .dd-mega-col__title {
    padding: 1.1rem 1.1rem 1.6rem;
    margin: 0 0 .4rem;
    color: #161b26;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
}
.main__menu .menu-item-10315 .sub-menu .dd-mega-col__links {
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (min-width: 1440px) {
    /* Only while the Capabilities item is open (.open). Unscoped, this display:flex
       overrode the theme's ".sub-menu{display:none}", leaving the panel in the layout
       (invisible but hoverable) so its whole area re-opened the menu. */
    .main__menu li.open .sub-menu.dd-mega-cols {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        flex-direction: row;
        -webkit-align-items: flex-start;
        align-items: flex-start;
        -webkit-column-count: auto;
        column-count: auto;             /* real columns instead of CSS text flow */
        -moz-column-count: auto;
        column-gap: 3rem;
        row-gap: 0;
    }
    .main__menu .menu-item-10315 .sub-menu.dd-mega-cols > li.dd-mega-col {
        -webkit-flex: 1 1 0;
        flex: 1 1 0;
        min-width: 0;                   /* let the columns share the row evenly */
        position: static;               /* not absolutely positioned (unlike the card) */
        padding: 0;
        margin: 0;
    }
    .main__menu .menu-item-10315 .sub-menu.dd-mega-cols > li.dd-mega-col .dd-mega-col__links {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: flex-start;
        align-items: flex-start;
        gap: 0;
    }

    /* Contact card ("Contact Us" + text + button): the card is as tall as the
       panel and its background image sits at the top (padding-top reserves that
       space). Now that the panel grew with the column links, its content was
       floating in the middle. Make the card a flex column and push the heading
       and button to the bottom, so they sit just above the card's bottom edge. */
    .main__menu .menu-item-10315 .sub-menu > li:last-child,
    .main__menu .menu-item-10315 .sub-menu > li.dd-mega-cta {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-justify-content: flex-end;
        justify-content: flex-end;
    }
}

/* 2026-11-23: FAQ +/- icon on the service pages (.capability-page = the shared
   single-service template). The theme hides the icon on capability pages
   (".capability-page .faq-section .faq-btn:before/:after{display:none}"), so the
   questions had no expand indicator. Re-enable the two pseudo-elements and draw
   a brand-coloured +/−: a navy-tinted circle with a navy plus, turning into an
   orange-tinted circle with an orange minus while the item is open. Colours come
   from the brand palette in brand-override.css (via the CSS variables). Scoped to
   .capability-page so every other FAQ (home/about, which already shows the
   theme's own icon) is untouched, and it never applies to .services-page. */
.capability-page .faq-section .faq-btn::after,
.capability-page .faq-section .faq-btn::before {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    width: 2.4rem;
    height: 2.4rem;
    margin-top: -1.2rem;
    margin-left: 0;
    padding: 0;
    border: none;
    border-radius: 50%;
    box-shadow: none;               /* the theme's base icon had a yellow ring */
    transform: none;                /* don't rotate/flip on hover like the theme icon */
    filter: none;
    background-color: rgba(6, 55, 113, 0.08);   /* brand-navy tint */
    background-repeat: no-repeat;
    background-position: center;
    -webkit-transition: background-color .3s ease, opacity .3s ease;
    transition: background-color .3s ease, opacity .3s ease;
    z-index: 1;
}
/* the capability-page button had padding-right:0, so long questions would run
   under the icon; keep clear room on the right for it. */
.capability-page .faq-section .faq-btn {
    padding-right: 5.6rem;
}
/* horizontal bar (the "minus" line) on ::after */
.capability-page .faq-section .faq-btn::after {
    background-image: linear-gradient(var(--brand-navy, #063771), var(--brand-navy, #063771));
    background-size: 1.2rem 0.2rem;
}
/* vertical bar (makes it a "plus") on ::before, on top */
.capability-page .faq-section .faq-btn::before {
    background-image: linear-gradient(var(--brand-navy, #063771), var(--brand-navy, #063771));
    background-size: 0.2rem 1.2rem;
    z-index: 2;
}
/* open: drop the vertical bar -> minus, and switch to the orange accent.
   (Extra .faq-section in the selector so it outranks brand-override.css's own
   active-icon rule, which loads after this file. That rule uses the "background"
   shorthand, which resets background-size/position/repeat, so every background
   sub-property is restated here at this higher specificity — otherwise the bar
   gradient would size to "auto" and fill the whole circle as a solid orange.) */
.capability-page .faq-section .faq-section__item.active .faq-btn::before {
    opacity: 0;
}
.capability-page .faq-section .faq-section__item.active .faq-btn::after,
.capability-page .faq-section .faq-section__item.active .faq-btn::before {
    background-color: rgba(220, 89, 48, 0.12);  /* brand-orange tint */
}
.capability-page .faq-section .faq-section__item.active .faq-btn::after {
    background-image: linear-gradient(var(--brand-orange, #DC5930), var(--brand-orange, #DC5930));
    background-size: 1.2rem 0.2rem;
    background-position: center;
    background-repeat: no-repeat;
}
