/* =========================================================================
   Divine Discover - group site styles

   Layered on top of the vendor theme. The design language deliberately
   follows the theme rather than replacing it: brand gold is the only accent,
   cards are borderless with the theme's soft wide shadow and generous radius,
   headings sit on near-black, and section heads use the theme's gold
   uppercase eyebrow.
   ========================================================================= */

:root {
    /* Brand - gold is the single accent. No secondary hues anywhere.
     *
     * Gold is a light colour (relative luminance .55), so it has two jobs and
     * they must not be swapped:
     *   --dd-gold       FILL only. Text sitting on it is --dd-ink (11.3:1).
     *                   White on this gold is 1.75:1 and unreadable.
     *   --dd-gold-deep  Gold as TEXT on a light background. Darkened to reach
     *                   WCAG AA: 4.9:1 on white. The old #c9a227 was 2.4:1.
     */
    --dd-gold:       #e5c13b;
    --dd-gold-hover: #d4ae26;
    --dd-gold-deep:  #8a6d10;
    --dd-gold-dark:  #a8871c;
    --dd-gold-soft:  rgba(229, 193, 59, .14);
    --dd-gold-line:  rgba(229, 193, 59, .38);

    --dd-ink:        #0a0a0a;
    --dd-ink-2:      #10141c;
    --dd-text:       #17171a;
    --dd-muted:      #6b7280;
    --dd-line:       #ecebe4;
    --dd-surface:    #ffffff;
    --dd-surface-2:  #faf8f2;   /* warm off-white, echoes the gold */

    --dd-radius:     20px;
    --dd-radius-lg:  30px;
    --dd-shadow:     0 0 44px -18px rgba(10, 10, 10, .26);
    --dd-shadow-lg:  0 26px 70px -34px rgba(10, 10, 10, .55);

    --accent:        var(--dd-gold);
    --sticky-offset: 110px;
}

/* ------------------------------------------------------------------ basics */

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    background: var(--dd-ink);
    color: #fff;
    padding: 12px 20px;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

.main-content { overflow-x: clip; }

/* Buttons: keep the theme's gold fill, drop the shouty uppercase, add a
   light sheen sweep so they feel alive without moving the layout.

   The theme ships these as white-on-gold, which is 1.75:1 - effectively
   unreadable. Ink on gold is 11.3:1 and keeps the brand colour dominant. */
.readon {
    text-transform: none;
    letter-spacing: .01em;
    border-radius: 6px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: var(--dd-ink);
    background: var(--dd-gold);
}
.readon:focus-visible {
    outline: 3px solid var(--dd-ink);
    outline-offset: 2px;
}
.readon::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 -60%;
    width: 45%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: skewX(-18deg);
    transition: left .55s cubic-bezier(.2, .7, .3, 1);
    z-index: -1;
}
.readon:hover::after { left: 120%; }
.readon:hover { color: var(--dd-ink); background: var(--dd-gold-hover); }
.readon.transparent {
    background: transparent;
    color: var(--dd-text);
    box-shadow: inset 0 0 0 1.5px var(--dd-line);
}
.readon.transparent:hover { background: var(--dd-surface-2); color: var(--dd-text); }

.page-hero .readon.transparent,
.hero-fallback .readon.transparent,
.home-slider .readon.transparent {
    color: #fff;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5);
}
.page-hero .readon.transparent:hover,
.hero-fallback .readon.transparent:hover { background: rgba(255, 255, 255, .12); color: #fff; }

/* Section head - the theme's gold eyebrow with its short rule. */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--dd-gold-deep);
    margin-bottom: 14px;
}
.eyebrow::after {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--dd-gold);
}
.eyebrow.light { color: var(--dd-gold); }
.text-center .eyebrow { justify-content: center; }

.section-title {
    font-size: clamp(27px, 3.1vw, 40px);
    line-height: 1.28;
    font-weight: 700;
    color: var(--dd-ink);
    letter-spacing: -.005em;
    margin-bottom: 14px;
}
.section-desc { color: var(--dd-muted); max-width: 62ch; margin-bottom: 0; font-size: 16.5px; line-height: 1.8; }
.sec-head { margin-bottom: 44px; max-width: 900px; }
.sec-head.text-center { margin-left: auto; margin-right: auto; }
.sec-head.text-center .section-desc { margin-left: auto; margin-right: auto; }

.lead-text { font-size: 18.5px; line-height: 1.85; color: var(--dd-text); }

/* ------------------------------------------------------------------ header */

.toolbar-area .toolbar-sl-share ul li.lang-switch { display: inline-flex; gap: 2px; margin-left: 10px; }
.toolbar-area .toolbar-sl-share ul li.lang-switch a {
    padding: 2px 9px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .05em;
    opacity: .68;
}
.toolbar-area .toolbar-sl-share ul li.lang-switch a.is-active { background: var(--dd-gold); color: var(--dd-ink); opacity: 1; }

/* Services mega menu.
   The theme's version is a gold slab with white text (1.75:1) sized for four
   float:left columns. This replaces it with a white panel and a real grid, so
   the number of service groups no longer has to be four. */
.full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul.mega-menu {
    min-width: 0;
    width: max-content;
    max-width: min(1060px, calc(100vw - 48px));
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    background: var(--dd-surface);
    border-radius: 0 0 18px 18px;
    box-shadow: var(--dd-shadow-lg);
    padding: 0;
    border-top: 3px solid var(--dd-gold);
    overflow: hidden;
}
.full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul.mega-menu .mega-menu-container {
    padding: 0;
    margin: 0;
    float: none;
    width: auto;
    display: block;
}

/* Scoped to the full header chain: the theme zeroes padding on everything
   inside the mega menu, and a bare .dd-mega-grid selector loses to it. */
.full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul.mega-menu .dd-mega-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(190px, 1fr));
    gap: 0;
    padding: 26px 10px 22px;
}
.full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul.mega-menu .dd-mega-col { padding: 0 24px; }
.full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul.mega-menu .dd-mega-col + .dd-mega-col { border-left: 1px solid var(--dd-line); }

.dd-mega-title {
    display: block;
    color: var(--dd-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.45;
}
.dd-mega-company {
    display: block;
    font-size: 12px;
    color: var(--dd-muted);
    padding-bottom: 11px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--dd-line);
}
.dd-mega-list { display: block; }
.full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul.mega-menu .dd-mega-list a {
    display: block;
    color: var(--dd-text);
    padding: 7px 0;
    font-size: 14.5px;
    line-height: 1.5;
    height: auto;
    white-space: normal;
    transition: color .2s ease, transform .2s ease;
}
.full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul.mega-menu .dd-mega-list a:hover {
    color: var(--dd-gold-deep);
    transform: translateX(3px);
}

.full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul.mega-menu a.dd-mega-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--dd-surface-2);
    border-top: 1px solid var(--dd-line);
    color: var(--dd-gold-deep);
    font-size: 14px;
    font-weight: 700;
    height: auto;
    line-height: 1.4;
}
.full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul.mega-menu a.dd-mega-all:hover {
    background: var(--dd-gold-soft);
    color: var(--dd-ink);
}

/* The theme marks active and hovered menu links with `color: #E5C13B
   !important` - brand gold as text on white, 1.75:1. Same hue, dark enough to
   read; !important is needed only because the theme used it first. */
.full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul li a:hover,
.full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul li.active a,
.full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul li.current-menu-item > a,
.full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul li.current-menu-item > a:before {
    color: var(--dd-gold-deep) !important;
}

/* Except where the header floats over a dark hero photo and the menu text is
   white. There the darkened gold would disappear, so the bright brand gold is
   the readable one (~8:1 on the photo). Once the header sticks it turns white
   and the rule above takes over again.
   Desktop only: below 992px the menu is a white slide-down panel, where bright
   gold would be the unreadable one. */
@media (min-width: 992px) {
    body:not(.light-header) .full-width-header.header-style2 .rs-header .menu-area:not(.sticky) .main-menu .rs-menu ul.nav-menu > li > a:hover,
    body:not(.light-header) .full-width-header.header-style2 .rs-header .menu-area:not(.sticky) .main-menu .rs-menu ul.nav-menu > li.current-menu-item > a {
        color: var(--dd-gold) !important;
    }
}

/* Companies dropdown - same treatment as the mega menu: the theme ships it
   gold with white links, which is the same 1.75:1 failure. */
.full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul.sub-menu {
    background: var(--dd-surface);
    border-radius: 0 0 14px 14px;
    box-shadow: var(--dd-shadow-lg);
    border-top: 3px solid var(--dd-gold);
    padding: 8px 0;
    min-width: 250px;
}
.full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul.sub-menu li a {
    color: var(--dd-text);
    font-size: 14.5px;
    padding: 9px 22px;
    line-height: 1.5;
    height: auto;
    transition: color .2s ease, background .2s ease;
}
.full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul.sub-menu li a:hover {
    color: var(--dd-gold-deep);
    background: var(--dd-surface-2);
}

/* English labels run longer than Thai, so the row is tightened and the
   button is stopped from wrapping onto two lines. */
/* The logo file is square (512x512), but the theme sizes logos by max-height
   only and lets the width stretch to the column - on mobile that squashed it
   into a 180x25 box. Lock the aspect ratio and give it a usable size. */
.full-width-header .rs-header .menu-area .logo-area img,
.full-width-header .rs-header .menu-area.sticky .logo-area img,
.rs-footer .footer-content .about-widget .logo-part a img,
.canvas-logo img {
    width: auto;
    height: auto;
    object-fit: contain;
}
@media (max-width: 991px) {
    .full-width-header .rs-header .menu-area .logo-area img,
    .full-width-header .rs-header .menu-area.sticky .logo-area img {
        max-height: 46px;
    }
    .rs-footer .footer-content .about-widget .logo-part a img { max-height: 54px; }
}

/* The theme colours everything in .expand-btn-inner white, which puts white
   back on the gold pill. !important is needed to outrank that. */
.header-consult { padding: 11px 20px !important; font-size: 15px !important; white-space: nowrap; }
.full-width-header .rs-header .menu-area .rs-menu-area .expand-btn-inner ul li a.header-consult,
.expand-btn-inner ul li a.header-consult { color: var(--dd-ink) !important; }
.full-width-header .rs-header .menu-area .rs-menu-area .expand-btn-inner ul li a.header-consult:hover,
.expand-btn-inner ul li a.header-consult:hover { color: var(--dd-ink) !important; background: var(--dd-gold-hover); }

/* Back-to-top button: the theme ships a white glyph on the gold circle. */
#scrollUp i { color: var(--dd-ink); }
#scrollUp i:hover { background: var(--dd-gold-hover); color: var(--dd-ink); }
.full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu > li > a { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1399px) {
    .full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu > li { margin-right: 18px; }
    .full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu > li > a { font-size: 15px; }
    .header-consult { padding: 10px 16px !important; font-size: 14px !important; }
}

/* LINE and the language switcher live in the toolbar on desktop; these two
   entries exist only for the collapsed mobile menu. */
.full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu > li.mobile-only-item { display: none; }

/* The theme only styles the scrolled-sticky header for its "home-six" demo,
   so everywhere else it stayed transparent - white links on a white page. */
.full-width-header .rs-header .menu-area.sticky {
    background: #fff !important;
    box-shadow: 0 6px 30px -12px rgba(10, 10, 10, .28);
}
.full-width-header .rs-header .menu-area.sticky .main-menu .rs-menu ul.nav-menu > li > a,
.full-width-header .rs-header .menu-area.sticky .main-menu .rs-menu ul.nav-menu > li > span.rs-menu-parent { color: var(--dd-text); }
.full-width-header .rs-header .menu-area.sticky .main-menu .rs-menu ul.nav-menu > li > a:hover,
.full-width-header .rs-header .menu-area.sticky .main-menu .rs-menu ul.nav-menu > li.current-menu-item > a { color: var(--dd-gold-deep); }
.full-width-header .rs-header .menu-area.sticky .expand-btn-inner li .humburger span { background: var(--dd-text); }
.full-width-header .rs-header .menu-area.sticky .mobile-menu .rs-menu-toggle { color: var(--dd-text); }

/* Pages that open on a light background need an opaque header, or the white
   nav text disappears. */
body.light-header .full-width-header.header-style2 .toolbar-area,
body.light-header .full-width-header .toolbar-area {
    background: var(--dd-ink);
    border-bottom-color: rgba(255, 255, 255, .12);
}
body.light-header .full-width-header .rs-header .menu-area {
    background: #fff;
    border-bottom: 1px solid var(--dd-line);
}
body.light-header .full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu > li > a { color: var(--dd-text); }
body.light-header .full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu > li > a:hover,
body.light-header .full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu > li.current-menu-item > a { color: var(--dd-gold-deep); }
body.light-header .full-width-header .rs-header .menu-area .rs-menu-area .expand-btn-inner .humburger span { background: var(--dd-text); }
body.light-header .full-width-header .rs-header .menu-area .mobile-menu .rs-menu-toggle { color: var(--dd-text); }
body.light-header .full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu > li > span.rs-menu-parent { color: var(--dd-text); }

.canvas-companies { padding: 0 0 22px; }
.canvas-company-list { list-style: none; padding: 0; margin: 0; }
.canvas-company-list li + li { margin-top: 6px; }
/* The off-canvas panel is white, not dark - these were written for a dark
   surface, which left gold text on white at 1.75:1. */
.canvas-company-list a {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--dd-surface-2);
    transition: background .2s ease, transform .2s ease;
}
.canvas-company-list a:hover { background: var(--dd-gold-soft); transform: translateX(3px); }
.canvas-company-list .num {
    font-size: 12px;
    font-weight: 800;
    color: var(--dd-gold-deep);
    letter-spacing: .06em;
    margin-top: 3px;
    flex: 0 0 auto;
}
.canvas-company-list strong { display: block; font-size: 15px; color: var(--dd-text); }
.canvas-company-list small { display: block; font-size: 12.5px; color: var(--dd-muted); }

/* Mobile slide-down menu.
   The theme paints ul.nav-menu solid gold and leaves the links white - 1.75:1,
   and the active item gold-on-gold, which is invisible. Same treatment as the
   desktop dropdowns: white panel, ink text, gold only as the accent. */
@media (max-width: 991px) {
    /* The theme leaves the panel at its desktop width and anchors it with
       `left`, so on a 390px screen it was 195px wide with its right edge at
       405px - 15px of it hanging off the viewport. Anchor it to the right of
       the container and let it fill the width instead. */
    .full-width-header .rs-header .menu-area .main-menu .rs-menu {
        left: auto;
        right: 15px;
        width: calc(100vw - 30px);
        max-width: calc(100vw - 30px);
        padding-right: 0;
    }
    .full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu {
        width: 100%;
        background: var(--dd-surface);
        border-top: 3px solid var(--dd-gold);
        box-shadow: var(--dd-shadow-lg);
        border-radius: 0 0 16px 16px;
    }
    .full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu > li > a,
    .full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu li a {
        color: var(--dd-text) !important;
        border-bottom-color: var(--dd-line);
    }
    .full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu li a:hover,
    .full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu li.current-menu-item > a {
        color: var(--dd-gold-deep) !important;
    }
    /* The theme's expand toggle is a bright blue square (#257be5) - the only
       non-brand colour left on the site. */
    .nav-menu > .menu-item-has-children > span.rs-menu-parent,
    .nav-menu .rs-mega-menu > span.rs-menu-parent {
        background: var(--dd-surface-2);
        color: var(--dd-text);
        border-left: 1px solid var(--dd-line);
    }
    .nav-menu > .menu-item-has-children > span.rs-menu-parent:hover,
    .nav-menu .rs-mega-menu > span.rs-menu-parent:hover,
    .nav-menu > .menu-item-has-children > span.rs-menu-parent.rs-menu-parent-active,
    .nav-menu .rs-mega-menu > span.rs-menu-parent.rs-menu-parent-active {
        background: var(--dd-gold);
        color: var(--dd-ink);
    }
    .full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu li span.rs-menu-parent { color: var(--dd-text); }
    .full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu ul.sub-menu { background: var(--dd-surface-2); box-shadow: none; border-top: 0; }
    .lang-switch-mobile a.is-active { color: var(--dd-ink) !important; }
}

/* Recent-posts widget in the article sidebar. The theme leaves these links at
   brand gold on the white card - 1.75:1. */
.single-post .post-desc a {
    color: var(--dd-text);
    font-weight: 600;
    line-height: 1.5;
    display: block;
}
.single-post .post-desc a:hover { color: var(--dd-gold-deep); }
.single-post .post-desc .date { color: var(--dd-muted); font-size: 13px; }
.single-post .post-desc .date i { color: var(--dd-gold-deep); margin-right: 6px; }

.contact-company-list a { background: var(--dd-surface-2); }
.contact-company-list a:hover { background: var(--dd-gold-soft); }
.contact-company-list strong { color: var(--dd-text); }
.contact-company-list small { color: var(--dd-muted); }

/* -------------------------------------------------------------------- hero */

.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 175px 0 95px;
    overflow: hidden;
}
/* Slow drift on photographic heroes - enough to feel alive, not enough to distract. */
.page-hero.has-photo::before {
    content: "";
    position: absolute;
    inset: -3%;
    background: inherit;
    background-size: cover;
    background-position: center;
    animation: dd-drift 26s ease-in-out infinite alternate;
    z-index: 0;
}
.page-hero > .container { position: relative; z-index: 2; }
@keyframes dd-drift {
    from { transform: scale(1)    translate3d(0, 0, 0); }
    to   { transform: scale(1.07) translate3d(-1.2%, -1%, 0); }
}

/* Used where a service has no photography of its own. */
.page-hero.gradient {
    background:
        radial-gradient(110% 150% at 90% 6%, rgba(229, 193, 59, .30) 0%, transparent 58%),
        linear-gradient(118deg, #0a0a0a 0%, #1b1710 62%, #2a2110 100%);
}
.page-hero.gradient::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(229, 193, 59, .16) 1px, transparent 1px);
    background-size: 26px 26px;
    opacity: .55;
    pointer-events: none;
}

.page-hero.plain {
    background: var(--dd-surface-2);
    color: var(--dd-text);
    padding: 160px 0 74px;
    border-bottom: 1px solid var(--dd-line);
}
.page-hero.plain::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -140px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 193, 59, .20) 0%, transparent 65%);
    pointer-events: none;
}

.page-hero-title {
    color: inherit;
    font-size: clamp(31px, 4.3vw, 52px);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.01em;
    margin: 0 0 16px;
    max-width: 20ch;
}
.page-hero.plain .page-hero-title { color: var(--dd-ink); max-width: 24ch; }
.page-hero-lead { font-size: 18px; line-height: 1.78; max-width: 66ch; opacity: .92; margin-bottom: 30px; }
.page-hero.plain .page-hero-lead { color: var(--dd-muted); opacity: 1; margin-bottom: 0; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-fallback {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 200px 0 130px;
    overflow: hidden;
}
.hero-title { color: #fff; font-size: clamp(33px, 4.9vw, 58px); line-height: 1.16; font-weight: 700; max-width: 18ch; margin-bottom: 20px; }
.hero-lead { font-size: 19px; line-height: 1.78; max-width: 62ch; opacity: .92; margin-bottom: 32px; }

/* Illustration riding alongside the hero copy on wide screens. */
.hero-illus {
    display: block;
    width: 100%;
    max-width: 460px;
    margin-left: auto;
    filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .5));
    animation: dd-float 7s ease-in-out infinite alternate;
}
@keyframes dd-float {
    from { transform: translateY(-8px); }
    to   { transform: translateY(8px); }
}

.crumbs { margin-bottom: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; font-size: 14px; }
.crumbs li + li::before { content: "/"; opacity: .45; margin-right: 8px; }
.crumbs a { color: inherit; opacity: .75; transition: opacity .2s ease, color .2s ease; }
.crumbs a:hover { opacity: 1; color: var(--dd-gold); }
.crumbs [aria-current] { opacity: .6; }
.page-hero.plain .crumbs { color: var(--dd-muted); }

.company-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(229, 193, 59, .45);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 14px;
    margin-bottom: 22px;
    transition: background .25s ease, border-color .25s ease;
}
.company-chip:hover { background: rgba(229, 193, 59, .18); color: #fff; }
.company-chip.static:hover { background: rgba(255, 255, 255, .1); }
.company-chip i { color: var(--dd-gold); }

/* Home slider - slides come from the admin panel, so the layout is
   normalised here instead of depending on each slide's "style" value. */
.home-slider .slider { position: relative; padding: 235px 0 195px; overflow: hidden; }
.home-slider .slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10, 10, 10, .88) 0%, rgba(10, 10, 10, .64) 42%, rgba(10, 10, 10, .2) 100%);
}
.home-slider .slider > .container { position: relative; z-index: 2; }
.rs-slider.slider6 .slider .content-part,
.rs-slider.slider6 .slider.slide1 .content-part,
.rs-slider.slider6 .slider.slide2 .content-part {
    max-width: 730px;
    margin: 0;
    text-align: left;
}
.home-slider .sl-subtitle { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--dd-gold); }
.rs-slider.slider6 .slider .content-part .sl-title,
.rs-slider.slider6 .slider.slide1 .content-part .sl-title,
.rs-slider.slider6 .slider.slide2 .content-part .sl-title {
    font-size: clamp(33px, 4.5vw, 56px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -.01em;
    color: #fff;
    text-align: left;
}
.home-slider .sl-desc { font-size: 18px; line-height: 1.78; max-width: 58ch; opacity: .9; }
.home-slider .slider-bottom ul { display: flex; flex-wrap: wrap; gap: 12px; padding: 0; margin: 0; list-style: none; }
.home-slider .slider-bottom ul li { margin: 0 !important; }
.home-slider .wave-bg { z-index: 3; }
/* Staggered entrance for whichever slide is showing. */
.home-slider .owl-item.active .sl-subtitle { animation: dd-rise .7s .1s both; }
.home-slider .owl-item.active .sl-title    { animation: dd-rise .7s .22s both; }
.home-slider .owl-item.active .sl-desc     { animation: dd-rise .7s .34s both; }
.home-slider .owl-item.active .slider-bottom { animation: dd-rise .7s .46s both; }
@keyframes dd-rise {
    from { opacity: 0; transform: translate3d(0, 26px, 0); }
    to   { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------- cards */

/* Shared card shell: borderless, soft wide shadow, generous radius - the
   theme's own card language rather than a 1px-outline box. */
.feature-card,
.service-card,
.company-tile,
.company-card,
.article-card,
.contact-tile,
.panel,
.side-card,
.cta-panel {
    background: var(--dd-surface);
    border: 0;
    border-radius: var(--dd-radius);
    box-shadow: var(--dd-shadow);
}

.feature-card {
    padding: 30px 26px;
    transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--dd-shadow-lg); }
.feature-card.compact { padding: 22px 20px; }
.feature-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px; height: 54px;
    border-radius: 50%;
    border: 1.5px solid var(--dd-gold-line);
    color: var(--dd-gold-deep);
    font-size: 20px;
    margin-bottom: 18px;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}
.feature-card:hover .feature-card-icon { background: var(--dd-gold); border-color: var(--dd-gold); color: var(--dd-ink); transform: rotate(-6deg); }
.feature-card-title { font-size: 17.5px; font-weight: 700; margin: 0 0 9px; color: var(--dd-ink); }
.feature-card-desc { font-size: 14.5px; line-height: 1.75; color: var(--dd-muted); margin: 0; }

.service-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--dd-shadow-lg); }
.service-card-media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--dd-ink-2);
    position: relative;
}
.service-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .3, 1); }
.service-card:hover .service-card-media img { transform: scale(1.07); }
.service-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, .55), transparent 55%);
}
.service-card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card-title, .service-card-desc, .service-card-company, .company-tile-pillar, .company-tile-title, .company-tile-desc { display: block; }
/* Illustrations sit on the brand dark panel rather than being cropped. */
.service-card-media.illus { background: linear-gradient(125deg, #0a0a0a 0%, #1b1710 100%); }
.service-card-media.illus img { object-fit: contain; padding: 18px; }
.service-card-media.illus::after { background: none; }
.service-card:hover .service-card-media.illus img { transform: scale(1.04); }
.service-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 1.5px solid var(--dd-gold-line);
    color: var(--dd-gold-deep);
    font-size: 20px;
    margin-bottom: 18px;
    transition: background .3s ease, color .3s ease;
}
.service-card:hover .service-card-icon { background: var(--dd-gold); border-color: var(--dd-gold); color: var(--dd-ink); }
/* When the card leads with a photo the icon overlaps the image edge. */
.service-card-media + .service-card-body .service-card-icon {
    margin-top: -52px;
    background: #fff;
    border-color: #fff;
    box-shadow: var(--dd-shadow);
    position: relative;
}
.service-card-company { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--dd-gold-deep); margin-bottom: 7px; }
.service-card-title { font-size: 18.5px; font-weight: 700; color: var(--dd-ink); margin: 0 0 10px; line-height: 1.45; }
.service-card-desc { font-size: 14.5px; line-height: 1.75; color: var(--dd-muted); margin: 0 0 20px; }
.service-card-more { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--dd-gold-deep); display: inline-flex; align-items: center; gap: 9px; }
.service-card-more i { transition: transform .3s ease; }
.service-card:hover .service-card-more i { transform: translateX(6px); }

.company-tile {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border-radius: var(--dd-radius-lg);
    transition: transform .4s cubic-bezier(.2, .7, .3, 1), box-shadow .4s ease;
}
.company-tile:hover { transform: translateY(-9px); box-shadow: var(--dd-shadow-lg); }
.company-tile-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; position: relative; background: var(--dd-ink-2); }
.company-tile-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .3, 1); }
.company-tile:hover .company-tile-media img { transform: scale(1.08); }
.company-tile-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 10, .72), rgba(10, 10, 10, .1) 60%);
}
.company-tile-num {
    position: absolute;
    right: 22px; top: 18px;
    z-index: 2;
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(10, 10, 10, .82);
    border: 1px solid var(--dd-gold-line);
    backdrop-filter: blur(4px);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .06em;
    color: var(--dd-gold);
}
.company-tile-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.company-tile-media { display: block; }
.company-tile-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: #fff;
    color: var(--dd-gold-deep);
    font-size: 22px;
    box-shadow: var(--dd-shadow);
    margin-top: -56px;
    margin-bottom: 18px;
    position: relative;
    transition: background .3s ease, color .3s ease;
}
.company-tile:hover .company-tile-icon { background: var(--dd-gold); color: #fff; }
.company-tile-pillar { font-size: 12.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--dd-gold-deep); margin-bottom: 9px; }
.company-tile-title { font-size: 20px; font-weight: 700; color: var(--dd-ink); margin: 0 0 10px; line-height: 1.4; }
.company-tile-desc { font-size: 15px; line-height: 1.75; color: var(--dd-muted); margin: 0 0 18px; }
.company-tile-services { display: block; margin: 0 0 22px; }
.company-tile-services .cts-item { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--dd-text); padding: 5px 0; }
.company-tile-services i { color: var(--dd-gold-deep); font-size: 11px; margin-top: 7px; flex: 0 0 auto; }
.company-tile .service-card-more { margin-top: auto; }

.company-card {
    display: flex;
    gap: 20px;
    padding: 28px 26px;
    transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s ease;
}
.company-card:hover { transform: translateY(-6px); box-shadow: var(--dd-shadow-lg); }
.company-card-icon {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    width: 54px; height: 54px;
    border-radius: 50%;
    border: 1.5px solid var(--dd-gold-line);
    color: var(--dd-gold-deep);
    font-size: 21px;
}
.company-card-title { font-size: 18px; font-weight: 700; color: var(--dd-ink); margin: 0 0 8px; }
.company-card-desc { font-size: 14.5px; line-height: 1.75; color: var(--dd-muted); margin: 0 0 12px; }

.article-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s ease;
}
.article-card:hover { transform: translateY(-7px); box-shadow: var(--dd-shadow-lg); }
.article-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--dd-surface-2); }
.article-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .3, 1); }
.article-card:hover .article-card-media img { transform: scale(1.06); }
.article-card-body { display: block; padding: 24px 24px 28px; }
.article-card-body time { font-size: 13px; color: var(--dd-gold-deep); font-weight: 600; display: block; margin-bottom: 9px; }
.article-card-title { font-size: 17.5px; font-weight: 700; color: var(--dd-ink); margin: 0 0 9px; line-height: 1.5; }
.article-card-desc { font-size: 14.5px; line-height: 1.75; color: var(--dd-muted); margin: 0; }

.contact-tile { padding: 30px 24px; text-align: center; transition: transform .35s ease, box-shadow .35s ease; }
.contact-tile:hover { transform: translateY(-6px); box-shadow: var(--dd-shadow-lg); }
.contact-tile-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    border: 1.5px solid var(--dd-gold-line);
    color: var(--dd-gold-deep);
    font-size: 21px;
    margin-bottom: 16px;
    transition: background .3s ease, color .3s ease;
}
.contact-tile:hover .contact-tile-icon { background: var(--dd-gold); border-color: var(--dd-gold); color: var(--dd-ink); }
.contact-tile-title { font-size: 15px; font-weight: 700; color: var(--dd-muted); margin: 0 0 7px; }
.contact-tile a { color: var(--dd-ink); font-weight: 600; }
.contact-tile a:hover { color: var(--dd-gold-deep); }
.contact-tile p { margin: 0; color: var(--dd-text); font-size: 14.5px; }

.panel { padding: 36px 32px; border-radius: var(--dd-radius-lg); }

/* ----------------------------------------------------------------- journey */

.journey {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
    position: relative;
}
/* Hairline that threads the five stages together. */
.journey::before {
    content: "";
    position: absolute;
    left: 6%; right: 6%;
    top: 62px;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--dd-gold-line) 0 8px, transparent 8px 16px);
    z-index: 0;
}
.journey-step {
    position: relative;
    z-index: 1;
    background: var(--dd-surface);
    border-radius: var(--dd-radius);
    box-shadow: var(--dd-shadow);
    padding: 28px 22px 26px;
    display: flex;
    flex-direction: column;
    transition: transform .35s cubic-bezier(.2, .7, .3, 1), box-shadow .35s ease;
}
.journey-step:hover { transform: translateY(-8px); box-shadow: var(--dd-shadow-lg); }
.journey-no {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .18em;
    color: var(--dd-gold-deep);
    margin-bottom: 14px;
}
.journey-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--dd-ink);
    color: var(--dd-gold);
    font-size: 19px;
    margin-bottom: 18px;
    transition: background .3s ease, color .3s ease, transform .35s ease;
}
.journey-step:hover .journey-icon { background: var(--dd-gold); color: var(--dd-ink); transform: rotate(-8deg); }
.journey-title { font-size: 17px; font-weight: 700; color: var(--dd-ink); margin: 0 0 9px; }
.journey-desc { font-size: 14px; line-height: 1.75; color: var(--dd-muted); margin: 0 0 18px; }
.journey-link { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--dd-gold-deep); display: inline-flex; gap: 8px; align-items: center; }
.journey-link i { transition: transform .3s ease; }
.journey-step:hover .journey-link i { transform: translateX(5px); }
.journey-company { font-size: 12px; color: var(--dd-muted); margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--dd-line); }

/* ---------------------------------------------------------- content blocks */

.content-block { margin-bottom: 50px; scroll-margin-top: var(--sticky-offset); }
.block-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--dd-ink);
    margin: 0 0 22px;
    padding-bottom: 14px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--dd-line);
}
.block-title::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 56px; height: 3px;
    background: var(--dd-gold);
}
.block-title-link { font-size: 14px; font-weight: 600; color: var(--dd-gold-deep); }

.block-nav { border-radius: var(--dd-radius); background: var(--dd-surface-2); padding: 16px; }
.block-nav-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.block-nav-list a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 17px;
    border-radius: 999px;
    background: #fff;
    font-size: 14px;
    color: var(--dd-text);
    box-shadow: 0 0 16px -8px rgba(10, 10, 10, .3);
    transition: all .25s ease;
}
.block-nav-list a:hover { background: var(--dd-gold); color: var(--dd-ink); transform: translateY(-2px); }
.block-nav-list i { font-size: 12px; opacity: .6; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; padding: 10px 0; font-size: 15.5px; line-height: 1.75; color: var(--dd-text); }
.check-list li + li { border-top: 1px solid var(--dd-line); }
.check-list i {
    flex: 0 0 auto;
    margin-top: 6px;
    font-size: 10px;
    width: 19px; height: 19px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--dd-gold);
    color: var(--dd-ink);
}
.check-list.compact li { font-size: 14.5px; padding: 8px 0; }

.step-list { list-style: none; padding: 0; margin: 0; }
.step-list li { display: flex; gap: 18px; align-items: flex-start; padding: 16px 0; }
.step-list li + li { border-top: 1px solid var(--dd-line); }
.step-no {
    flex: 0 0 auto;
    width: 38px; height: 38px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--dd-ink);
    color: var(--dd-gold);
    font-weight: 700;
    font-size: 14px;
    transition: background .3s ease, color .3s ease;
}
.step-list li:hover .step-no { background: var(--dd-gold); color: var(--dd-ink); }
.step-text { font-size: 15.5px; line-height: 1.75; color: var(--dd-text); padding-top: 7px; }

.dd-accordion .accordion-item {
    border: 0;
    border-radius: var(--dd-radius) !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--dd-surface);
    box-shadow: 0 0 26px -14px rgba(10, 10, 10, .28);
}
.dd-accordion .accordion-button {
    font-size: 16px;
    font-weight: 600;
    color: var(--dd-ink);
    background: var(--dd-surface);
    padding: 19px 24px;
    box-shadow: none !important;
}
.dd-accordion .accordion-button:not(.collapsed) { background: var(--dd-surface-2); color: var(--dd-gold-deep); }
.dd-accordion .accordion-button::after { filter: grayscale(1) opacity(.5); }
.dd-accordion .accordion-button:not(.collapsed)::after { filter: none; }
.dd-accordion .accordion-body { padding: 6px 24px 22px; color: var(--dd-muted); font-size: 15px; line-height: 1.8; }
.dd-accordion .accordion-body .check-list li { color: var(--dd-text); }

.gallery-grid .gallery-item {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--dd-surface-2);
    position: relative;
    box-shadow: var(--dd-shadow);
}
.gallery-grid .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .3, 1); }
.gallery-grid .gallery-item::after {
    content: "\f00e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    /* .45 left the glyph at 3.15:1 over a bright photo - it clears the 3:1
       non-text bar but nothing more. .60 holds 5.2:1 on any image. */
    background: rgba(10, 10, 10, .6);
    opacity: 0;
    transition: opacity .3s ease;
}
.gallery-grid .gallery-item:hover img { transform: scale(1.08); }
.gallery-grid .gallery-item:hover::after { opacity: 1; }

.dd-table th { background: var(--dd-surface-2); font-weight: 700; color: var(--dd-ink); }
.dd-table td, .dd-table th { border-color: var(--dd-line); }

/* ----------------------------------------------------------------- sidebar */

.sidebar { position: relative; }
.side-card { padding: 26px 24px; margin-bottom: 22px; }
.side-card.side-sticky, .sidebar > .side-card:first-child { position: sticky; top: var(--sticky-offset); }
.side-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--dd-gold-deep); display: block; margin-bottom: 9px; }
.side-title { font-size: 16.5px; font-weight: 700; color: var(--dd-ink); margin: 0 0 15px; }
.side-desc { font-size: 14.5px; line-height: 1.75; color: var(--dd-muted); margin: 0 0 15px; }
.side-link { font-size: 14px; font-weight: 700; color: var(--dd-gold-deep); display: inline-flex; gap: 8px; align-items: center; }
.side-link i { transition: transform .3s ease; }
.side-link:hover i { transform: translateX(5px); }
.side-company { border-top: 3px solid var(--dd-gold); }

.side-nav { list-style: none; padding: 0; margin: 0; }
.side-nav li + li { border-top: 1px solid var(--dd-line); }
.side-nav a { display: flex; gap: 12px; align-items: center; padding: 12px 0; font-size: 14.5px; color: var(--dd-muted); transition: color .2s ease, transform .2s ease; }
.side-nav a:hover { color: var(--dd-gold-deep); transform: translateX(3px); }
.side-nav i { font-size: 13px; width: 18px; text-align: center; opacity: .7; }
.side-nav li.is-active a { color: var(--dd-gold-deep); font-weight: 700; }

.side-contact-list { list-style: none; padding: 0; margin: 0; }
.side-contact-list li { display: flex; gap: 13px; align-items: flex-start; padding: 10px 0; font-size: 14.5px; color: var(--dd-text); }
.side-contact-list i { flex: 0 0 auto; margin-top: 6px; width: 16px; text-align: center; color: var(--dd-gold-deep); font-size: 14px; }
.side-contact-list a { color: var(--dd-text); }
.side-contact-list a:hover { color: var(--dd-gold-deep); }

/* ------------------------------------------------------------- misc blocks */

.inline-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    align-items: center;
    justify-content: space-between;
    background: var(--dd-ink);
    color: #fff;
    border-radius: var(--dd-radius-lg);
    padding: 34px 34px;
    margin-top: 12px;
    position: relative;
    overflow: hidden;
}
.inline-cta::before {
    content: "";
    position: absolute;
    right: -80px; top: -90px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 193, 59, .28) 0%, transparent 65%);
}
.inline-cta > * { position: relative; z-index: 1; }
.inline-cta h2 { font-size: 21px; font-weight: 700; color: #fff; }
.inline-cta p { color: rgba(255, 255, 255, .72) !important; }
.inline-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.inline-cta .readon.transparent { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); }
.inline-cta .readon.transparent:hover { background: rgba(255, 255, 255, .12); color: #fff; }

.scope-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.scope-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--dd-surface);
    border-radius: 14px;
    padding: 18px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--dd-text);
    box-shadow: 0 0 24px -14px rgba(10, 10, 10, .3);
    transition: transform .3s ease, box-shadow .3s ease;
}
.scope-item:hover { transform: translateY(-3px); box-shadow: var(--dd-shadow); }
.scope-item i {
    flex: 0 0 auto;
    margin-top: 5px;
    width: 19px; height: 19px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--dd-gold);
    color: var(--dd-ink);
    font-size: 10px;
}

.framed-image {
    position: relative;
    border-radius: var(--dd-radius-lg);
    overflow: hidden;
    box-shadow: var(--dd-shadow-lg);
}
.framed-image img { width: 100%; display: block; transition: transform .8s cubic-bezier(.2, .7, .3, 1); }
.framed-image:hover img { transform: scale(1.04); }
/* Gold corner rule, echoing the brand mark. */
.framed-image::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 84px; height: 5px;
    background: var(--dd-gold);
}

.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 9px; padding: 0; margin: 0 0 26px; }
.chip-list a {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 9px 17px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 18px -10px rgba(10, 10, 10, .35);
    font-size: 14px;
    color: var(--dd-text);
    transition: all .25s ease;
}
.chip-list a:hover { background: var(--dd-gold); color: var(--dd-ink); transform: translateY(-2px); }
.chip-list i { font-size: 12px; color: var(--dd-gold-deep); }
.chip-list a:hover i { color: var(--dd-ink); }

.pill {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 0 16px -9px rgba(10, 10, 10, .35);
    font-size: 13.5px;
    color: var(--dd-text);
}

.service-group { margin-bottom: 62px; }
.service-group-head { display: flex; gap: 18px; align-items: center; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--dd-line); position: relative; }
.service-group-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 70px; height: 3px; background: var(--dd-gold); }
.service-group-icon {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    width: 58px; height: 58px;
    border-radius: 50%;
    background: var(--dd-ink);
    color: var(--dd-gold);
    font-size: 22px;
}
.service-group-title { font-size: 25px; font-weight: 700; color: var(--dd-ink); margin: 0 0 5px; }
.service-group-company { font-size: 14px; color: var(--dd-muted); margin: 0; }
.service-group-company a { color: var(--dd-gold-deep); font-weight: 600; }

.company-row { display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: center; padding: 52px 0; }
.company-row + .company-row { border-top: 1px solid var(--dd-line); }
.company-row.reverse .company-row-media { order: 2; }
.company-row-title { font-size: clamp(25px, 2.7vw, 34px); font-weight: 700; margin: 0 0 12px; }
.company-row-title a { color: var(--dd-ink); }
.company-row-title a:hover { color: var(--dd-gold-deep); }
.company-row-tagline { font-size: 17.5px; line-height: 1.7; color: var(--dd-text); margin-bottom: 16px; }
.company-row-intro { font-size: 15px; line-height: 1.85; color: var(--dd-muted); margin-bottom: 22px; }

.cta-panel { padding: 42px 38px; border-radius: var(--dd-radius-lg); }
.cta-panel h2 { font-size: 27px; font-weight: 700; color: var(--dd-ink); }
.cta-panel .form-control, .cta-panel .form-select { border-color: var(--dd-line); padding: 12px 14px; }
.cta-panel .input-group-text { background: var(--dd-surface-2); border-color: var(--dd-line); color: var(--dd-muted); }

.form-label { font-size: 14px; font-weight: 600; color: var(--dd-text); margin-bottom: 7px; }
.form-control, .form-select { border-color: var(--dd-line); padding: 12px 14px; border-radius: 8px; }
.form-control:focus, .form-select:focus { border-color: var(--dd-gold); box-shadow: 0 0 0 3px rgba(229, 193, 59, .25); }

.contact-map { height: 440px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.35) contrast(1.05); transition: filter .4s ease; }
.contact-map:hover iframe { filter: none; }

.error-section { text-align: center; padding-top: 185px; }
.error-section .text-start { text-align: left; }
.error-section h1 { font-size: clamp(26px, 3vw, 38px); font-weight: 700; color: var(--dd-ink); }
.error-code { display: block; font-size: clamp(80px, 13vw, 150px); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--dd-gold); }

/* Client logos scroll continuously so the strip reads as a living roster. */
.clients-marquee { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent); }
.clients-track { display: flex; gap: 16px; width: max-content; animation: dd-marquee 46s linear infinite; }
.clients-marquee:hover .clients-track { animation-play-state: paused; }
@keyframes dd-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.clients-logos-item {
    flex: 0 0 auto;
    width: 180px; height: 110px;
    display: flex; align-items: center; justify-content: center;
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 0 22px -14px rgba(10, 10, 10, .35);
}
.clients-logos-item img { max-height: 100%; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .6; transition: all .35s ease; }
.clients-logos-item:hover img { filter: none; opacity: 1; }

/* Alternating bands. The home page opens with the slider's white wave, so the
   section directly beneath it has to be white or the seam shows. */
.companies-section, .articles-section { background: var(--dd-surface); }
.journey-section, .services-section, .clients-section, .scope-section, .faq-section { background: var(--dd-surface-2); }

/* Dark band used to break up the long light stack on the home page. */
.band-dark { background: var(--dd-ink); color: #fff; position: relative; overflow: hidden; }
.band-dark .section-title, .band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .section-desc, .band-dark p { color: rgba(255, 255, 255, .72); }
.band-dark::before {
    content: "";
    position: absolute;
    left: -140px; bottom: -180px;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 193, 59, .22) 0%, transparent 62%);
}
.band-dark > .container { position: relative; z-index: 1; }

/* Values on the dark band - outlined rather than filled, so the band stays dark. */
.value-card {
    padding: 32px 26px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--dd-radius);
    background: rgba(255, 255, 255, .03);
    transition: border-color .35s ease, background .35s ease, transform .35s cubic-bezier(.2, .7, .3, 1);
}
.value-card:hover { border-color: var(--dd-gold-line); background: rgba(229, 193, 59, .07); transform: translateY(-6px); }
.value-card-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 56px; height: 56px;
    border-radius: 50%;
    border: 1.5px solid var(--dd-gold-line);
    color: var(--dd-gold);
    font-size: 21px;
    margin-bottom: 20px;
    transition: background .3s ease, color .3s ease, transform .35s ease;
}
.value-card:hover .value-card-icon { background: var(--dd-gold); color: var(--dd-ink); transform: rotate(-8deg); }
.value-card-title { font-size: 17.5px; font-weight: 700; color: #fff; margin: 0 0 10px; }
.value-card-desc { font-size: 14.5px; line-height: 1.8; color: rgba(255, 255, 255, .7) !important; margin: 0; }
/* These cards are dark. The darkened gold meant for white backgrounds drops to
   3.8:1 here, so the bright brand gold is the readable one (~8:1). */
.value-card .service-card-more,
.value-card .side-link,
.value-card .eyebrow { color: var(--dd-gold); }


/* ------------------------------------------------------------------ footer */

.footer-companies { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 36px 0 8px; }
.footer-company {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 20px 22px;
    border-radius: var(--dd-radius);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .09);
    transition: background .3s ease, transform .3s ease, border-color .3s ease;
}
.footer-company:hover { background: rgba(229, 193, 59, .12); border-color: var(--dd-gold-line); transform: translateY(-3px); }
.footer-company-icon {
    flex: 0 0 auto;
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--dd-gold);
    color: var(--dd-ink);
    font-size: 18px;
}
.footer-company-body strong { display: block; font-size: 15px; color: #fff; line-height: 1.4; }
.footer-company-body small { display: block; font-size: 12.5px; opacity: .7; }

.rs-footer .footer-subtitle { font-size: 14px; font-weight: 700; color: var(--dd-gold); opacity: 1; margin-bottom: 11px; letter-spacing: .02em; }
.footer-service-col { margin-bottom: 24px; }
.site-map { list-style: none; padding: 0; margin: 0; }
.site-map li { padding: 4px 0; }
.site-map a { font-size: 14.5px; opacity: .78; transition: opacity .2s ease, transform .2s ease; display: inline-block; }
.site-map a:hover { opacity: 1; transform: translateX(3px); }

.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 8px 0 0; }
.footer-legal a { font-size: 14px; opacity: .72; }
.footer-legal a:hover { opacity: 1; }

.mobile-bottom-bar { display: none; }

/* ------------------------------------------------------- motion and a11y */

/* AOS is bundled with the theme; these keep reveals subtle and quick. */
[data-aos] { transition-duration: .65s !important; transition-timing-function: cubic-bezier(.2, .7, .3, 1) !important; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important;
    }
    .page-hero.has-photo::before { animation: none; }
    .clients-track { animation: none; }
}

/* -------------------------------------------------------------- responsive */

@media (max-width: 1199px) {
    .journey { grid-template-columns: repeat(3, 1fr); }
    .journey::before { display: none; }
    .full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul.mega-menu { min-width: 900px; right: -100px; }
}

@media (max-width: 991px) {
    .page-hero { padding: 130px 0 74px; }
    .page-hero.plain { padding: 120px 0 54px; }
    .hero-fallback { padding: 145px 0 95px; }
    /* The theme pins the slide to a fixed 455px on small screens, which clips
       the headline and buttons entirely. Let the content set the height. */
    .rs-slider.slider6 .slider,
    .home-slider .slider { height: auto !important; padding: 150px 0 125px; }
    .home-slider .sl-desc,
    .rs-slider.slider6 .slider.slide1 .content-part .sl-desc { display: block; }
    .home-slider .slider-bottom ul li { display: inline-block; margin-bottom: 0 !important; }
    .rs-slider.slider6 .owl-dots { display: none; }
    /* A left-to-right scrim leaves the headline sitting on bright photo once
       the column narrows; go bottom-up instead. */
    .home-slider .slider::before { background: linear-gradient(to top, rgba(10, 10, 10, .92) 18%, rgba(10, 10, 10, .55) 62%, rgba(10, 10, 10, .35) 100%); }
    .page-hero { background-position: 60% center; }
    .company-row, .company-row.reverse { grid-template-columns: 1fr; gap: 30px; }
    .company-row.reverse .company-row-media { order: 0; }
    .footer-companies { grid-template-columns: 1fr; }
    .sidebar { margin-top: 44px; }
    .side-card.side-sticky, .sidebar > .side-card:first-child { position: static; }
    .full-width-header .rs-header .menu-area .main-menu .rs-menu ul.nav-menu > li.mobile-only-item { display: block; }
    .header-consult { display: none; }
    .full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul.mega-menu {
        min-width: 100%;
        right: 0;
        box-shadow: none;
        border-radius: 0;
        border-top: 0;
    }
    .full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul.mega-menu .mega-menu-container .single-megamenu { width: 100%; float: none; }
    .full-width-header.header-style2 .rs-header .menu-area .main-menu .rs-menu ul.mega-menu .mega-menu-container .single-megamenu .sub-menu { padding: 12px 16px; }
    .lang-switch-mobile { display: flex !important; gap: 8px; padding: 12px 20px; }
    .lang-switch-mobile a { padding: 5px 14px; border: 1px solid var(--dd-line); border-radius: 6px; font-weight: 700; font-size: 13px; }
    .lang-switch-mobile a.is-active { background: var(--dd-gold); color: var(--dd-ink); border-color: var(--dd-gold); }
    .mobile-bottom-bar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 999;
        background: #fff;
        border-top: 1px solid var(--dd-line);
        box-shadow: 0 -4px 24px rgba(10, 10, 10, .12);
        padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-bottom-bar a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 11px 4px; font-size: 12px; color: var(--dd-text); }
    .mobile-bottom-bar i { font-size: 17px; color: var(--dd-gold-deep); }
    body { padding-bottom: 62px; }
    #scrollUp { bottom: 80px !important; }
    .social-icon-widget.main { bottom: 80px !important; }
}

@media (max-width: 767px) {
    .journey { grid-template-columns: 1fr; }
    .scope-grid { grid-template-columns: 1fr; }
    .cta-panel, .panel { padding: 28px 22px; }
    .inline-cta { padding: 26px 22px; }
    .block-title { font-size: 21px; }
    .page-hero-title { max-width: none; }
    .contact-map { height: 320px; }
    .company-tile-body, .service-card-body { padding: 24px 22px 26px; }
}

/* Folder-driven gallery: a group per menu category, captions from file names. */
.dir-gallery-group + .dir-gallery-group { margin-top: 34px; }
.dir-gallery-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--dd-gold-deep);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.dir-gallery-title::after { content: ""; flex: 1; height: 1px; background: var(--dd-line); }
.dir-gallery .gallery-item { aspect-ratio: 1 / 1; }
.gallery-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 2;
    padding: 22px 12px 10px;
    font-size: 12.5px;
    line-height: 1.4;
    color: #fff;
    background: linear-gradient(to top, rgba(10, 10, 10, .82), transparent);
    text-align: center;
}

/* Legal-entity facts on a company page. */
.reg-list { margin: 0; }
.reg-row { display: grid; grid-template-columns: 210px 1fr; gap: 18px; padding: 14px 0; }
.reg-row + .reg-row { border-top: 1px solid var(--dd-line); }
.reg-row dt { font-size: 14.5px; font-weight: 600; color: var(--dd-muted); margin: 0; }
.reg-row dd { font-size: 15.5px; color: var(--dd-ink); margin: 0; }
.reg-note { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--dd-line); font-size: 13.5px; color: var(--dd-muted); }
@media (max-width: 575px) {
    .reg-row { grid-template-columns: 1fr; gap: 4px; }
}

/* ------------------------------------------------------------------ article */

.article-hero .page-hero-lead { max-width: 70ch; margin-bottom: 22px; }
.article-hero-meta { display: flex; flex-wrap: wrap; gap: 22px; font-size: 14.5px; color: rgba(255, 255, 255, .8); }
.article-hero-meta i { color: var(--dd-gold); margin-right: 8px; }
.article-hero-meta a { color: rgba(255, 255, 255, .8); }
.article-hero-meta a:hover { color: var(--dd-gold); }

.article-cover {
    background: linear-gradient(125deg, #0a0a0a 0%, #1b1710 100%);
    border-radius: var(--dd-radius-lg);
    padding: 28px;
    margin-bottom: 40px;
    box-shadow: var(--dd-shadow);
}
.article-cover img { display: block; width: 100%; max-height: 380px; object-fit: contain; margin: 0 auto; }

/* The theme styles .markup-text as a pull-quote - italic, grey, gold bar down
   the side. That is wrong for body copy; this is article prose. */
.rs-blog.single .blog-part .article-content,
.article-content {
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent;
}
.rs-blog.single .blog-part .article-content .markup-text,
.article-content .markup-text {
    padding: 0 !important;
    border-left: 0 !important;
    box-shadow: none !important;
    font-style: normal;
    color: var(--dd-text);
    font-size: 17px;
    line-height: 1.95;
}
.article-content .markup-text h2 {
    font-size: 25px;
    font-weight: 700;
    color: var(--dd-ink);
    margin: 46px 0 16px;
    padding-bottom: 12px;
    position: relative;
    border-bottom: 1px solid var(--dd-line);
}
.article-content .markup-text h2::after {
    content: "";
    position: absolute;
    left: 0; bottom: -1px;
    width: 52px; height: 3px;
    background: var(--dd-gold);
}
.article-content .markup-text h2:first-child { margin-top: 0; }
.article-content .markup-text h3 { font-size: 19px; font-weight: 700; color: var(--dd-ink); margin: 32px 0 12px; }
.article-content .markup-text p { margin: 0 0 20px; }
.article-content .markup-text strong { color: var(--dd-ink); font-weight: 700; }
.article-content .markup-text ul,
.article-content .markup-text ol { margin: 0 0 24px; padding: 0; list-style: none; counter-reset: dd-ol; }
.article-content .markup-text li { position: relative; padding: 9px 0 9px 34px; }
.article-content .markup-text li + li { border-top: 1px solid var(--dd-line); }
.article-content .markup-text ul > li::before {
    content: "";
    position: absolute;
    left: 4px; top: 20px;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--dd-gold);
}
.article-content .markup-text ol > li::before {
    counter-increment: dd-ol;
    content: counter(dd-ol);
    position: absolute;
    left: 0; top: 11px;
    width: 22px; height: 22px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--dd-ink);
    color: var(--dd-gold);
    font-size: 12px;
    font-weight: 700;
}
.article-content .sharing { border-top: 1px solid var(--dd-line); margin-top: 40px; padding-top: 14px; }

.rs-blog.inner.single .widget-area .widget,
.rs-blog .widget-area .widget { border-radius: var(--dd-radius); }
