.header {
    position: relative;
    z-index: 10000;
    background-color: rgba(15, 18, 80, 0.9);
    box-shadow: 0 0.5rem 1.875rem rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(0.5rem);
    width: 100%;
}

.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 3.125rem;
    max-width: unset;
    gap: 0.625rem;
    min-height: 4.875rem;
}

.header__ct {
    width: 100%;
}

.header-nav {
    width: 100%;
}

.header__logo {
    display: inline-flex;
    align-items: center;
}

.header__hamburger {
    background-color: transparent;
    padding: 0;
    margin: 0;
    align-self: center;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1.125rem;
}

.header__phone,
.header__try {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.375rem;
    padding: 0.3125rem 0.875rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
    white-space: nowrap;
}

.header__phone {
    border: 0.0625rem solid rgba(255, 255, 255, 0.6);
    background-color: transparent;
}

.header__ct .header__phone,
.header__ct .header__try {
    margin-top: 0.75rem;
    width: 100%;
}

.header-nav__item--action + .header-nav__item--action {
    margin-top: 0.5rem;
}

.header-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

.header-nav__item {
    order: 0;
}

.header-nav__item--lang {
    order: -2;
}

.header-nav__item--action {
    order: -1;
}

@media (min-width: 60rem) {
    .header__wrapper {
        padding: 1.25rem 3.125rem;
    }

    .header__ct .header__phone,
    .header__ct .header__try {
        width: auto;
        margin-top: 0;
    }

    .header-nav__item--action + .header-nav__item--action {
        margin-top: 0;
    }

    .header-nav {
        display: block !important;
    }

    .header-nav__list {
        flex-direction: row;
        align-items: center;
        gap: 1.125rem;
    }

    .header-nav__item {
        order: 1;
    }

    .header-nav__item--lang,
    .header-nav__item--action {
        order: 2;
    }

    .header-nav__item--lang {
        margin-left: auto !important;
    }

    /* Remove UIkit-injected gap between header bottom edge and dropdown */
    .header__ct .uk-dropdown {
        top: 4.875rem !important;
    }
}

/* ─── Mobile menu ─────────────────────────────────────────── */
@media (max-width: 959px) {

    /* ── Overlay container ── */
    #headerCt {
        display: none !important;
    }

    body.mobile-menu-open #headerCt {
        position: fixed !important;
        top: 1.875rem;         /* 30px */
        left: 1.875rem;        /* 30px */
        right: 1.875rem;       /* 30px */
        bottom: 1.875rem;      /* 30px */
        z-index: 9999;
        background: #ffffff;
        border-radius: 0;
        box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.18);
        overflow: hidden;
        display: flex !important;
        flex-direction: column;
        width: auto !important;
        padding: 0 !important;
    }

    /* 1. Hamburger — prevent X animation */
    .header__hamburger--open span:nth-child(1),
    .header__hamburger--open span:nth-child(4) {
        width: 100% !important;
        left: 0 !important;
    }
    .header__hamburger--open span:nth-child(2),
    .header__hamburger--open span:nth-child(3) {
        transform: none !important;
    }

    /* ── Backdrop ── */
    .header-mobile-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9998;
        background: rgba(0, 0, 0, 0.45);
    }

    body.mobile-menu-open .header-mobile-backdrop {
        display: block;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    /* ── Mobile top: logo + close ── */
    .header-mobile-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.5625rem; /* 20px 25px */
        flex-shrink: 0;
        width: 100%;
        box-sizing: border-box;
        border-bottom: 0.0625rem solid rgba(51, 51, 51, 0.08);
    }

    .header-mobile-top__logo {
        display: inline-flex;
        align-items: center;
    }

    .header-mobile-top__logo svg {
        width: 9rem;    /* ~144px, proportional to 211px */
        height: auto;
    }

    .header-mobile-top__close {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        padding: 0.25rem;
        cursor: pointer;
        flex-shrink: 0;
    }

    /* ── Scrollable nav area ── */
    .header__ct .header-nav {
        flex: 1 1 0;
        min-height: 0;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        padding-top: 0 !important;
    }

    .header-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1.25rem 1.5625rem 1.25rem; /* 20px 25px */
    }

    /* ── Hide old mobile bar, phone, CTA list items ── */
    .header-nav__item--mobile-row,
    .header-nav__item--action {
        display: none !important;
    }

    /* ── Top-level menu items (walker + lang) ── */
    .header-nav__item {
        border-bottom: 0.0625rem solid rgba(51, 51, 51, 0.08);
        order: 0;
    }

    /* Lang item goes after walker items */
    .header-nav__item--lang {
        display: block !important;
        order: 99;
        border-bottom: none;
    }

    /* 4. Remove uk-open / hover background on mobile */
    #headerCt .header-nav li a.uk-open,
    #headerCt .header-nav li a:hover {
        background: transparent !important;
        transition: none !important;
    }

    /* 5. Remove span margin-left inside nav links */
    #headerCt .header-nav li a span {
        margin-left: 0 !important;
    }

    .header-nav__item > a,
    .header-nav__item > .link--fetch,
    #headerCt .header-nav li > a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.1875rem 0; /* 19px */
        font-family: 'Uni Neue', sans-serif;
        font-size: 1.25rem;   /* 20px */
        font-weight: 700;
        line-height: 1.6875rem;
        color: #000000 !important;
        text-decoration: none;
        width: 100%;
        box-sizing: border-box;
        background: transparent !important;
        transition: none !important;
    }

    /* Chevron for items with submenus */
    .header-nav__item.has-accordion > a::after,
    .header-nav__item--lang > a::after {
        content: '';
        display: inline-block;
        width: 0.5625rem;   /* 9px */
        height: 0.5625rem;
        border-right: 0.125rem solid rgba(51, 51, 51, 0.5);
        border-bottom: 0.125rem solid rgba(51, 51, 51, 0.5);
        transform: rotate(45deg);
        transition: transform 0.25s ease;
        flex-shrink: 0;
        margin-left: 0.5rem;
    }

    .header-nav__item.has-accordion.is-open > a::after,
    .header-nav__item--lang.is-open > a::after {
        transform: rotate(-135deg);
    }

    /* Lang item text styling */
    .header-nav__item--lang > a > span {
        font-family: 'Uni Neue', sans-serif;
        font-size: 1.25rem;
        font-weight: 700;
        color: #000000;
    }

    /* ── Submenus: hidden by default, shown via .is-open class on parent ── */
    .header__ct .header-nav__item > div.sub-menu,
    .header__ct .header-nav__item > div.uk-dropdown {
        display: none !important;
        position: static !important;
        width: 100% !important;
        top: auto !important;
        left: auto !important;
        margin-top: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 0 1rem !important;
    }

    .header__ct .header-nav__item.is-open > div.sub-menu,
    .header__ct .header-nav__item.is-open > div.uk-dropdown {
        display: block !important;
    }

    .header__ct .header-nav__item--lang > ul.sub-menu,
    .header__ct .header-nav__item--lang > ul.uk-dropdown {
        display: none !important;
        position: static !important;
        list-style: none;
        padding: 0 0 1rem !important;
        margin: 0;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        width: 100% !important;
    }

    .header__ct .header-nav__item--lang.is-open > ul.sub-menu,
    .header__ct .header-nav__item--lang.is-open > ul.uk-dropdown {
        display: block !important;
    }

    .header__ct .header-nav__item--lang > ul li a {
        display: block;
        padding: 0.5rem 0;
        font-family: 'Roboto', sans-serif;
        font-size: 1rem;
        color: #333333 !important;
        text-decoration: none;
    }

    /* ── Submenu columns: stack vertically ── */
    .header__ct .header-nav__item .sub-menu .menu-wrapper,
    .header__ct .header-nav__item .uk-dropdown .menu-wrapper {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        max-width: 100% !important;
    }

    /* All columns: full width */
    .header__ct .header-nav__item .sub-menu .sub-menu-col,
    .header__ct .header-nav__item .uk-dropdown .sub-menu-col {
        flex: 1 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0.75rem 0 !important;
        border-left: none !important;
        border-radius: 0;
    }

    .header__ct .header-nav__item .sub-menu .sub-menu-col h3,
    .header__ct .header-nav__item .uk-dropdown .sub-menu-col h3 {
        font-family: 'Uni Neue', sans-serif;
        font-size: 1.25rem;   /* 20px */
        font-weight: 700;
        color: #111111;
        margin: 0 0 0.625rem;
    }

    /* Nav items inside submenu columns */
    .header__ct .nav__list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 0.625rem; /* 10px */
    }

    .header__ct .nav__item {
        border-radius: 0.75rem; /* 12px */
        margin: 0 !important;
    }

    .header__ct .nav__link,
    #headerCt .header-nav li a.nav__link {
        display: flex;
        align-items: center;
        justify-content: flex-start !important;
        gap: 0.75rem;          /* 12px */
        padding: 0.3125rem 0 !important; /* 5px */
        min-height: unset;
        text-decoration: none;
        color: #111111 !important;
        font-family: 'Uni Neue', sans-serif;
        font-size: 1.125rem;   /* 18px */
        font-weight: 700;
        line-height: 1rem;
        transition: none !important;
    }

    .header__ct .icon-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 2.625rem;       /* 42px */
        height: 2.625rem;
        background: #ffffff;
        border: 0.0625rem solid rgba(51, 51, 51, 0.15);
        border-radius: 0.5rem; /* 8px */
        box-sizing: border-box;
    }

    .header__ct .icon-wrapper__img {
        width: 1.875rem;       /* 30px */
        height: 1.875rem;
        object-fit: contain;
    }

    /* ── Resources column order: Links → Cases → Blog ── */
    .sub-menu-col--resources-cases { order: 20; }
    .sub-menu-col--resources-blog  { order: 30; }

    /* Case studies banners */
    .resources-case-banner {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 0.75rem !important;
        border-radius: 0.5rem !important;
        overflow: hidden !important;
    }
    .resources-case-banner:last-child {
        margin-bottom: 0 !important;
    }
    .resources-case-banner img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 284 / 62;
        max-height: none !important;
        object-fit: cover;
    }

    /* 6. Blog card */
    .sub-menu-col--resources-blog {
        margin-bottom: 0;
    }

    .resources-blog-card {
        display: block;
        width: 100%;
    }

    .resources-blog-card__thumb {
        display: block;
        width: 100%;
        border-radius: 0.5rem;
        overflow: hidden;
        margin-bottom: 0.625rem;
    }

    .resources-blog-card__thumb img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 438 / 220;
        object-fit: cover;
    }

    .resources-blog-card__content {
        padding: 0;
    }

    .resources-blog-card__title {
        font-family: 'Uni Neue', sans-serif;
        font-size: 1rem;
        font-weight: 700;
        color: #111111;
        margin: 0 0 0.25rem;
        line-height: 1.4;
    }

    .resources-blog-card__title a {
        color: #111111 !important;
        text-decoration: none;
        font-size: 1rem !important;
        font-weight: 700 !important;
        padding: 0 !important;
        background: transparent !important;
    }

    .resources-blog-card__date {
        font-family: 'Roboto', sans-serif;
        font-size: 0.75rem;
        color: #888888;
        margin: 0 0 0.625rem;
    }

    .resources-blog-card__all {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        font-family: 'Roboto', sans-serif;
        font-size: 0.875rem;
        font-weight: 700;
        color: #111111 !important;
        text-decoration: none;
        margin-top: 0.5rem;
    }

    /* ── Fixed CTA at bottom ── */
    .header-mobile-cta {
        flex-shrink: 0;
        width: 100%;
        box-sizing: border-box;
        padding: 1rem 1.5625rem; /* 16px 25px */
        border-top: 0.0625rem solid rgba(51, 51, 51, 0.08);
        background: #ffffff;
    }

    .header-mobile-cta__btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.625rem;
        width: 100%;
        height: 3.125rem;      /* 50px */
        background: #DA1884;
        border-radius: 0.375rem;
        font-family: 'Roboto', sans-serif;
        font-size: 1rem;       /* 16px */
        font-weight: 700;
        color: #ffffff;
        text-decoration: none;
        box-sizing: border-box;
        transition: background 0.15s;
    }

    .header-mobile-cta__btn:hover {
        background: #c41575;
        color: #ffffff;
    }
}

@media (min-width: 960px) {
    .header-mobile-top,
    .header-mobile-cta,
    .header-mobile-backdrop {
        display: none !important;
    }

    .header-nav__item--mobile-row {
        display: none !important;
    }
}

.footerv2 {
	padding: 3.75rem 1.875rem;
	background-color: #ffffff;
}

.footerv2__inner {
	max-width: 77.5rem;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1.875rem;
}

.footerv2__top {
	display: flex;
	flex-direction: column;
	gap: 1.75rem;
}

.footerv2__top-left {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.footerv2__logo {
	max-width: 12.6875rem;
}

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

.footerv2__description {
	font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	letter-spacing: 0.0125rem;
	color: #333333;
	margin: 0;
}

.footerv2__buttons {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.footerv2__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.3125rem 0.875rem;
	min-height: 2.75rem;
	border-radius: 0.375rem;
	font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 1rem;
	line-height: 1.1875rem;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.footerv2__btn--primary {
	background-color: #da1884;
	color: #ffffff;
}

.footerv2__btn--secondary {
	background-color: #e8e8e8;
	color: #333333;
}

.footerv2__btn:hover {
	opacity: 0.9;
}

.footerv2__btn--primary:hover {
	color: #ffffff !important;
}

.footerv2__btn--secondary:hover {
	color: #333333 !important;
}

.footerv2__top-right {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2.0625rem;
}

.footerv2__social {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1.375rem;
}

/* Unwrap text widget container so social items are direct flex children */
.footerv2__social .textwidget,
.footerv2__social .widget {
	display: contents;
}

.footerv2__social-item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.375rem;
	height: 2.375rem;
	border-radius: 0.375rem;
	background-color: #e8e8e8;
	text-decoration: none;
}

.footerv2__social-item svg {
	display: block;
	width: 1.25rem;
	height: 1.25rem;
}

.footerv2__columns {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.footerv2__col {
	display: flex;
	flex-direction: column;
	gap: 0.9375rem;
}

.footerv2__title {
	font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.5;
	letter-spacing: 0.0125rem;
	color: #333333;
	opacity: 0.8;
	margin: 0 0 1.2rem;
}

.footerv2 .widget + .widget {
	margin-top: 1.2rem;
}

.footerv2__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.3125rem;
}

.footerv2__item {
	margin: 0;
}

.footerv2__link {
	font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 1rem;
	line-height: 1.625rem;
	color: #333333;
	text-decoration: none;
	opacity: 0.8;
}

.footerv2__link:hover {
	text-decoration: underline;
}

.footerv2__group {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	margin-top: 1.25rem;
	margin-bottom: 0.9375rem;
}

.footerv2__contact {
	display: flex;
	flex-direction: column;
	gap: 0.9375rem;
}

.footerv2__contact-row {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 0.75rem;
}

/* Icon displayed inside a gray rounded box — matches social-item style */
.footerv2__contact-icon {
	display: block;
	width: 1.25rem;
	height: 1.25rem;
	padding: 0.5625rem;
	background-color: #e8e8e8;
	border-radius: 0.375rem;
	flex-shrink: 0;
	box-sizing: content-box;
}

.footerv2__contact-label {
	font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #333333;
}

.footerv2__contact-link {
	font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	font-weight: 600;
	font-size: 0.875rem;
	line-height: 2;
	color: #333333;
	text-decoration: underline;
}

.footerv2__contact-address {
	font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #333333;
	margin: 0;
}

.footerv2__cert {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	gap: 0.6875rem;
	padding: 0.625rem;
	border: 0.125rem solid #da1884;
	border-radius: 0.75rem;
	margin-top: 1.25rem;
}

.footerv2__cert-icon {
	width: 3.4375rem;
	height: 3.4375rem;
	flex-shrink: 0;
	display: block;
}

.footerv2__cert-title,
.footerv2__cert-desc {
	font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 1rem;
	line-height: 1.5;
	color: #333333;
	margin: 0;
}

.footerv2__cert-title {
	font-weight: 400;
}

.footerv2__cert-desc {
	font-weight: 400;
}

@media (min-width: 60rem) {
	.footerv2 {
		padding: 4.375rem 6.25rem;
	}

	.footerv2__inner {
		gap: 1.8125rem;
	}

	.footerv2__top {
		flex-direction: row;
		justify-content: space-between;
		align-items: flex-start;
	}

	.footerv2__buttons {
		flex-direction: row;
		align-items: center;
		gap: 1.25rem;
	}

	.footerv2__top-left {
		max-width: 43.0625rem;
	}

	.footerv2__top-right {
		align-items: flex-end;
	}

	.footerv2__columns {
		flex-direction: row;
		align-items: flex-start;
		gap: 1.25rem;
	}

	.footerv2__col {
		flex: 1 1 0;
	}

	.footerv2__col--4 {
		max-width: 17.5rem;
	}
}

/* Hide widget titles in footer */
.footerv2 .widget-title,
.footerv2 .footerv2__widget-title {
	display: none;
}

/* Style WP Navigation Menu widget to match footerv2 custom HTML lists */
.footerv2 .widget_nav_menu .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.3125rem;
}

.footerv2 .widget_nav_menu .menu li {
	margin: 0;
}

.footerv2 .widget_nav_menu .menu li a {
	font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
	font-size: 1rem;
	line-height: 1.625rem;
	color: #333333;
	text-decoration: none;
	opacity: 0.8;
}

.footerv2 .widget_nav_menu .menu li a:hover {
	text-decoration: underline;
}

/* Hide submenu arrows/indicators in footer menu widgets */
.footerv2 .widget_nav_menu .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.3125rem;
}

