@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&family=Michroma&display=swap');

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Website admin shell -------------------------------------------------- */
.blog-admin-page {
    --admin-navy: #17233c;
    --admin-muted: #6b778d;
    --admin-line: #e5e9f1;
    --admin-blue: #2563eb;
    min-height: 100vh;
    background: #f6f7fb;
    color: var(--admin-navy);
}

.blog-admin-page *,
.blog-admin-page *::before,
.blog-admin-page *::after {
    box-sizing: border-box;
}

.admin-app-shell {
    min-height: 100vh;
}

.admin-sidebar {
    position: fixed;
    z-index: 30;
    inset: 0 auto 0 0;
    display: flex;
    width: 248px;
    flex-direction: column;
    border-right: 1px solid #24324b;
    background: #111b2e;
    color: #fff;
}

.admin-brand {
    display: grid;
    gap: 9px;
    min-height: 112px;
    padding: 24px 22px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.admin-brand img {
    width: 174px;
    max-height: 42px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
}

.admin-brand span {
    color: #8390a8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.admin-nav {
    display: grid;
    gap: 5px;
    padding: 20px 13px;
}

.admin-nav-item {
    display: grid;
    grid-template-columns: 27px 1fr auto;
    align-items: center;
    min-height: 46px;
    padding: 9px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #aeb8ca;
    font: inherit;
    font-size: 14px;
    font-weight: 650;
    text-align: left;
    cursor: pointer;
}

.admin-nav-item:hover,
.admin-nav-item.active {
    background: #22314e;
    color: #fff;
}

.admin-nav-item.active {
    box-shadow: inset 3px 0 var(--admin-blue);
}

.admin-nav-icon {
    font-size: 18px;
    line-height: 1;
}

.admin-nav-count {
    display: grid;
    min-width: 23px;
    height: 21px;
    place-items: center;
    padding: 0 6px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .1);
    color: #d6dce7;
    font-size: 10px;
}

.admin-nav-separator {
    height: 1px;
    margin: 12px 10px;
    background: rgba(255, 255, 255, .08);
}

.admin-sidebar-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding: 19px 22px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #8390a8;
    font-size: 11px;
}

.admin-connection-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .12);
}

.admin-workspace {
    min-height: 100vh;
    margin-left: 248px;
}

.admin-topbar {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    align-items: center;
    min-height: 72px;
    padding: 10px 34px;
    border-bottom: 1px solid var(--admin-line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
}

.admin-topbar > div:first-of-type {
    display: grid;
    gap: 1px;
}

.admin-topbar strong {
    font-size: 15px;
}

.admin-topbar span {
    color: var(--admin-muted);
    font-size: 11px;
}

.admin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
}

.admin-view-site,
.admin-text-button {
    border: 0;
    background: transparent;
    color: #4f5e76;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.admin-view-site:hover,
.admin-text-button:hover {
    color: var(--admin-blue);
}

.admin-user-button {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #e7efff;
    color: #194cb8;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.admin-menu-toggle {
    display: none;
    margin-right: 12px;
    border: 0;
    background: transparent;
    color: var(--admin-navy);
    font-size: 23px;
}

.blog-admin-page .admin-main {
    width: 100%;
    max-width: 1510px;
    margin: 0 auto;
    padding: 34px 38px 70px;
}

.admin-view {
    animation: admin-view-in .18s ease-out;
}

@keyframes admin-view-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}

.admin-page-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.admin-page-heading.compact {
    margin-bottom: 23px;
}

.admin-page-heading h1 {
    margin: 4px 0 5px;
    color: var(--admin-navy);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.1;
    letter-spacing: -.035em;
}

.admin-page-heading p,
.admin-card-heading p {
    margin: 0;
    color: var(--admin-muted);
    font-size: 13px;
}

.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
}

.admin-stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 112px;
    padding: 22px;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(23, 35, 60, .035);
}

.admin-stat-card > div {
    display: grid;
    gap: 2px;
}

.admin-stat-card strong {
    color: var(--admin-navy);
    font-size: 26px;
    line-height: 1;
}

.admin-stat-card div span {
    color: var(--admin-muted);
    font-size: 11px;
}

.admin-stat-icon {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;
    border-radius: 10px;
    font-size: 18px;
}

.admin-stat-icon.blue { background: #e7efff; color: #2563eb; }
.admin-stat-icon.green { background: #e5f8ef; color: #059669; }
.admin-stat-icon.amber { background: #fff3db; color: #d97706; }
.admin-stat-icon.violet { background: #f1eaff; color: #7c3aed; }

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
    gap: 20px;
}

.admin-card {
    overflow: hidden;
    border: 1px solid var(--admin-line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(23, 35, 60, .035);
}

.admin-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 78px;
    padding: 19px 22px;
    border-bottom: 1px solid var(--admin-line);
}

.admin-card-heading h2 {
    margin: 0 0 2px;
    font-size: 15px;
}

.admin-recent-list {
    display: grid;
}

.admin-recent-item {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    padding: 11px 22px;
    border: 0;
    border-bottom: 1px solid #eff1f5;
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.admin-recent-item:hover {
    background: #f8faff;
}

.admin-recent-item > span:nth-child(2) {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.admin-recent-item strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-recent-item small {
    color: var(--admin-muted);
    font-size: 10px;
}

.admin-recent-marker {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 8px;
    background: #edf3ff;
    color: #315cae;
    font-size: 12px;
    font-weight: 800;
}

.admin-post-badge {
    width: max-content;
    padding: 4px 8px;
    border-radius: 20px;
    font-style: normal;
    font-size: 9px;
    font-weight: 750;
}

.admin-post-badge.published { background: #e7f7ef; color: #047857; }
.admin-post-badge.draft { background: #fff2d9; color: #b45309; }

.admin-quick-actions {
    display: grid;
    padding: 10px 14px 16px;
}

.admin-quick-actions > * {
    display: grid;
    grid-template-columns: 35px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 65px;
    padding: 10px;
    border: 0;
    border-radius: 9px;
    background: #fff;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.admin-quick-actions > *:hover {
    background: #f4f7fd;
}

.admin-quick-actions > * > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #dce4f3;
    border-radius: 8px;
    color: #315cae;
}

.admin-quick-actions div {
    display: grid;
    gap: 2px;
}

.admin-quick-actions strong {
    font-size: 12px;
}

.admin-quick-actions small {
    color: var(--admin-muted);
    font-size: 10px;
}

.blog-admin-page .admin-toolbar {
    margin-bottom: 14px;
    border-color: var(--admin-line);
    border-radius: 11px;
    box-shadow: 0 3px 14px rgba(23, 35, 60, .025);
}

.admin-blog-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.admin-search {
    display: flex;
    align-items: center;
    width: min(420px, 100%);
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #d4dbe7;
    border-radius: 9px;
    background: #fff;
    color: #7d899e;
}

.admin-search input,
.admin-blog-filters select {
    min-height: 40px;
    border: 0;
    outline: 0;
    background: #fff;
    color: var(--admin-navy);
    font: inherit;
    font-size: 12px;
}

.admin-search input {
    width: 100%;
}

.admin-blog-filters select {
    padding: 0 34px 0 12px;
    border: 1px solid #d4dbe7;
    border-radius: 9px;
}

.blog-admin-page .admin-layout {
    grid-template-columns: 285px minmax(0, 1fr);
    gap: 18px;
}

.blog-admin-page .admin-post-panel,
.blog-admin-page .admin-editor-panel {
    border-color: var(--admin-line);
    border-radius: 12px;
    box-shadow: 0 3px 14px rgba(23, 35, 60, .035);
}

.admin-panel-heading > span {
    color: var(--admin-muted);
    font-size: 11px;
}

.admin-post-item {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 14px;
}

.admin-post-item strong,
.admin-post-item > span {
    grid-column: 1 / -1;
}

.admin-post-item .admin-post-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
}

.admin-editor-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -2px 0 22px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--admin-line);
}

.admin-editor-heading h2 {
    margin: 2px 0 0;
    font-size: 20px;
}

.admin-editor-state {
    padding: 5px 10px;
    border-radius: 20px;
    background: #edf3ff;
    color: #315cae;
    font-size: 10px;
    font-weight: 750;
}

.admin-coming-card {
    display: grid;
    min-height: 420px;
    place-items: center;
    align-content: center;
    padding: 45px 25px;
    border: 1px solid var(--admin-line);
    border-radius: 14px;
    background: #fff;
    text-align: center;
    box-shadow: 0 3px 14px rgba(23, 35, 60, .035);
}

.admin-coming-card h2 {
    max-width: 540px;
    margin: 8px 0;
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.admin-coming-card p {
    max-width: 570px;
    color: var(--admin-muted);
    font-size: 13px;
}

.admin-coming-icon {
    display: grid;
    width: 66px;
    height: 66px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 18px;
    background: #e9f0ff;
    color: #315cae;
    font-size: 28px;
}

.admin-feature-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.admin-feature-pills span {
    padding: 8px 12px;
    border: 1px solid #dce4f3;
    border-radius: 30px;
    color: #53627a;
    font-size: 10px;
    font-weight: 700;
}

.admin-login-logo {
    display: block;
    width: 190px;
    margin-bottom: 22px;
}

.admin-login-logo img {
    width: 100%;
}

@media (max-width: 1050px) {
    .admin-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform .2s ease;
        box-shadow: 20px 0 50px rgba(7, 16, 33, .25);
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-workspace {
        margin-left: 0;
    }

    .admin-menu-toggle {
        display: block;
    }

    .admin-topbar {
        padding: 10px 18px;
    }

    .blog-admin-page .admin-main {
        padding: 26px 18px 60px;
    }

    .blog-admin-page .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-post-panel {
        position: static;
    }
}

@media (max-width: 560px) {
    .admin-page-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }

    .admin-stat-grid {
        grid-template-columns: 1fr;
    }

    .admin-stat-card {
        min-height: 90px;
    }

    .admin-blog-filters {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-blog-filters select {
        width: 100%;
    }

    .admin-view-site {
        display: none;
    }

    .admin-recent-item {
        grid-template-columns: 34px minmax(0, 1fr);
        padding: 10px 14px;
    }

    .admin-recent-item .admin-post-badge {
        display: none;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 10px 25px rgba(30, 64, 175, .25);
    }

    50% {
        box-shadow: 0 10px 40px rgba(30, 64, 175, .4);
    }
}

@keyframes menuReveal {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

:root {
    --bg: #0a1428;
    --blue: #1e40af;
    --cyan: #0369a1;
    --orange: #10b981;
    --accent: #10b981;
    --text: #0f172a;
    --muted: #64748b;
    --soft: #eff6ff;
    --white: #fff;
    --border: #bfdbfe
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: #fff
}

a {
    text-decoration: none;
    color: inherit
}

.container {
    width: min(1180px, 92%);
    margin: auto
}

.top {
    background: linear-gradient(135deg, #1e40af 0%, #0ea5e9 100%);
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: none;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -.5px;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    max-width: 180px;
    animation: float 4s ease-in-out infinite;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo span {
    color: #10b981
}

.menu {
    display: flex;
    gap: 26px;
    align-items: center
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 10px 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 15px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.24), 0 10px 24px rgba(15, 23, 42, 0.2);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    margin: 5px 0;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.24);
    transition: transform 0.3s ease, opacity 0.2s ease, width 0.25s ease;
}

.nav-toggle:hover {
    transform: translateY(-1px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.3), rgba(16, 185, 129, 0.16));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 13px 28px rgba(15, 23, 42, 0.25);
}

.nav-toggle:focus-visible {
    outline: 3px solid #a7f3d0;
    outline-offset: 3px;
}

.menu a,
.dropbtn {
    font-weight: 600;
    color: #dbeafe;
    transition: background 0.3s ease, color 0.3s ease;
    padding: 10px 12px;
    border-radius: 14px;
}

.menu a:hover,
.dropbtn:hover,
.dropdown:focus-within .dropbtn {
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
}

.menu a:after {
    display: none;
}

.dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropbtn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
}

.dropbtn::after {
    content: "▼";
    font-size: 11px;
    margin-left: 4px;
    transition: transform 0.25s ease;
}

.submenu-toggle {
    display: none;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    min-width: 240px;
    padding: 10px 0;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scaleY(0.92);
    transform-origin: top left;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.dropdown-content a {
    display: block;
    padding: 14px 20px;
    color: #dbeafe;
    white-space: nowrap;
    font-size: 16px;
    border-radius: 14px;
    margin: 4px 10px;
    transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-content a:hover {
    background: rgba(16, 185, 129, 0.14);
    color: #10b981;
}

.nested-dropdown {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.dropdown-content .nested-link {
    min-width: 0;
    margin-right: 2px;
}

.nested-toggle {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-right: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    color: #dbeafe;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.nested-toggle::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.25s ease, margin 0.25s ease;
}

.nested-toggle:hover,
.nested-toggle:focus-visible {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.16);
}

.nested-toggle:focus-visible {
    outline: 2px solid #a7f3d0;
    outline-offset: 2px;
}

.nested-content {
    position: absolute;
    top: -10px;
    left: calc(100% - 4px);
    min-width: 250px;
    padding: 10px 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    background: #111827;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.nested-dropdown:hover .nested-content,
.nested-dropdown:focus-within .nested-content,
.nested-dropdown.nested-open .nested-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nested-dropdown.nested-open .nested-toggle::before {
    margin-left: 4px;
    transform: rotate(225deg);
}

@media (min-width: 1201px) {
    .dropdown > .dropbtn:hover ~ .dropdown-content,
    .dropdown > .dropdown-content:hover,
    .dropdown:focus-within > .dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scaleY(1);
    }

    .dropdown > .dropbtn:hover::after,
    .dropdown:focus-within .dropbtn::after {
        transform: rotate(180deg);
    }
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: #fff;
    padding: 13px 22px;
    border-radius: 10px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(30, 64, 175, .25);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(30, 64, 175, .35)
}

.btn.orange {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 10px 25px rgba(16, 185, 129, .25)
}

.btn.orange:hover {
    box-shadow: 0 15px 35px rgba(16, 185, 129, .35)
}

.hero {
    background: linear-gradient(180deg, rgba(2, 132, 199, 0.96), rgba(15, 23, 42, 0.88)), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1200&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 90px 0
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 45px;
    align-items: center
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 8px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
    color: #bfdbfe;
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.625rem);
    line-height: 1.06;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: clamp(1rem, 1.7vw, 1.1875rem);
    color: #cbd5e1;
    margin-bottom: 30px
}

.hero-card {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 22px;
    color: #fff;
}

.hero-card h3 {
    font-size: clamp(1.25rem, 2.2vw, 1.5rem);
    margin-bottom: 18px;
    color: #fff;
}

.hero-card .check li {
    color: #e0f2fe;
}

.check {
    list-style: none
}

.check li {
    padding: 10px 0;
    color: #334155;
}

.check li:before {
    content: '✓';
    color: #10b981;
    font-weight: bold;
    margin-right: 10px
}

.section {
    padding: 76px 0
}

.section.soft {
    background: var(--soft)
}

.title {
    text-align: center;
    margin-bottom: 42px
}

.title h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.375rem);
    letter-spacing: -.8px
}

.title p {
    color: var(--muted);
    font-size: clamp(1rem, 1.6vw, 1.125rem)
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px
}

.service-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.service-links a {
    display: inline-block;
    padding: 11px 18px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    transition: all 0.25s ease;
}

.service-links a:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 24px 0 0;
}

.photo-card {
    min-width: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.photo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.photo-card div {
    padding: 22px;
}

.photo-card h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #1e40af;
}

.photo-card p {
    color: var(--muted);
    line-height: 1.7;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 15px 35px rgba(15, 23, 42, .06);
    transition: all 0.3s ease;
}

.process-box {
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(59, 130, 246, 0.16);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}

.process-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30, 64, 175, 0.05), transparent 45%);
    pointer-events: none;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-top: 24px;
    align-items: stretch;
    position: relative;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, #1e40af, #10b981);
    transform: translateY(-50%);
    z-index: 0;
}

.gtm-process-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 32px;
    width: 100%;
}

.gtm-process-steps::before {
    display: none;
}

.gtm-process-steps .step-card {
    grid-column: auto;
    min-height: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
}

.gtm-process-steps .step-card:nth-child(5) {
    grid-column: 4;
    grid-row: 2;
}

.gtm-process-steps .step-card:nth-child(6) {
    grid-column: 3;
    grid-row: 2;
}

.gtm-process-steps .step-card:nth-child(7) {
    grid-column: 2;
    grid-row: 2;
}

.gtm-process-steps .step-card:nth-child(8) {
    grid-column: 1;
    grid-row: 2;
}

.gtm-process-steps .step-card::after {
    position: absolute;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 4px solid #f8fbff;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.28);
}

.gtm-process-steps .step-card:nth-child(-n+3)::after {
    content: "\2192";
    top: 50%;
    right: -34px;
    transform: translateY(-50%);
}

.gtm-process-steps .step-card:nth-child(4)::after {
    content: "\2193";
    right: 50%;
    bottom: -34px;
    transform: translateX(50%);
}

.gtm-process-steps .step-card:nth-child(n+5):nth-child(-n+7)::after {
    content: "\2190";
    top: 50%;
    left: -34px;
    transform: translateY(-50%);
}

.gtm-process-steps .step-card:last-child::after {
    display: none;
}

/* Keep the five-step GA4 process evenly balanced on wide screens. */
@media(min-width:1201px) {
    .ga4-process-steps {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 18px;
    }

    .ga4-process-steps .step-card:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    .ga4-process-steps .step-card:nth-child(-n+4)::after {
        content: "\2192";
        top: 50%;
        right: -25px;
        bottom: auto;
        left: auto;
        display: grid;
        transform: translateY(-50%);
    }

    .ga4-process-steps .step-card:last-child::after {
        display: none;
    }
}

.step-card {
    background: #fff;
    border: 1px solid rgba(191, 219, 254, 0.9);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    z-index: 1;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.step-number {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1e40af, #0ea5e9);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-bottom: 12px;
}

.step-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
    color: #1e40af;
}

.step-card p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
    font-size: 14px;
}

.info-box {
    background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(59, 130, 246, 0.16);
    border-radius: 28px;
    padding: 36px;
    color: #0f172a;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    margin-top: 24px;
    position: relative;
    overflow: hidden;
}

.info-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(30, 64, 175, 0.06), transparent 45%);
    pointer-events: none;
}

.info-box p {
    margin-bottom: 18px;
    color: #334155;
    line-height: 1.8;
}

.info-box p:last-child {
    margin-bottom: 0;
}

.info-box+.card {
    margin-top: 28px;
}

.ga4-photo-split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 0;
    align-items: stretch;
    margin: 34px 0;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.16);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.ga4-photo-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 42px;
}

.ga4-photo-content .title {
    margin-bottom: 22px;
    text-align: left;
}

.ga4-photo-content .title h2 {
    position: relative;
    padding-bottom: 16px;
}

.ga4-photo-content .title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 58px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1e40af, #10b981);
}

.ga4-professional-copy p {
    margin-bottom: 18px;
    color: #475569;
    line-height: 1.75;
}

.ga4-professional-copy p:last-child {
    margin-bottom: 0;
}

.ga4-professional-lead {
    color: #1e293b !important;
    font-size: 17px;
    font-weight: 600;
}

.ga4-audit-note {
    padding: 18px 20px;
    border-left: 4px solid #10b981;
    border-radius: 0 14px 14px 0;
    background: #f0fdf4;
}

.ga4-photo-column {
    position: relative;
    min-height: 560px;
    overflow: hidden;
}

.ga4-photo-column::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(15, 23, 42, 0.28));
    pointer-events: none;
}

.ga4-photo-column img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gtm-photo-split .ga4-photo-column {
    min-height: 400px;
}

.ga4-importance-split {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: stretch;
    margin-bottom: 32px;
}

.ga4-importance-photo {
    min-height: 480px;
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.1);
}

.ga4-importance-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.ga4-importance-content {
    margin-top: 0;
}

.gtm-setup-box {
    padding: 0;
    background: #fff;
}

.gtm-setup-box::before {
    background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.1), transparent 34%);
}

.gtm-setup-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    position: relative;
    z-index: 1;
}

.gtm-setup-panel,
.gtm-benefits-panel {
    padding: 38px;
}

.gtm-setup-box h2 {
    margin-bottom: 24px;
    color: #0f172a;
    font-size: 28px;
    line-height: 1.25;
}

.gtm-component-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    list-style: none;
}

.gtm-component-list li {
    position: relative;
    min-height: 130px;
    padding: 20px 20px 20px 58px;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.88);
    color: #475569;
    line-height: 1.65;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.gtm-component-list li:last-child {
    grid-column: 1 / -1;
    min-height: auto;
}

.gtm-component-list li::before {
    content: counter(list-item);
    position: absolute;
    top: 20px;
    left: 18px;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: linear-gradient(135deg, #1e40af, #0ea5e9);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.gtm-component-list strong {
    display: block;
    margin-bottom: 4px;
    color: #1e40af;
    font-size: 17px;
}

.gtm-benefits-panel {
    background: linear-gradient(145deg, #0f2f74 0%, #075985 100%);
    color: #fff;
}

.gtm-benefits-panel h2 {
    color: #fff;
}

.gtm-benefits-list {
    display: grid;
    gap: 10px;
}

.gtm-benefits-list li {
    position: relative;
    padding: 13px 14px 13px 46px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #e0f2fe;
    line-height: 1.5;
}

.gtm-benefits-list li::before {
    position: absolute;
    left: 15px;
    top: 13px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    margin: 0;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    font-size: 13px;
}

.gtm-avoid-list {
    margin: 16px 0 22px;
}

.gtm-avoid-list li {
    position: relative;
    padding: 8px 0 8px 34px;
    color: #334155;
}

.gtm-avoid-list li::before {
    content: "\2715";
    position: absolute;
    top: 50%;
    left: 0;
    width: auto;
    height: auto;
    margin: 0;
    transform: translateY(-50%);
    background: none;
    color: #ef4444;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.gtm-avoid-list li:last-child {
    grid-column: auto;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(15, 23, 42, .15);
}

.ga4-page .card:hover {
    transform: none;
    box-shadow: 0 15px 35px rgba(15, 23, 42, .06);
}

.card h3 {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    margin-bottom: 10px;
    color: #1e40af
}

.card p {
    color: var(--muted)
}

.about-team-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.about-team-section::before {
    content: "";
    position: absolute;
    top: 70px;
    right: -130px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1), transparent 68%);
    pointer-events: none;
}

.about-team-grid {
    align-items: stretch;
    gap: 28px;
}

.about-team-intro {
    padding: 34px;
    border: 1px solid rgba(59, 130, 246, 0.18);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.07);
}

.about-team-intro h3 {
    position: relative;
    margin-bottom: 16px;
    padding-bottom: 14px;
    color: #1e40af;
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    font-weight: 600;
}

.about-team-intro h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 52px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1e40af, #10b981);
}

.about-team-intro > p {
    color: #475569;
    line-height: 1.8;
}

.about-team-intro .list {
    display: grid;
    gap: 9px;
    margin-top: 22px;
    list-style: none;
}

.about-team-intro .list li {
    margin: 0;
    padding: 7px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    font-weight: 400;
}

.about-team-intro .list li:last-child {
    border-bottom: 0;
}

.about-values-card {
    padding: 34px;
    border-color: rgba(255, 255, 255, 0.14);
    background: linear-gradient(145deg, #102f70 0%, #075985 100%);
    box-shadow: 0 20px 48px rgba(30, 64, 175, 0.2);
}

.about-values-card:hover {
    transform: none;
    box-shadow: 0 20px 48px rgba(30, 64, 175, 0.24);
}

.about-values-card h3 {
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(1.35rem, 2.2vw, 1.7rem);
    font-weight: 600;
}

.about-values-card p {
    margin-top: 0;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.08);
    color: #e0f2fe;
    line-height: 1.65;
}

.about-values-card p + p {
    margin-top: 10px;
}

.about-values-card strong {
    color: #6ee7b7;
    font-weight: 600;
}

.blog-card {
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.blog-date {
    color: #94a3b8;
}

.blog-category {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
}

.read-more {
    color: #1e40af;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    transition: all 0.3s ease;
    display: inline-block;
}

.read-more:hover {
    color: #10b981;
    transform: translateX(5px);
}

.icon {
    font-size: 34px;
    margin-bottom: 12px;
    animation: float 3s ease-in-out infinite;
}

.stat {
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 26px;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 45px rgba(30, 64, 175, .2);
}

.ga4-page .stat:hover {
    transform: none;
    box-shadow: 0 15px 35px rgba(30, 64, 175, .1);
}

.stat h3 {
    font-size: 36px;
    color: #10b981
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.feature {
    margin-bottom: 24px;
}

.feature:last-child {
    margin-bottom: 0;
}

.list {
    margin-top: 18px
}

.list li {
    margin: 10px 0;
    color: #334155
}

.cta {
    background: linear-gradient(135deg, #1e40af, #0369a1);
    color: #fff;
    border-radius: 28px;
    padding: 55px;
    text-align: center;
    transition: all 0.3s ease;
}

.cta:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(30, 64, 175, .3);
}

.cta h2 {
    font-size: clamp(1.75rem, 3.4vw, 2.375rem)
}

.cta p {
    margin: 12px 0 24px;
    color: #e0f2fe
}

.page-hero {
    background: linear-gradient(135deg, #1e40af 0%, #0369a1 100%);
    color: #fff;
    padding: 70px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: clamp(2rem, 4.3vw, 2.875rem);
}

.page-hero p {
    color: #e0f2fe;
    font-size: clamp(1rem, 1.6vw, 1.125rem);
}

.form {
    display: grid;
    gap: 16px
}

.form-group {}

.form input,
.form textarea,
.form select {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #fff;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
}

.form input::placeholder,
.form textarea::placeholder {
    color: #94a3b8;
}

.form textarea {
    height: 140px;
    resize: vertical;
}

.contact-info {}

.contact-info h2 {
    color: #1e40af;
    margin-bottom: 20px;
}

.contact-details {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(30, 64, 175, 0.05);
    border-left: 4px solid #10b981;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: rgba(30, 64, 175, 0.1);
    transform: translateX(5px);
}

.detail-icon {
    font-size: 28px;
    min-width: 40px;
}

.detail-item strong {
    color: #1e40af;
    display: block;
    margin-bottom: 5px;
}

.detail-item p {
    color: #64748b;
    margin: 0;
}

.contact-form-card {}

.contact-form-card h3 {
    color: #1e40af;
    text-align: center;
    margin-bottom: 30px;
}

.contact-label {
    display: block;
    margin-bottom: 7px;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.contact-form-status {
    display: none;
    margin: -10px 0 22px;
    padding: 14px 16px;
    border: 1px solid #86efac;
    border-radius: 10px;
    background: #f0fdf4;
    color: #166534;
    line-height: 1.6;
}

.contact-form-status:target {
    display: block;
}

.contact-form-status[data-type="error"] {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.contact-form-status:focus {
    outline: 3px solid rgba(30, 64, 175, 0.18);
    outline-offset: 2px;
}

.contact-fallback {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.contact-fallback a,
.detail-item a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-form-card button[type="submit"]:disabled {
    cursor: wait;
    opacity: .72;
    transform: none;
}

.contact-recaptcha {
    overflow: hidden;
}

.contact-recaptcha-error {
    margin: 8px 0 0;
    color: #b91c1c;
    font-size: .8rem;
    font-weight: 650;
    line-height: 1.45;
}

@media (max-width: 420px) {
    .contact-recaptcha .g-recaptcha {
        margin-bottom: -14px;
        transform: scale(.82);
        transform-origin: left top;
    }
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-item {
    border: 1px solid rgba(191, 219, 254, 0.9);
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.faq-question {
    width: 100%;
    background: linear-gradient(90deg, rgba(239, 246, 255, 0.9), rgba(255, 255, 255, 0.95));
    border: none;
    text-align: left;
    padding: 20px 22px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.faq-question span {
    color: #1e40af;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-answer {
    background: linear-gradient(90deg, rgba(239, 246, 255, 0.9), rgba(255, 255, 255, 0.95));
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 22px;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 22px 20px;
}

.faq-item.active .faq-question span {
    transform: rotate(45deg);
}

@media(max-width:1200px) {
    .ga4-photo-split {
        grid-template-columns: 1fr;
    }

    .ga4-photo-column {
        min-height: 320px;
    }

    .gtm-photo-split .ga4-photo-column {
        min-height: 300px;
    }

    .ga4-photo-content {
        padding: 30px;
    }

    .ga4-importance-split {
        grid-template-columns: 1fr;
    }

    .ga4-importance-photo {
        min-height: 300px;
    }

    .gtm-setup-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .gtm-process-steps .step-card,
    .gtm-process-steps .step-card:nth-child(n) {
        grid-column: auto;
        grid-row: auto;
    }

    .gtm-process-steps {
        gap: 22px;
    }

    .process-steps::before {
        display: none;
    }

    .step-card::after {
        display: none;
    }

    .process-steps .step-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc(50% - 11px);
        justify-self: center;
    }

    .nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0 16px;
        padding: 14px 0;
    }

    .nav-toggle {
        display: block;
    }

    .menu {
        display: none;
        grid-column: 1 / -1;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 4px;
        width: 100%;
        max-height: calc(100vh - 170px);
        margin-top: 14px;
        padding: 12px;
        overflow-y: auto;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 22px;
        background: linear-gradient(160deg, rgba(15, 47, 103, 0.98), rgba(10, 20, 40, 0.98));
        box-shadow: 0 24px 55px rgba(15, 23, 42, 0.34);
        backdrop-filter: blur(18px);
    }

    .nav.is-open .menu {
        display: flex;
        animation: menuReveal 0.28s ease both;
    }

    .menu > a,
    .dropbtn {
        width: 100%;
        padding: 12px 14px;
        text-align: left;
    }

    .dropdown {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: stretch;
        width: 100%;
    }

    .dropbtn::after {
        display: none;
    }

    .submenu-toggle {
        display: grid;
        place-items: center;
        align-self: center;
        width: 40px;
        height: 40px;
        margin-right: 4px;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
        color: #dbeafe;
        cursor: pointer;
        transition: background 0.25s ease, transform 0.25s ease;
    }

    .submenu-toggle::before {
        content: "";
        width: 9px;
        height: 9px;
        margin-top: -4px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
        transition: transform 0.3s ease, margin 0.3s ease;
    }

    .submenu-toggle:hover,
    .submenu-toggle:focus-visible {
        background: rgba(16, 185, 129, 0.18);
        color: #6ee7b7;
    }

    .submenu-toggle:focus-visible {
        outline: 2px solid #a7f3d0;
        outline-offset: 2px;
    }

    .nav .dropdown > .dropdown-content {
        position: static;
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        max-height: 0;
        padding: 0 0 0 12px;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transform: none;
        border: 0;
        border-left: 2px solid rgba(16, 185, 129, 0.55);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
    }

    .nav .dropdown.submenu-open > .dropdown-content {
        max-height: 480px;
        padding: 6px 0 6px 12px;
        opacity: 1;
        visibility: visible;
    }

    .dropdown.submenu-open .submenu-toggle::before {
        margin-top: 4px;
        transform: rotate(225deg);
    }

    .nested-dropdown {
        grid-template-columns: minmax(0, 1fr) auto;
        width: 100%;
    }

    .nested-toggle {
        width: 36px;
        height: 36px;
        margin-right: 4px;
    }

    .nested-toggle::before {
        margin-top: -4px;
        margin-left: 0;
        border-top: 0;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(45deg);
    }

    .nav .nested-dropdown .nested-content {
        position: static;
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        max-height: 0;
        padding: 0 0 0 12px;
        overflow: hidden;
        border: 0;
        border-left: 2px solid rgba(14, 165, 233, 0.55);
        border-radius: 0;
        background: rgba(15, 23, 42, 0.24);
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        transform: none;
        transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.22s ease, visibility 0.22s ease;
    }

    .nav .nested-dropdown.nested-open .nested-content {
        max-height: 160px;
        padding: 5px 0 5px 12px;
        opacity: 1;
        visibility: visible;
    }

    .nested-dropdown.nested-open .nested-toggle::before {
        margin-top: 4px;
        margin-left: 0;
        transform: rotate(225deg);
    }

    .dropdown-content a {
        margin: 2px 0;
        padding: 10px 14px;
        white-space: normal;
        font-size: 14px;
    }

    .nav > .home-nav-cta {
        display: none;
        grid-column: 1 / -1;
        margin-top: 12px;
    }

    .nav.is-open > .home-nav-cta {
        display: block;
    }

    .nav.is-open .nav-toggle {
        border-color: rgba(110, 231, 183, 0.55);
        background: linear-gradient(145deg, rgba(16, 185, 129, 0.34), rgba(14, 165, 233, 0.18));
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 12px 30px rgba(5, 150, 105, 0.25);
    }

    .nav.is-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav.is-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .nav.is-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-grid,
    .split,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .hero-card,
    .card,
    .cta,
    .contact-form-card,
    .detail-item {
        padding: 22px;
    }

    .contact-details {
        gap: 15px;
    }

    .detail-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-icon {
        min-width: auto;
    }

    .btn,
    .btn.orange {
        width: 100%;
        text-align: center;
    }

    .section {
        padding: 56px 0;
    }

    .home-page .hero {
        padding: 68px 0;
    }

    .home-page .hero .btn,
    .home-page .section .btn {
        width: auto;
    }

}

@media(min-width:901px) and (max-width:1200px) {
    .home-page .hero-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
        gap: 32px;
    }

    .home-page .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .grid-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .home-page .split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .home-page .hero-card,
    .home-page .card {
        padding: 26px;
    }

    .home-page .cta {
        padding: 42px 34px;
    }

    .home-page .section {
        padding: 68px 0;
    }
}

@media(max-width:900px) {
    .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .photo-grid .photo-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc(50% - 9px);
        justify-self: center;
    }

    .photo-card img {
        height: clamp(190px, 34vw, 230px);
    }
}

@media(min-width:601px) and (max-width:1024px) {
    .services-page .page-hero {
        padding: 58px 0;
    }

    .services-page .section {
        padding: 62px 0;
    }

    .services-page .photo-grid,
    .services-page .services-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .services-page .photo-grid .photo-card:last-child:nth-child(odd),
    .services-page .services-list-grid .card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc(50% - 10px);
        justify-self: center;
    }

    .services-page .photo-card img {
        height: clamp(205px, 28vw, 250px);
    }

    .services-page .photo-card div,
    .services-page .services-list-grid .card {
        padding: 24px;
    }

    .services-page .services-list-grid .card {
        min-height: 150px;
    }
}

@media(max-width:600px) {
    .hero p,
    .hero-card li,
    .section p,
    .section li {
        font-size: 0.96875rem;
        line-height: 1.75;
        text-align: justify;
        text-justify: inter-word;
        overflow-wrap: anywhere;
        hyphens: auto;
    }

    .title p,
    .cta p,
    .stat p {
        text-align: center;
    }

    .nav {
        padding: 14px 0;
    }

    .logo-img {
        height: 40px;
    }

    .photo-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        margin-top: 10px;
    }

    .photo-grid .photo-card:last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
    }

    .photo-card img {
        height: clamp(190px, 56vw, 240px);
    }

    .photo-card div {
        padding: 20px;
    }

    .process-box {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .process-steps,
    .gtm-process-steps {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .process-steps .step-card,
    .process-steps .step-card:nth-child(n),
    .process-steps .step-card:last-child:nth-child(odd) {
        grid-column: auto;
        grid-row: auto;
        width: 100%;
    }

    .process-steps .step-card:not(:last-child)::after {
        content: "\2193";
        top: auto;
        right: 50%;
        bottom: -27px;
        left: auto;
        display: grid;
        transform: translateX(50%);
    }

    .process-steps .step-card:last-child::after {
        display: none;
    }

    .step-card {
        padding: 19px;
    }

    .about-page .page-hero {
        padding: 48px 0;
    }

    .about-page .page-hero > .container,
    .about-page .section > .container {
        width: calc(100% - 36px);
    }

    .about-page .section {
        padding: 46px 0;
    }

    .about-page .title {
        margin-bottom: 28px;
    }

    .about-page .title h2 {
        line-height: 1.2;
    }

    .about-page .title p {
        margin-top: 8px;
        line-height: 1.6;
    }

    .about-page .split {
        gap: 22px;
    }

    .about-page .grid-3 {
        gap: 18px;
    }

    .about-page .card {
        padding: 22px 20px;
        border-radius: 18px;
    }

    .about-page .about-team-intro {
        padding: 22px 20px;
        border-radius: 18px;
    }

    .about-page .about-team-grid {
        gap: 18px;
    }

    .about-page .about-team-intro .list {
        gap: 8px;
        margin-top: 18px;
    }

    .about-page .about-team-intro .list li {
        padding: 8px 0;
    }

    .about-page .about-values-card p {
        padding: 12px 14px;
    }

    .about-page .card h3,
    .about-page .split > div > h3 {
        margin-bottom: 12px;
    }

    .about-page .split > div:not(.card) > p + p,
    .about-page .card p + p {
        margin-top: 14px;
    }

    .about-page .list {
        margin-top: 16px;
    }

    .about-page .list li {
        margin: 8px 0;
    }

    .about-page .cta {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .about-page .cta p {
        margin: 12px 0 22px;
    }

    .hero-grid {
        gap: 30px;
    }

    .home-page .hero {
        padding: 54px 0;
    }

    .hero-card {
        padding: 20px;
    }

    .badge {
        padding: 7px 12px;
        font-size: 13px;
    }

    .cta {
        padding: 28px 20px;
    }

    .grid-4 {
        gap: 16px;
    }

    .list li,
    .check li {
        font-size: 15px;
    }

    .form input,
    .form textarea,
    .form select {
        padding: 14px;
    }

    .gtm-setup-panel,
    .gtm-benefits-panel {
        padding: 26px 20px;
    }

    .gtm-setup-box h2 {
        font-size: 24px;
    }

    .gtm-component-list {
        grid-template-columns: 1fr;
    }

    .gtm-component-list li:last-child {
        grid-column: auto;
    }

}

/* Refined visual system --------------------------------------------------- */
:root {
    --bg: #0b1220;
    --blue: #2563eb;
    --cyan: #0284c7;
    --orange: #0f766e;
    --accent: #14b8a6;
    --text: #172033;
    --muted: #64748b;
    --soft: #f6f8fc;
    --white: #fff;
    --border: #e2e8f0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #fff;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.container {
    width: min(1120px, calc(100% - 40px));
}

.top {
    background: rgba(255, 255, 255, .96);
    color: var(--text);
    border-bottom: 1px solid rgba(226, 232, 240, .9);
    box-shadow: 0 4px 20px rgba(15, 23, 42, .04);
    backdrop-filter: blur(14px);
}

.nav {
    min-height: 72px;
    padding: 10px 0;
}

.logo {
    gap: 10px;
    color: #0f172a;
    font-size: 19px;
    letter-spacing: -.4px;
}

.logo-img {
    display: block;
    width: 190px;
    height: 42px;
    max-width: 100%;
    animation: none;
}

.logo::before {
    content: none;
}

.logo::after {
    content: none;
}

.menu {
    gap: 2px;
}

.menu a,
.dropbtn {
    padding: 9px 10px;
    border-radius: 8px;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
}

.menu a:hover,
.dropbtn:hover,
.dropdown:focus-within .dropbtn,
.menu a[aria-current="page"] {
    background: #eff6ff;
    color: #1d4ed8;
}

.dropbtn {
    font-size: 14px;
}

.dropbtn::after {
    content: "";
    width: 6px;
    height: 6px;
    margin: -3px 1px 0 3px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
}

.dropdown > .dropbtn:hover::after,
.dropdown:focus-within .dropbtn::after {
    transform: translateY(3px) rotate(225deg);
}

.dropdown-content,
.nested-content {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
}

.dropdown-content {
    padding: 7px;
}

.dropdown-content a {
    margin: 1px 0;
    padding: 10px 12px;
    border-radius: 8px;
    color: #475569;
    font-size: 14px;
}

.dropdown-content a:hover {
    background: #f1f5f9;
    color: #1d4ed8;
}

.nested-toggle {
    border-color: #e2e8f0;
    background: #f8fafc;
    color: #64748b;
}

.btn {
    padding: 11px 18px;
    border: 0;
    border-radius: 9px;
    background: #2563eb;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .18);
    font-size: 14px;
    font-weight: 700;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    background: #1d4ed8;
    box-shadow: 0 11px 24px rgba(37, 99, 235, .24);
}

.btn.orange {
    background: #14b8a6;
    box-shadow: 0 8px 20px rgba(20, 184, 166, .2);
}

.btn.orange:hover {
    background: #0f9f91;
    box-shadow: 0 11px 24px rgba(20, 184, 166, .25);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 104px 0 96px;
    background: #0b1220;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    pointer-events: none;
}

.hero::before {
    top: -260px;
    right: -180px;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(37, 99, 235, .28), transparent 68%);
}

.hero::after {
    bottom: -300px;
    left: 30%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(20, 184, 166, .15), transparent 70%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, .82fr);
    gap: 72px;
}

.badge {
    margin-bottom: 24px;
    padding: 7px 12px;
    border-color: rgba(148, 163, 184, .24);
    background: rgba(148, 163, 184, .08);
    color: #a5b4fc;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 720px;
    margin-bottom: 24px;
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    animation: none;
}

.hero p {
    max-width: 660px;
    color: #aebbcf;
    line-height: 1.75;
}

.hero-card {
    padding: 30px;
    border-color: rgba(148, 163, 184, .18);
    border-radius: 16px;
    background: rgba(255, 255, 255, .055);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
    backdrop-filter: blur(10px);
}

.hero-card .check li {
    border-bottom: 1px solid rgba(148, 163, 184, .11);
    color: #cbd5e1;
}

.hero-card .check li:last-child {
    border-bottom: 0;
}

.section {
    padding: 88px 0;
}

.section.soft {
    background: #f6f8fc;
}

.title {
    max-width: 680px;
    margin: 0 auto 46px;
}

.title h2,
.split h2,
.cta h2 {
    line-height: 1.18;
    letter-spacing: -.035em;
}

.title p {
    margin-top: 10px;
    line-height: 1.7;
}

.grid-3 {
    gap: 20px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.card,
.photo-card,
.stat,
.process-box,
.info-box,
.about-team-intro {
    border-color: #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(15, 23, 42, .055);
}

.card {
    padding: 28px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: #bfdbfe;
    box-shadow: 0 13px 34px rgba(15, 23, 42, .09);
}

.card h3,
.photo-card h3,
.step-card h3 {
    color: #172033;
}

.icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 11px;
    background: #eff6ff;
    font-size: 22px;
    animation: none;
}

.stat {
    padding: 24px 18px;
}

.stat:hover {
    transform: none;
    box-shadow: 0 8px 30px rgba(15, 23, 42, .055);
}

.stat h3 {
    color: #2563eb;
    font-size: 32px;
    letter-spacing: -.04em;
}

.home-page .home-stats-grid .stat h3 {
    min-height: 1.2em;
    font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: no-preference) {
    .home-page .home-stats-grid .stat h3.is-counting {
        animation: homeStatCountPulse .55s ease both;
    }
}

@keyframes homeStatCountPulse {
    0% {
        opacity: .45;
        transform: translateY(8px) scale(.96);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.split {
    gap: 56px;
    align-items: center;
}

.list {
    list-style: none;
}

.list li {
    padding-left: 2px;
}

.cta {
    padding: 54px 32px;
    border-radius: 18px;
    background: #172554;
    transition: none;
}

.cta:hover {
    transform: none;
    box-shadow: none;
}

.page-hero {
    position: relative;
    overflow: hidden;
    padding: 76px 0;
    background: #0b1220;
}

.page-hero h1 {
    letter-spacing: -.04em;
}

.page-hero p {
    max-width: 680px;
    margin: 10px auto 0;
    color: #aebbcf;
}

.photo-card img {
    height: 210px;
}

.photo-card div {
    padding: 22px;
}

.form input,
.form textarea,
.form select {
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #fff;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
    transform: none;
}

.detail-item {
    border: 1px solid #e2e8f0;
    border-left: 3px solid #14b8a6;
    border-radius: 10px;
    background: #f8fafc;
}

.detail-item:hover {
    background: #f8fafc;
    transform: none;
}

.footer {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #020817;
    box-shadow: 0 -12px 40px rgba(2, 8, 23, .12);
}

.footer::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    right: -180px;
    top: -250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, .24), transparent 68%);
    pointer-events: none;
}

.footer .footer-main {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, 1.45fr) minmax(150px, .7fr) minmax(140px, .62fr) minmax(270px, 1.15fr);
    gap: clamp(30px, 4vw, 70px);
    padding-top: clamp(68px, 8vw, 104px);
    padding-bottom: clamp(52px, 7vw, 84px);
    text-align: left;
}

.footer-brand {
    display: grid;
    justify-items: start;
    align-content: start;
    max-width: 390px;
}

.footer-logo {
    display: flex;
    width: auto;
    height: 64px;
    margin-bottom: 24px;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
    transition: transform .2s ease;
}

.footer-logo-img {
    display: block;
    width: 60px;
    height: 60px;
    flex: 0 0 auto;
    border: 1px solid rgba(147, 197, 253, .25);
    border-radius: 17px;
    box-shadow: 0 14px 34px rgba(0, 44, 150, .32);
    transition: box-shadow .2s ease;
}

.footer-logo:hover {
    transform: translateY(-2px);
}

.footer-logo:hover .footer-logo-img {
    box-shadow: 0 18px 40px rgba(0, 60, 190, .46);
}

.footer-logo-copy {
    display: grid;
    gap: 8px;
    text-align: left;
}

.footer-logo-copy strong {
    color: #f8fbff;
    font-family: "Michroma", "Arial", sans-serif;
    font-size: clamp(.82rem, 1.1vw, .96rem);
    font-weight: 400;
    letter-spacing: .09em;
    line-height: 1;
    white-space: nowrap;
}

.footer-logo-copy strong span {
    color: #4f8cff;
}

.footer-logo-copy small {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #91a5c8;
    font-family: "Inter", "Arial", sans-serif;
    font-size: .51rem;
    font-weight: 600;
    letter-spacing: .16em;
    line-height: 1;
    white-space: nowrap;
}

.footer-logo-copy small span {
    width: 18px;
    height: 1px;
    background: #3978f6;
}

.footer-brand > p {
    max-width: 355px;
    margin: 0 0 25px;
    color: #aab8d0;
    font-size: 1rem;
    line-height: 1.75;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #dbeafe;
    font-size: .92rem;
    font-weight: 650;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color .2s ease, transform .2s ease;
}

.footer-email span {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 50%;
    background: rgba(59, 130, 246, .17);
    color: #60a5fa;
}

.footer-email:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 24px;
}

.footer-socials a {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: 10px;
    background: rgba(30, 64, 175, .11);
    color: #9fb2d2;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.footer-socials svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.footer-socials a:hover {
    border-color: rgba(96, 165, 250, .55);
    background: #1559f5;
    color: #fff;
    transform: translateY(-3px);
}

.footer-socials a:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 13px;
}

.footer-column h2 {
    margin: 3px 0 11px;
    color: #fff;
    font-size: .78rem;
    font-weight: 750;
    letter-spacing: .14em;
    line-height: 1.3;
    text-transform: uppercase;
}

.footer-column > a:not(.footer-cta) {
    position: relative;
    color: #aab8d0;
    font-size: .95rem;
    line-height: 1.45;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.footer-column > a:not(.footer-cta):hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-contact {
    align-self: start;
    gap: 0;
    padding: 28px;
    border: 1px solid rgba(96, 165, 250, .18);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(30, 64, 175, .19), rgba(15, 23, 42, .42));
    box-shadow: inset 0 1px rgba(255, 255, 255, .04);
}

.footer-contact .footer-eyebrow {
    margin-bottom: 11px;
    color: #60a5fa;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.footer-contact h2 {
    margin: 0 0 13px;
    color: #fff;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    letter-spacing: -.025em;
    line-height: 1.22;
    text-transform: none;
}

.footer-contact p {
    margin: 0 0 22px;
    color: #aab8d0;
    font-size: .9rem;
    line-height: 1.65;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 10px;
    background: #fff;
    color: #0b3caa;
    font-size: .88rem;
    font-weight: 750;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .16);
    transition: transform .2s ease, box-shadow .2s ease;
}

.footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .24);
}

.footer-cta span {
    font-size: 1.15rem;
}

.footer .footer-bottom {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
    padding-bottom: 24px;
    border-top: 1px solid rgba(148, 163, 184, .15);
    text-align: left;
}

.footer-bottom p {
    margin: 0;
    color: #71809a;
    font-size: .78rem;
    letter-spacing: .01em;
}

.footer-to-top {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(147, 197, 253, .3);
    border-radius: 10px;
    background: rgba(37, 99, 235, .2);
    color: #dbeafe;
    cursor: pointer;
    font-family: inherit;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1;
    transition: background .2s ease, transform .2s ease;
}

.footer-to-top:hover {
    background: #2563eb;
    transform: translateY(-3px);
}

.footer-to-top:focus-visible {
    outline: 3px solid #93c5fd;
    outline-offset: 3px;
}

@media (max-width: 1200px) {
    .top {
        background: rgba(255, 255, 255, .98);
        color: var(--text);
    }

    .menu a,
    .dropbtn {
        color: #fff;
    }

    .nav-toggle {
        border-color: #cbd5e1;
        background: #fff;
        box-shadow: 0 5px 14px rgba(15, 23, 42, .08);
    }

    .nav-toggle span {
        background: #172033;
        box-shadow: none;
    }

    .nav-toggle:hover {
        background: #f8fafc;
        box-shadow: 0 7px 18px rgba(15, 23, 42, .1);
    }

    .menu a:hover,
    .dropbtn:hover,
    .dropdown:focus-within .dropbtn,
    .menu a[aria-current="page"] {
        background: rgba(255, 255, 255, .08);
        color: #7dd3fc;
    }

    .hero-grid {
        gap: 36px;
    }
}

/* Analytic Route brand system — matched to the supplied PNG identity. */
:root {
    --bg: #030b24;
    --blue: #1249e8;
    --cyan: #0968ff;
    --orange: #1559f5;
    --accent: #1559f5;
    --text: #07173f;
    --muted: #5f6d8d;
    --soft: #f3f7ff;
    --border: #d8e4ff;
}

body {
    color: var(--text);
    background: #fff;
}

.top {
    border-bottom: 1px solid rgba(12, 51, 141, .1);
    background: #fff;
    color: var(--text);
    box-shadow: 0 10px 34px rgba(4, 23, 76, .08);
}

.nav {
    min-height: 78px;
    padding: 8px 0;
}

.logo {
    position: relative;
    flex: 0 0 232px;
    width: 232px;
    height: 56px;
    overflow: hidden;
    border-radius: 0;
    background: #fff;
}

.logo-img {
    position: absolute;
    top: -98px;
    left: -12px;
    width: 256px;
    height: auto;
    max-width: none;
    animation: none;
    transition: opacity .2s ease;
}

.logo-img:hover {
    transform: none;
    opacity: .82;
}

.menu {
    gap: 6px;
}

.menu a,
.dropbtn {
    color: #1c2a4b;
    font-size: 14px;
}

.menu a:hover,
.dropbtn:hover,
.dropdown:focus-within .dropbtn,
.menu a[aria-current="page"],
.menu .dropbtn.active-section {
    background: #edf3ff;
    color: #1249e8;
}

.home-nav-cta,
.btn,
.btn.orange {
    border: 1px solid rgba(255, 255, 255, .18);
    background: linear-gradient(135deg, #082b91 0%, #0b5cff 100%);
    box-shadow: 0 10px 24px rgba(12, 75, 224, .23);
}

.btn:hover,
.btn.orange:hover {
    background: linear-gradient(135deg, #061e69 0%, #064de0 100%);
    box-shadow: 0 14px 30px rgba(12, 75, 224, .3);
}

.hero {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 82% 20%, rgba(13, 93, 255, .34), transparent 32%),
        linear-gradient(135deg, #02071a 0%, #061747 53%, #062a82 100%);
}

.hero::before {
    inset: 0;
    width: auto;
    height: auto;
    border-radius: 0;
    background-image:
        linear-gradient(rgba(83, 131, 255, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(83, 131, 255, .055) 1px, transparent 1px);
    background-size: 52px 52px;
    -webkit-mask-image: linear-gradient(to right, black, transparent 82%);
    mask-image: linear-gradient(to right, black, transparent 82%);
}

.hero::after {
    right: -120px;
    bottom: -270px;
    left: auto;
    background: radial-gradient(circle, rgba(19, 92, 255, .24), transparent 68%);
}

.badge {
    border-color: rgba(106, 155, 255, .35);
    background: rgba(30, 91, 225, .18);
    color: #b9d1ff;
}

.hero p,
.hero-card .check li {
    color: #c9d8f5;
}

.hero-card {
    border: 1px solid rgba(105, 151, 255, .26);
    background: linear-gradient(145deg, rgba(255, 255, 255, .1), rgba(20, 67, 176, .1));
    box-shadow: 0 28px 80px rgba(0, 5, 25, .32);
}

.check li::before {
    color: #1e63ff;
}

.section.soft {
    background: linear-gradient(180deg, #f6f9ff 0%, #edf3ff 100%);
}

.card,
.photo-card,
.stat,
.process-box,
.info-box,
.about-team-intro {
    border-color: #dce6fa;
    box-shadow: 0 12px 36px rgba(5, 34, 101, .07);
}

.card:hover {
    border-color: #a9c4ff;
    box-shadow: 0 18px 42px rgba(8, 54, 160, .12);
}

.icon {
    background: linear-gradient(145deg, #eaf1ff, #f7faff);
    color: #0b55ed;
    box-shadow: inset 0 0 0 1px #d8e5ff;
}

.stat h3,
.read-more,
.card h3,
.photo-card h3,
.step-card h3 {
    color: #0c45ca;
}

.cta,
.page-hero,
.footer,
.about-values-card,
.gtm-benefits-panel {
    background: linear-gradient(135deg, #02091f 0%, #061a53 62%, #07359a 100%);
}

.page-hero {
    border-bottom: 1px solid rgba(71, 128, 255, .25);
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 78% 20%, rgba(20, 94, 255, .28), transparent 30%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.footer {
    border-top: 1px solid rgba(80, 130, 255, .18);
}

.form input:focus,
.form textarea:focus,
.form select:focus {
    border-color: #1559f5;
    box-shadow: 0 0 0 4px rgba(21, 89, 245, .11);
}

@media (max-width: 1200px) {
    .logo {
        flex-basis: 208px;
        width: 208px;
    }

    .logo-img {
        top: -88px;
        left: -10px;
        width: 228px;
    }

    .menu {
        background: linear-gradient(160deg, #02091f 0%, #07296f 100%);
    }

    .menu a,
    .dropbtn {
        color: #f5f8ff;
    }

    .menu a:hover,
    .dropbtn:hover,
    .dropdown:focus-within .dropbtn,
    .menu a[aria-current="page"],
    .menu .dropbtn.active-section {
        background: rgba(47, 105, 238, .2);
        color: #bdd3ff;
    }
}

@media (max-width: 520px) {
    .logo {
        flex-basis: 180px;
        width: 180px;
        height: 51px;
    }

    .logo-img {
        top: -77px;
        left: -9px;
        width: 198px;
    }
}

/* Single-panel service menu */
.dropdown-content {
    width: 330px;
    min-width: 330px;
    padding: 10px;
}

.nested-dropdown {
    display: block;
    width: 100%;
}

.dropdown-content .nested-link {
    position: relative;
    margin: 0;
    padding: 11px 34px 9px 12px;
    color: #172033;
    font-weight: 700;
}

.dropdown-content .nested-link::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 14px;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #64748b;
    border-bottom: 1.5px solid #64748b;
    transform: translateY(-70%) rotate(45deg);
}

.nested-toggle {
    display: none !important;
}

.nested-content,
.nested-dropdown:hover .nested-content,
.nested-dropdown:focus-within .nested-content,
.nested-dropdown.nested-open .nested-content {
    position: static;
    width: auto;
    min-width: 0;
    margin: 0 0 8px 12px;
    padding: 1px 0 1px 10px;
    border: 0;
    border-left: 1px solid #cbd5e1;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
}

.nested-content a {
    margin: 1px 0;
    padding: 8px 11px;
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

.nested-content a:hover,
.nested-content a[aria-current="page"] {
    background: #f1f5f9;
    color: #1d4ed8;
}

.dropdown-content > a:not(.nested-link) {
    margin: 2px 0 0;
    padding: 11px 12px;
    border-top: 1px solid #edf2f7;
    border-radius: 0;
    color: #334155;
    font-weight: 600;
}

.dropdown-content > a:not(.nested-link):last-child {
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}

@media (max-width: 1200px) {
    .nav .dropdown > .dropdown-content {
        width: 100%;
        min-width: 0;
    }

    .nav .nested-dropdown .nested-content,
    .nav .nested-dropdown.nested-open .nested-content {
        position: static;
        width: auto;
        min-width: 0;
        max-height: none;
        margin: 0 0 8px 12px;
        padding: 1px 0 1px 10px;
        border: 0;
        border-left: 1px solid rgba(125, 211, 252, .35);
        border-radius: 0;
        background: transparent;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .dropdown-content .nested-link {
        color: #fff;
    }

    .dropdown-content .nested-link::after {
        border-color: #94a3b8;
    }

    .nested-content a {
        color: #cbd5e1;
    }

    .dropdown-content > a:not(.nested-link) {
        border-top-color: rgba(148, 163, 184, .16);
        color: #e2e8f0;
    }
}

@media (max-width: 900px) {
    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        max-width: 640px;
    }
}

@media (max-width: 600px) {
    .container {
        width: min(100% - 32px, 1120px);
    }

    .hero {
        padding: 64px 0 58px;
    }

    .hero h1 {
        font-size: clamp(2.25rem, 12vw, 3.2rem);
    }

    .hero p,
    .hero-card li,
    .section p,
    .section li {
        text-align: left;
        hyphens: none;
    }

    .section {
        padding: 58px 0;
    }

    .page-hero {
        padding: 54px 0;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .stat {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        text-align: left;
    }

    .stat p {
        text-align: right;
    }

    .detail-item {
        flex-direction: row;
        gap: 14px;
    }

    .footer .footer-main {
        grid-template-columns: 1.35fr .75fr .75fr;
        gap: 44px 34px;
    }

    .footer-contact {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        column-gap: 36px;
    }

    .footer-contact .footer-eyebrow,
    .footer-contact h2,
    .footer-contact p {
        grid-column: 1;
    }

    .footer-contact .footer-cta {
        grid-column: 2;
        grid-row: 1 / 4;
    }
}

/* Simple conversion overview card. */
.conversion-page .conversion-insight-card {
    grid-template-columns: 1fr;
    overflow: visible;
    border: 1px solid #e1e7f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .07);
}

.conversion-page .conversion-insight-intro,
.conversion-page .conversion-insight-benefits {
    padding: clamp(28px, 4vw, 44px);
    color: #17233c;
    background: transparent;
}

.conversion-page .conversion-insight-intro {
    display: block;
    border-right: 1px solid #e1e7f0;
}

.conversion-page .conversion-insight-card h2,
.conversion-page .conversion-insight-intro h2 {
    color: #172554;
    font-size: clamp(1.5rem, 2.1vw, 1.95rem);
}

.conversion-page .conversion-insight-card p,
.conversion-page .conversion-insight-intro p {
    color: #526177;
}

.conversion-page .conversion-benefit-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 18px;
}

.conversion-page .conversion-benefit-list li,
.conversion-page .conversion-benefit-list li:last-child {
    position: relative;
    display: block;
    grid-column: auto;
    padding: 13px 0 13px 30px;
    border: 0;
    border-top: 1px solid #e7ebf2;
    border-radius: 0;
    background: transparent;
}

.conversion-page .conversion-benefit-list li::before {
    content: "✓";
    position: absolute;
    top: 14px;
    left: 0;
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #2563c8;
    font-size: .7rem;
    font-weight: 900;
}

.conversion-page .conversion-benefit-list h3 {
    margin: 0 0 3px;
}

@media (max-width: 900px) {
    .conversion-page .conversion-insight-card {
        grid-template-columns: 1fr;
    }

    .conversion-page .conversion-insight-intro {
        border-right: 0;
        border-bottom: 1px solid #e1e7f0;
    }
}

/* Proper GA4 setup section */
.ga4-page #ga4-implementation .ga4-importance-split {
    gap: clamp(28px, 4vw, 48px);
    align-items: stretch;
    margin-bottom: 36px;
    padding: clamp(26px, 4vw, 44px);
    border: 1px solid #d7e4f7;
    border-radius: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(37, 99, 235, .1), transparent 28%),
        linear-gradient(145deg, #fff 0%, #f8faff 100%);
    box-shadow: 0 20px 55px rgba(15, 48, 110, .09);
}

.ga4-page #ga4-implementation .ga4-importance-photo {
    position: relative;
    top: auto;
    align-self: stretch;
    height: auto;
    min-height: 100%;
    border: 1px solid #d6e2f4;
    border-radius: 20px;
    background: #edf4ff;
    box-shadow: 0 16px 38px rgba(15, 48, 110, .13);
}

.ga4-page #ga4-implementation .ga4-importance-photo img {
    object-position: center;
    border-radius: inherit;
}

.ga4-page #ga4-implementation .ga4-importance-content {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    counter-reset: setup-benefit;
}

.ga4-page #ga4-implementation .ga4-importance-content::before {
    display: none;
}

.ga4-page #ga4-implementation .ga4-importance-content > br {
    display: none;
}

.ga4-page #ga4-implementation .ga4-importance-content > h2 {
    position: relative;
    margin: 0 0 20px;
    padding-bottom: 18px;
    color: #102a56;
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
    letter-spacing: -.035em;
}

.ga4-page #ga4-implementation .ga4-importance-content > h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 68px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1e63ff, #10b981);
}

.ga4-page #ga4-implementation .ga4-importance-content > p:first-of-type {
    margin: 0 0 28px;
    padding: 20px 22px;
    border-left: 4px solid #2563eb;
    border-radius: 0 14px 14px 0;
    background: #f0f5ff;
    color: #344761;
    font-size: 1rem;
    line-height: 1.8;
}

.ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(2),
.ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(4),
.ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(6),
.ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(8) {
    counter-increment: setup-benefit;
    position: relative;
    margin: 0 0 6px;
    padding-left: 46px;
    color: #1249b8;
    font-size: 1.02rem;
}

.ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(2)::before,
.ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(4)::before,
.ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(6)::before,
.ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(8)::before {
    content: counter(setup-benefit, decimal-leading-zero);
    position: absolute;
    top: -2px;
    left: 0;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 10px;
    background: #e8f0ff;
    color: #1556dc;
    font-size: .72rem;
    font-weight: 800;
}

.ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(3),
.ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(5),
.ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(7),
.ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(9) {
    margin: 0 0 22px 46px;
    padding: 0 0 22px;
    border-bottom: 1px solid #dce6f5;
    color: #526178;
    line-height: 1.72;
}

.ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(9) {
    border-bottom: 0;
}

.ga4-page #ga4-implementation .ga4-importance-content > p:last-of-type {
    margin: 6px 0 0;
    padding: 17px 20px;
    border: 1px solid #bce7d2;
    border-radius: 14px;
    background: linear-gradient(135deg, #ecfdf5, #f6fffb);
    color: #126747;
    font-weight: 700;
    text-align: center;
}

@media (min-width: 1001px) {
    .ga4-page #ga4-implementation .ga4-importance-split {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 1000px) {
    .ga4-page #ga4-implementation .ga4-importance-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .ga4-page #ga4-implementation .ga4-importance-photo {
        position: relative;
        top: auto;
        width: 100%;
        height: clamp(260px, 50vw, 380px);
        min-height: 0;
    }
}

@media (max-width: 600px) {
    .ga4-page #ga4-implementation .ga4-importance-split {
        gap: 24px;
        padding: 22px;
    }

    .ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(3),
    .ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(5),
    .ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(7),
    .ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(9) {
        margin-left: 0;
        padding-left: 46px;
    }
}

/* GA4 audit section */
.ga4-page #ga4-overview > .container > .info-box:last-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(24px, 4vw, 48px);
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid #d8e4f7;
    background:
        radial-gradient(circle at 100% 0, rgba(16, 185, 129, .1), transparent 30%),
        linear-gradient(145deg, #fff 0%, #f7faff 100%);
    box-shadow: 0 20px 55px rgba(15, 48, 110, .09);
    counter-reset: audit-check;
}

.ga4-page #ga4-overview > .container > .info-box:last-child > * {
    position: relative;
    z-index: 1;
}

.ga4-page #ga4-overview > .container > .info-box:last-child > br {
    display: none;
}

.ga4-page #ga4-overview > .container > .info-box:last-child > h2,
.ga4-page #ga4-overview > .container > .info-box:last-child > h3,
.ga4-page #ga4-overview > .container > .info-box:last-child > p:first-of-type,
.ga4-page #ga4-overview > .container > .info-box:last-child > p:last-of-type {
    grid-column: 1 / -1;
}

.ga4-page #ga4-overview > .container > .info-box:last-child > h2 {
    margin: 0 0 18px;
    padding-bottom: 18px;
    color: #102a56;
    font-size: clamp(1.75rem, 3vw, 2.3rem);
    letter-spacing: -.035em;
}

.ga4-page #ga4-overview > .container > .info-box:last-child > h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1e63ff, #10b981);
}

.ga4-page #ga4-overview > .container > .info-box:last-child > p:first-of-type {
    margin: 0;
    padding: 20px 22px;
    border-left: 4px solid #2563eb;
    border-radius: 0 14px 14px 0;
    background: rgba(239, 246, 255, .82);
    color: #344761;
    font-size: 1.02rem;
    line-height: 1.82;
}

.ga4-page #ga4-overview > .container > .info-box:last-child > h3 {
    margin: 38px 0 12px;
    color: #102a56;
    font-size: clamp(1.3rem, 2.2vw, 1.65rem);
    letter-spacing: -.025em;
}

.ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(2),
.ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(3),
.ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(4),
.ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(5) {
    counter-increment: audit-check;
    margin: 0;
    padding: 22px 10px 24px 50px;
    border-top: 1px solid #d9e4f4;
    color: #526178;
    line-height: 1.72;
}

.ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(2)::before,
.ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(3)::before,
.ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(4)::before,
.ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(5)::before {
    content: counter(audit-check, decimal-leading-zero);
    position: absolute;
    top: 20px;
    left: 4px;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 10px;
    background: #e9f1ff;
    color: #1556dc;
    font-size: .72rem;
    font-weight: 800;
}

.ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(2) strong,
.ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(3) strong,
.ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(4) strong,
.ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(5) strong {
    display: block;
    margin-bottom: 6px;
    color: #1249b8;
    font-size: 1.02rem;
}

.ga4-page #ga4-overview > .container > .info-box:last-child > p:last-of-type {
    margin: 12px 0 0;
    padding: 18px 22px;
    border: 1px solid #bce7d2;
    border-radius: 14px;
    background: linear-gradient(135deg, #ecfdf5, #f6fffb);
    color: #126747;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 768px) {
    .ga4-page #ga4-overview > .container > .info-box:last-child {
        grid-template-columns: minmax(0, 1fr);
    }

    .ga4-page #ga4-overview > .container > .info-box:last-child > h2,
    .ga4-page #ga4-overview > .container > .info-box:last-child > h3,
    .ga4-page #ga4-overview > .container > .info-box:last-child > p {
        grid-column: 1;
    }
}

/* Contact information: keep every card aligned at tablet and phone widths. */
@media (max-width: 1024px) {
    .contact-page .contact-section {
        padding-top: 58px;
    }

    .contact-page .contact-info {
        max-width: 820px;
        margin-right: auto;
        margin-left: auto;
    }

    .contact-page .contact-details {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 26px;
    }

    .contact-page .contact-details .detail-item,
    .contact-page .contact-details .detail-item:last-child {
        grid-column: auto;
        width: 100%;
        min-height: 88px;
        justify-self: stretch;
    }

    .contact-page .contact-next-steps {
        margin-top: 20px;
    }
}

@media (max-width: 620px) {
    .contact-page .contact-section {
        padding-top: 44px;
    }

    .contact-page .contact-info > p {
        line-height: 1.65;
    }

    .contact-page .contact-details {
        margin-top: 22px;
    }
}

/* Simple 404 page ----------------------------------------------------- */
.simple-not-found {
    padding: clamp(70px, 10vw, 120px) 0;
    background: linear-gradient(135deg, #020817 0%, #071a3d 100%);
    text-align: center;
}

.simple-not-found-box {
    max-width: 680px;
    margin: 0 auto;
    padding: clamp(38px, 6vw, 58px);
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 10px;
    background: rgba(15, 23, 42, .72);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .2);
}

.simple-not-found-code {
    margin: 0;
    color: #60a5fa;
    font-size: clamp(4rem, 10vw, 6rem);
    font-weight: 800;
    line-height: 1;
}

.simple-not-found h1 {
    margin: 14px 0 12px;
    color: #fff;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.2;
}

.simple-not-found-box > p:last-of-type {
    max-width: 500px;
    margin: 0 auto;
    color: #cbd5e1;
    line-height: 1.7;
}

.simple-not-found-actions {
    display: flex;
    margin-top: 28px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.simple-not-found-contact {
    display: inline-flex;
    min-height: 43px;
    padding: 10px 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 9px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.simple-not-found-contact:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

@media (max-width: 440px) {
    .simple-not-found-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .simple-not-found-actions .btn,
    .simple-not-found-contact {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
/* Word-document GTM page uses the same single-column editorial cards as GA4. */
.gtm-page #ga4-overview .gtm-document-feature,
.gtm-page #ga4-implementation .ga4-importance-split {
    grid-template-columns: minmax(0, 1fr);
}

.gtm-page #ga4-implementation .process-box > .title {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

.gtm-page .gtm-document-list {
    margin: 18px 0 22px;
}

.gtm-page .gtm-document-list li {
    line-height: 1.7;
}

.gtm-page .gtm-overview-visual {
    position: relative;
    margin: 30px 0 4px;
    overflow: hidden;
    border: 1px solid #cbdcff;
    border-radius: 20px;
    background: #03123a;
    box-shadow: 0 20px 46px rgba(7, 39, 105, .18);
}

.gtm-page .gtm-overview-visual img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.gtm-page .gtm-problems-box {
    overflow: hidden;
    background:
        radial-gradient(circle at 100% 0, rgba(37, 99, 235, .08), transparent 28%),
        linear-gradient(145deg, #fff 0%, #f8faff 100%);
}

.gtm-page .gtm-problems-box > h2 {
    max-width: 760px;
    color: #102a56;
    letter-spacing: -.035em;
}

.gtm-page .gtm-problems-lead {
    margin: 0 0 28px;
    padding: 19px 22px;
    border-left: 4px solid #2563eb;
    border-radius: 0 14px 14px 0;
    background: #edf4ff;
    color: #334866;
    line-height: 1.78;
}

.gtm-page .gtm-problems-list {
    display: grid;
    gap: 0;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
    counter-reset: gtm-problem;
}

.gtm-page .gtm-problems-list > li {
    position: relative;
    padding: 24px 8px 24px 66px;
    border-bottom: 1px solid #dce6f5;
    counter-increment: gtm-problem;
}

.gtm-page .gtm-problems-list > li:first-child {
    padding-top: 4px;
}

.gtm-page .gtm-problems-list > li:last-child {
    padding-bottom: 4px;
    border-bottom: 0;
}

.gtm-page .gtm-problems-list > li::before {
    content: counter(gtm-problem, decimal-leading-zero);
    position: absolute;
    top: 22px;
    left: 6px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid #bdd2fb;
    border-radius: 50%;
    background: #edf4ff;
    color: #1556dc;
    font-size: .72rem;
    font-weight: 900;
}

.gtm-page .gtm-problems-list > li:first-child::before {
    top: 2px;
}

.gtm-page .gtm-problems-list h3 {
    margin: 0 0 9px;
    color: #1249b8;
    font-size: 1.02rem;
    line-height: 1.4;
}

.gtm-page .gtm-problems-list p {
    margin: 0;
    color: #526178;
    font-size: .94rem;
    line-height: 1.72;
}

.gtm-page .gtm-problems-note {
    margin: 0;
    padding: 19px 22px;
    border: 1px solid #bce7d2;
    border-left: 4px solid #10b981;
    border-radius: 14px;
    background: linear-gradient(135deg, #ecfdf5, #f6fffb);
    color: #225c48;
    font-weight: 650;
    line-height: 1.75;
}

.gtm-page #ga4-overview .gtm-setup-box {
    display: block !important;
    margin-top: 52px !important;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid #d7e4f7;
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(14, 165, 233, .09), transparent 30%),
        linear-gradient(145deg, #fff 0%, #f7faff 100%);
    box-shadow: 0 20px 55px rgba(15, 48, 110, .09);
}

.gtm-page #ga4-overview .gtm-setup-box > br {
    display: none;
}

.gtm-page #ga4-overview .gtm-setup-box > h2 {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 17px;
    color: #102a56;
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
    letter-spacing: -.035em;
}

.gtm-page #ga4-overview .gtm-setup-box > h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1e63ff, #10b981);
}

.gtm-page .gtm-setup-lead {
    width: 100%;
    max-width: none;
    margin: 0 0 26px !important;
    padding: 18px 20px !important;
    border-left: 4px solid #2563eb !important;
    border-radius: 0 12px 12px 0 !important;
    background: #edf4ff !important;
    color: #526178;
    font-size: 1rem;
    line-height: 1.78;
}

.gtm-page .gtm-setup-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    margin: 0 0 26px;
    padding: 0;
    list-style: none;
    counter-reset: gtm-setup-step;
}

.gtm-page .gtm-setup-steps li {
    position: relative;
    min-height: 0;
    padding: 20px 12px 20px 62px;
    border: 0;
    border-bottom: 1px solid #dce6f5;
    border-radius: 0;
    background: transparent;
    color: #263d60;
    font-size: .96rem;
    font-weight: 750;
    line-height: 1.5;
    counter-increment: gtm-setup-step;
}

.gtm-page .gtm-setup-steps li:last-child {
    border-bottom: 0;
}

.gtm-page .gtm-setup-steps li::before {
    content: counter(gtm-setup-step, decimal-leading-zero);
    position: absolute;
    top: 16px;
    left: 6px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #bdd2fb;
    border-radius: 50%;
    background: #edf4ff;
    color: #1556dc;
    font-size: .68rem;
    font-weight: 900;
    box-shadow: none;
}

.gtm-page .gtm-setup-note {
    margin: 0 !important;
    padding: 19px 22px !important;
    border-left: 4px solid #10b981;
    border-radius: 0 14px 14px 0;
    background: #ecfdf5;
    color: #225c48;
    font-weight: 600;
    line-height: 1.75;
    text-align: left !important;
}

.gtm-page #ga4-services p,
.gtm-page #ga4-services h3 {
    text-align: left;
    text-justify: auto;
    hyphens: none;
}

.gtm-page #ga4-services > .container > .title {
    max-width: 980px;
    margin-right: 0;
    margin-left: 0;
    text-align: left;
}

.gtm-page #ga4-services > .container > .title p {
    max-width: 920px;
    margin-right: 0;
    margin-left: 0;
}

.gtm-page .gtm-services-list {
    display: grid;
    gap: 0;
    margin: 36px 0 0;
    padding: 0;
    border-top: 1px solid rgba(147, 197, 253, .28);
    list-style: none;
    counter-reset: gtm-service;
}

.gtm-page .gtm-services-list > li {
    position: relative;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
    padding: 27px 0;
    border-bottom: 1px solid rgba(147, 197, 253, .24);
    counter-increment: gtm-service;
}

.gtm-page .gtm-services-list > li::before {
    content: counter(gtm-service, decimal-leading-zero);
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(96, 165, 250, .45);
    border-radius: 12px;
    background: rgba(37, 99, 235, .16);
    color: #93c5fd;
    font-size: .72rem;
    font-weight: 900;
}

.gtm-page .gtm-services-list h3 {
    margin: 1px 0 8px;
    color: #fff;
    font-size: clamp(1rem, 1.5vw, 1.18rem);
    line-height: 1.45;
}

.gtm-page .gtm-services-list p {
    max-width: 960px;
    margin: 0;
    color: #c5d7f2;
    font-size: .96rem;
    line-height: 1.75;
}

.gtm-page .gtm-services-cta {
    display: flex;
    justify-content: flex-start;
    margin-top: 30px;
}

.gtm-page .gtm-services-cta .btn {
    min-width: 190px;
    text-align: center;
}

/* Enhanced Conversions document page, aligned with the GA4/GTM UX. */
.enhanced-page #enhanced-overview {
    background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.enhanced-page .enhanced-editorial-stack {
    display: grid;
    gap: 36px;
}

.enhanced-page .enhanced-overview-box,
.enhanced-page .enhanced-list-box {
    margin: 0;
    padding: clamp(28px, 4vw, 44px);
    border: 1px solid #d7e4f7;
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(37, 99, 235, .08), transparent 28%),
        linear-gradient(145deg, #fff 0%, #f8faff 100%);
    box-shadow: 0 20px 55px rgba(15, 48, 110, .09);
}

.enhanced-page .enhanced-overview-box > h2,
.enhanced-page .enhanced-list-box > h2 {
    position: relative;
    margin: 26px 0 20px;
    padding-bottom: 17px;
    color: #102a56;
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
    letter-spacing: -.035em;
}

.enhanced-page .enhanced-list-box > h2 {
    margin-top: 0;
}

.enhanced-page .enhanced-overview-box > h2::after,
.enhanced-page .enhanced-list-box > h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1e63ff, #10b981);
}

.enhanced-page #enhanced-overview p {
    text-align: left;
    text-justify: auto;
    hyphens: none;
}

.enhanced-page .enhanced-opening,
.enhanced-page .enhanced-list-lead {
    margin: 0 0 24px;
    padding: 19px 22px;
    border-left: 4px solid #2563eb;
    border-radius: 0 14px 14px 0;
    background: #edf4ff;
    color: #334866;
    line-height: 1.78;
}

.enhanced-page .enhanced-note,
.enhanced-page .enhanced-process-note {
    margin: 24px 0 0 !important;
    padding: 18px 21px !important;
    border-left: 4px solid #10b981;
    border-radius: 0 14px 14px 0;
    background: #ecfdf5;
    color: #225c48 !important;
    font-weight: 650;
    line-height: 1.75;
    text-align: left !important;
}

.enhanced-page .enhanced-list-box .gtm-problems-list {
    margin-bottom: 0;
}

.enhanced-page .enhanced-challenges-visual {
    position: relative;
    margin: 30px 0 34px;
    overflow: hidden;
    border: 1px solid #cddcf2;
    border-radius: 20px;
    background: #f5f9ff;
    box-shadow: 0 18px 42px rgba(15, 48, 110, .12);
}

.enhanced-page .enhanced-challenges-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
    pointer-events: none;
}

.enhanced-page .enhanced-challenges-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.enhanced-page .enhanced-process-box > .title {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

.enhanced-page #ga4-implementation p {
    text-align: left;
    text-justify: auto;
    hyphens: none;
}

.enhanced-page .enhanced-process-note {
    width: 100%;
    max-width: none !important;
}

.enhanced-page #ga4-services p {
    text-align: left;
    text-justify: auto;
    hyphens: none;
}

@media (max-width: 600px) {
    .enhanced-page .enhanced-editorial-stack {
        gap: 28px;
    }

    .enhanced-page .enhanced-overview-box,
    .enhanced-page .enhanced-list-box {
        padding: 24px 18px;
        border-radius: 18px;
    }

}

.gtm-page #ga4-overview > .container > .gtm-setup-box > .gtm-setup-lead,
.gtm-page #ga4-overview > .container > .gtm-setup-box > .gtm-setup-steps,
.gtm-page #ga4-overview > .container > .gtm-setup-box > .gtm-setup-note {
    grid-column: auto !important;
}

.gtm-page #ga4-overview > .container > .gtm-setup-box > .gtm-setup-note::before {
    content: none !important;
    display: none !important;
}

@media (max-width: 900px) {
    .gtm-page .gtm-setup-steps {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 600px) {
    .gtm-page .gtm-overview-visual {
        margin-top: 22px;
        border-radius: 14px;
    }

    .gtm-page .gtm-problems-list > li {
        padding: 21px 0 21px 54px;
    }

    .gtm-page .gtm-problems-list > li::before {
        top: 19px;
        left: 0;
        width: 34px;
        height: 34px;
    }

    .gtm-page .gtm-problems-list > li:first-child::before {
        top: 1px;
    }

    .gtm-page #ga4-overview .gtm-setup-box {
        margin-top: 36px !important;
        padding: 24px 18px;
        border-radius: 18px;
    }

    .gtm-page .gtm-setup-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .gtm-page .gtm-setup-steps li {
        padding: 18px 8px 18px 54px;
    }

    .gtm-page .gtm-setup-steps li::before {
        top: 15px;
        left: 0;
    }

    .gtm-page .gtm-services-list {
        margin-top: 28px;
    }

    .gtm-page .gtm-services-list > li {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 12px;
        padding: 22px 0;
    }

    .gtm-page .gtm-services-list > li::before {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }

    .gtm-page .gtm-services-cta .btn {
        width: 100%;
    }
}

/* Service menu hierarchy */
.submenu-toggle,
.nested-toggle {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* Blog and case-study menus */
.dropbtn::after,
.dropdown-content .nested-link::after {
    display: none !important;
}

.menu .dropbtn.active-section {
    background: #eff6ff;
    color: #1d4ed8;
}

.submenu-toggle,
.nested-toggle {
    display: none !important;
}

@media (max-width: 1200px) {
    .submenu-toggle {
        display: grid !important;
    }
}

.compact-menu {
    width: 310px;
    min-width: 310px;
    padding: 8px;
}

.compact-menu > a:not(.nested-link) {
    margin: 0;
    padding: 10px 12px;
    border: 0;
    border-radius: 8px;
    color: #475569;
    font-size: 13px;
    font-weight: 550;
    white-space: normal;
}

.compact-menu > a:not(.nested-link):hover,
.compact-menu > a:not(.nested-link)[aria-current="page"] {
    background: #f1f5f9;
    color: #1d4ed8;
}

.article-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 64px;
    align-items: start;
}

.article-content {
    max-width: 760px;
}

.article-content h2 {
    margin: 38px 0 12px;
    color: #172033;
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    line-height: 1.25;
    letter-spacing: -.025em;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content p,
.article-content li {
    color: #475569;
    line-height: 1.8;
}

.article-content p + p {
    margin-top: 16px;
}

.article-content ul {
    display: grid;
    gap: 9px;
    margin: 16px 0 0 20px;
}

.article-aside {
    position: sticky;
    top: 96px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.article-aside h3 {
    margin-bottom: 9px;
    font-size: 18px;
}

.article-aside p {
    margin-bottom: 18px;
    color: #64748b;
    font-size: 14px;
}

@media (max-width: 1200px) {
    .compact-menu {
        width: 100%;
        min-width: 0;
    }

    .compact-menu > a:not(.nested-link) {
        color: #cbd5e1;
    }

    .menu .dropbtn.active-section {
        background: rgba(255, 255, 255, .08);
        color: #7dd3fc;
    }
}

@media (max-width: 800px) {
    .article-shell {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .article-aside {
        position: static;
    }
}

.nested-toggle {
    width: 30px;
    height: 34px;
    margin-right: 6px;
    color: #64748b;
}

.submenu-toggle:hover,
.submenu-toggle:focus-visible,
.nested-toggle:hover,
.nested-toggle:focus-visible {
    background: transparent;
    color: #2563eb;
}

.nested-toggle::before {
    width: 7px;
    height: 7px;
    margin-left: -3px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
}

.nested-dropdown.nested-open .nested-toggle::before {
    margin-left: 3px;
}

@media (max-width: 1200px) {
    .submenu-toggle {
        width: 38px;
        height: 40px;
        margin-right: 2px;
    }

    .nested-toggle {
        width: 34px;
        height: 36px;
        margin-right: 2px;
    }

    .submenu-toggle::before,
    .nested-toggle::before {
        width: 8px;
        height: 8px;
        margin-top: -4px;
        margin-left: 0;
        border-top: 0;
        border-right: 1.5px solid currentColor;
        border-bottom: 1.5px solid currentColor;
        transform: rotate(45deg);
    }

    .dropdown.submenu-open .submenu-toggle::before,
    .nested-dropdown.nested-open .nested-toggle::before {
        margin-top: 4px;
        margin-left: 0;
        transform: rotate(225deg);
    }
}

/* Keep brand colors authoritative after navigation-specific rules. */
.menu .dropbtn.active-section,
.compact-menu > a:not(.nested-link):hover,
.compact-menu > a:not(.nested-link)[aria-current="page"] {
    background: #edf3ff;
    color: #1249e8;
}

@media (max-width: 1200px) {
    .menu .dropbtn.active-section,
    .compact-menu > a:not(.nested-link):hover,
    .compact-menu > a:not(.nested-link)[aria-current="page"] {
        background: rgba(47, 105, 238, .2);
        color: #bdd3ff;
    }
}

/* Responsive guardrails -------------------------------------------------- */
html,
body {
    max-width: 100%;
    overflow-x: clip;
}

img,
svg,
video,
iframe {
    max-width: 100%;
}

.hero-grid > *,
.split > *,
.grid-3 > *,
.grid-4 > *,
.photo-grid > *,
.process-steps > *,
.article-shell > *,
.gtm-setup-grid > *,
.ga4-photo-split > *,
.ga4-importance-split > * {
    min-width: 0;
}

h1,
h2,
h3,
p,
li,
a {
    overflow-wrap: break-word;
}

@media (min-width: 769px) and (max-width: 1200px) {
    .grid-3,
    .photo-grid,
    .services-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(280px, .92fr);
        gap: 32px;
    }

    .article-shell {
        grid-template-columns: minmax(0, 1fr) 240px;
        gap: 36px;
    }

    .section {
        padding: 68px 0;
    }
}

@media (max-width: 1200px) {
    .nav {
        min-height: 68px;
    }

    .nav.is-open {
        padding-bottom: 14px;
    }

    .menu {
        max-height: calc(100dvh - 110px);
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }

    .nav.is-open .menu {
        display: flex;
    }

    .menu > a,
    .dropbtn,
    .dropdown-content a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .nav .dropdown > .dropdown-content,
    .nav .nested-dropdown .nested-content,
    .nav .nested-dropdown.nested-open .nested-content {
        max-width: 100%;
    }

    .home-nav-cta {
        justify-self: stretch;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container,
    .about-page .page-hero > .container,
    .about-page .section > .container {
        width: min(100% - 32px, 1120px);
    }

    .hero,
    .home-page .hero {
        padding: 58px 0;
    }

    .page-hero {
        padding: 52px 0;
    }

    .section,
    .about-page .section {
        padding: 54px 0;
    }

    .hero-grid,
    .split,
    .grid-3,
    .grid-4,
    .photo-grid,
    .services-list-grid,
    .article-shell,
    .gtm-setup-grid,
    .ga4-photo-split,
    .ga4-importance-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-grid,
    .split,
    .article-shell {
        gap: 30px;
    }

    .photo-grid .photo-card:last-child:nth-child(odd),
    .services-page .photo-grid .photo-card:last-child:nth-child(odd),
    .services-page .services-list-grid .card:last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
    }

    .hero-card,
    .card,
    .contact-form-card,
    .about-team-intro,
    .about-values-card,
    .info-box {
        padding: 22px;
    }

    .gtm-setup-panel,
    .gtm-benefits-panel,
    .ga4-photo-content {
        padding: 26px 22px;
    }

    .ga4-photo-column,
    .gtm-photo-split .ga4-photo-column,
    .ga4-importance-photo {
        min-height: clamp(220px, 62vw, 340px);
    }

    .article-content,
    .article-aside {
        max-width: none;
    }

    .article-aside {
        position: static;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 10vw, 3.35rem);
    }

    .page-hero h1 {
        font-size: clamp(1.9rem, 8.5vw, 2.65rem);
        line-height: 1.12;
    }

    .hero p,
    .hero-card li,
    .section p,
    .section li {
        text-align: left;
        hyphens: none;
    }

    .btn,
    .btn.orange,
    .home-page .hero .btn,
    .home-page .section .btn {
        width: 100%;
        text-align: center;
    }

    .footer .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 42px 28px;
        text-align: center;
    }

    .footer-brand,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .footer-brand {
        max-width: 560px;
        margin: 0 auto;
    }

    .footer-logo {
        margin-right: auto;
        margin-left: auto;
    }

    .footer-brand > p {
        max-width: 520px;
    }

    .footer-column {
        align-items: center;
    }

    .footer-contact {
        display: flex;
        align-items: center;
    }

    .footer .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container,
    .about-page .page-hero > .container,
    .about-page .section > .container {
        width: min(100% - 24px, 1120px);
    }

    .footer .footer-main {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-top: 58px;
        padding-bottom: 48px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: auto;
    }

    .footer-brand > p {
        font-size: .95rem;
    }

    .footer-contact {
        padding: 24px 20px;
    }

    .footer-column h2 {
        margin-bottom: 7px;
    }

    .nav {
        gap: 0 8px;
        padding: 8px 0;
    }

    .logo {
        flex-basis: 164px;
        width: 164px;
        height: 47px;
    }

    .logo-img {
        top: -70px;
        left: -8px;
        width: 181px;
        height: auto;
    }

    .nav-toggle {
        width: 44px;
        height: 44px;
        padding: 8px 10px;
        border-radius: 12px;
    }

    .menu {
        margin-top: 8px;
        padding: 8px;
        border-radius: 16px;
    }

    .hero,
    .home-page .hero {
        padding: 48px 0;
    }

    .page-hero {
        padding: 44px 0;
    }

    .section,
    .about-page .section {
        padding: 46px 0;
    }

    .title {
        margin-bottom: 30px;
    }

    .hero-card,
    .card,
    .contact-form-card,
    .about-team-intro,
    .about-values-card,
    .info-box,
    .process-box {
        padding: 19px 17px;
        border-radius: 14px;
    }

    .cta {
        padding: 28px 18px;
        border-radius: 15px;
    }

    .stat {
        display: block;
        padding: 20px;
        text-align: center;
    }

    .stat p {
        text-align: center;
    }

    .detail-item {
        flex-direction: column;
        padding: 18px;
    }

    .form input,
    .form textarea,
    .form select {
        font-size: 16px;
    }

    .badge {
        max-width: 100%;
        white-space: normal;
        line-height: 1.45;
    }
}

/* Refined service-menu experience */
.services-mega-menu .service-menu-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.services-mega-menu .service-menu-eyebrow {
    display: block;
    margin-bottom: 3px;
    color: #2563eb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.services-mega-menu .service-menu-topbar p {
    margin: 0;
    color: #475569;
    font-size: 14px;
    line-height: 1.45;
}

.services-mega-menu .service-menu-view-all {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 750;
    white-space: nowrap;
}

.services-mega-menu .service-menu-copy {
    display: block;
    min-width: 0;
}

.services-mega-menu .service-menu-copy strong,
.services-mega-menu .service-menu-copy small {
    display: block;
}

.services-mega-menu .service-menu-copy strong {
    color: inherit;
    font-size: 13.5px;
    font-weight: 750;
    line-height: 1.28;
}

.services-mega-menu .service-menu-copy small {
    margin-top: 3px;
    color: #7c889b;
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1.3;
}

.services-mega-menu .service-menu-arrow {
    color: #94a3b8;
    font-size: 16px;
    transition: color .2s ease, transform .2s ease;
}

.services-mega-menu a:hover .service-menu-arrow,
.services-mega-menu a:focus-visible .service-menu-arrow {
    color: #2563eb;
    transform: translateX(3px);
}

@media (min-width: 1201px) {
    .menu > .services-dropdown > .services-mega-menu {
        display: block;
        padding: 0;
        overflow: hidden;
        border: 1px solid #dbe6f7;
        border-top: 3px solid #2563eb;
        border-radius: 0 0 22px 22px;
        background: #fff;
    }

    .services-mega-menu .service-menu-topbar {
        padding: 16px 22px;
        border-bottom: 1px solid #e7eef9;
        background: linear-gradient(100deg, #f8fbff 0%, #f2f7ff 55%, #f7fbf8 100%);
    }

    .services-mega-menu .service-menu-view-all {
        min-height: 38px;
        padding: 8px 14px;
        border: 1px solid #cdddf6;
        background: #fff;
        color: #1d4ed8;
        font-size: 12.5px;
        box-shadow: 0 4px 12px rgba(37, 99, 235, .08);
    }

    .services-mega-menu .service-menu-view-all:hover,
    .services-mega-menu .service-menu-view-all:focus-visible {
        border-color: #93b4eb;
        background: #eff6ff;
    }

    .services-mega-menu .service-menu-columns {
        display: grid;
        grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
        gap: 18px;
        padding: 18px 20px 22px;
        align-items: start;
    }

    .services-mega-menu .service-menu-group {
        overflow: hidden;
        border: 1px solid #e3eaf5;
        border-radius: 16px;
        background: #f8fafc;
        box-shadow: 0 6px 18px rgba(15, 42, 86, .05);
    }

    .services-mega-menu .service-menu-group h2 {
        min-height: 56px;
        margin: 0;
        padding: 10px 13px;
        border-bottom: 1px solid #e3eaf5;
        background: #fff;
        font-size: 14px;
        letter-spacing: .025em;
    }

    .services-mega-menu .service-menu-group h2 > small {
        margin-left: auto;
        padding: 4px 8px;
        border-radius: 999px;
        background: #eef4ff;
        color: #53709d;
        font-size: 10px;
        font-weight: 750;
        letter-spacing: .03em;
        text-transform: none;
        white-space: nowrap;
    }

    .services-mega-menu .service-menu-options {
        display: grid;
        gap: 7px;
        padding: 9px;
    }

    .services-mega-menu .service-menu-group:first-child .service-menu-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .menu > .services-dropdown > .services-mega-menu .service-menu-group .service-menu-options > a {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr) 16px;
        gap: 10px;
        min-height: 62px;
        margin: 0;
        padding: 8px 9px;
        border: 1px solid transparent;
        border-radius: 11px;
        align-items: center;
        background: rgba(255, 255, 255, .8);
        color: #334155;
    }

    .menu > .services-dropdown > .services-mega-menu .service-menu-group .service-menu-options > a:hover,
    .menu > .services-dropdown > .services-mega-menu .service-menu-group .service-menu-options > a:focus-visible,
    .menu > .services-dropdown > .services-mega-menu .service-menu-group .service-menu-options > a[aria-current="page"] {
        border-color: #cfe0fa;
        background: #fff;
        color: #1d4ed8;
        box-shadow: 0 7px 16px rgba(37, 99, 235, .09);
        transform: translateY(-1px);
    }
}

@media (max-width: 1200px) {
    .nav .menu > .services-dropdown.submenu-open > .services-mega-menu {
        display: block;
        max-height: min(72vh, 720px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .services-mega-menu .service-menu-topbar {
        padding: 12px 10px;
        border-bottom: 1px solid rgba(148, 180, 239, .22);
    }

    .services-mega-menu .service-menu-eyebrow {
        color: #93c5fd;
        font-size: 9px;
    }

    .services-mega-menu .service-menu-topbar p {
        color: #d9e6ff;
        font-size: 11px;
    }

    .services-mega-menu .service-menu-view-all {
        padding: 7px 9px;
        background: rgba(255, 255, 255, .1);
        color: #fff;
        font-size: 10.5px;
    }

    .services-mega-menu .service-menu-columns {
        display: grid;
        gap: 7px;
        padding: 7px 0 5px;
    }

    .services-mega-menu .service-menu-group {
        padding: 0 0 6px;
    }

    .services-mega-menu .service-menu-group h2 > small {
        margin-left: auto;
        color: #b9ccef;
        font-size: 9px;
        letter-spacing: 0;
        text-transform: none;
    }

    .services-mega-menu .service-menu-options {
        display: grid;
        gap: 3px;
        padding: 0 7px;
    }

    .nav .menu > .services-dropdown > .services-mega-menu .service-menu-group .service-menu-options > a {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr) 14px;
        gap: 8px;
        min-height: 48px;
        padding: 6px 7px;
        border-radius: 9px;
        background: rgba(255, 255, 255, .055);
    }

    .services-mega-menu .service-menu-copy strong {
        color: #fff;
        font-size: 12px;
    }

    .services-mega-menu .service-menu-copy small {
        color: #b8c7e3;
        font-size: 10px;
    }

    .services-mega-menu .service-menu-arrow {
        color: #91a6cc;
    }
}

@media (max-width: 520px) {
    .services-mega-menu .service-menu-topbar p,
    .services-mega-menu .service-menu-copy small {
        display: none;
    }

    .services-mega-menu .service-menu-view-all {
        padding: 6px 8px;
    }

    .nav .menu > .services-dropdown > .services-mega-menu .service-menu-group .service-menu-options > a {
        min-height: 42px;
    }
}

@media (max-width: 360px) {
    .logo {
        flex-basis: 148px;
        width: 148px;
    }

    .logo-img {
        top: -64px;
        width: 166px;
    }

    .hero h1 {
        font-size: 2rem;
    }
}

/* Conversion tracking: combined process and business-impact feature card. */
.conversion-page .conversion-insight-card {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    margin-top: 34px;
    overflow: hidden;
    border: 1px solid rgba(30, 64, 175, .14);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .11);
}

.conversion-page .conversion-insight-intro,
.conversion-page .conversion-insight-benefits {
    padding: clamp(30px, 4vw, 54px);
}

.conversion-page .conversion-insight-intro {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    background:
        radial-gradient(circle at 10% 10%, rgba(96, 165, 250, .35), transparent 34%),
        linear-gradient(145deg, #102a67 0%, #1746a2 58%, #2563c8 100%);
}

.conversion-page .conversion-card-eyebrow {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 16px;
    color: #2563c8;
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.conversion-page .conversion-insight-intro .conversion-card-eyebrow {
    color: #bfdbfe;
}

.conversion-page .conversion-insight-card h2 {
    margin: 0 0 18px;
    font-size: clamp(1.65rem, 2.5vw, 2.35rem);
    line-height: 1.12;
}

.conversion-page .conversion-insight-intro h2,
.conversion-page .conversion-insight-intro p {
    color: #fff;
}

.conversion-page .conversion-insight-card p {
    margin: 0 0 14px;
    line-height: 1.75;
}

.conversion-page .conversion-card-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    margin-top: 12px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, .55);
    color: #fff;
    font-weight: 800;
}

.conversion-page .conversion-benefit-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.conversion-page .conversion-benefit-list li {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 17px;
    border: 1px solid #dbe6f5;
    border-radius: 16px;
    background: #f7faff;
}

.conversion-page .conversion-benefit-list li:last-child {
    grid-column: 1 / -1;
}

.conversion-page .conversion-benefit-list li > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 10px;
    color: #fff;
    background: #f97316;
    font-size: .72rem;
    font-weight: 900;
}

.conversion-page .conversion-benefit-list h3 {
    margin: 1px 0 5px;
    color: #172554;
    font-size: 1rem;
}

.conversion-page .conversion-benefit-list p {
    margin: 0;
    color: #526177;
    font-size: .9rem;
    line-height: 1.55;
}

@media (max-width: 900px) {
    .conversion-page .conversion-insight-card {
        grid-template-columns: 1fr;
    }
}

/* About page: service-detail page visual treatment. */
.about-page main > .section:nth-child(odd) { background: #fff; }
.about-page main > .section:nth-child(even) { background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%); }

.about-page main > .section:first-child .split,
.about-page main > .section:nth-child(4) .split {
    padding: clamp(26px, 4vw, 44px);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .07);
}

.about-page .about-story-grid { grid-template-columns: 1fr; gap: 18px; }
.about-page .about-story-card {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    padding: 28px 32px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #f97316;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}
.about-page .about-story-number {
    position: static;
    grid-row: 1 / span 3;
    align-self: start;
    color: #f97316;
    font-size: 1rem;
}
.about-page .about-story-number::after { display: none; }
.about-page .about-story-card h3,
.about-page .about-story-card p { grid-column: 2; }

.about-page .about-team-intro,
.about-page .about-values-card {
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .06);
}

.about-page .about-approach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    counter-reset: about-step;
}
.about-page .about-approach-grid .card { counter-increment: about-step; padding: 30px; }
.about-page .about-approach-grid .card::after {
    position: absolute;
    top: 22px;
    right: 24px;
    color: #cbd5e1;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .1em;
    content: "0" counter(about-step);
}

@media (max-width: 760px) {
    .about-page main > .section:first-child .split,
    .about-page main > .section:nth-child(4) .split { padding: 22px; border-radius: 18px; }
    .about-page .about-story-card { display: block; padding: 24px 22px; }
    .about-page .about-story-number { display: block; margin-bottom: 14px; }
    .about-page .about-approach-grid { grid-template-columns: 1fr; }
}

/* Conversion service page responsive safeguards. */
body.conversion-page {
    overflow-x: hidden;
}

body.conversion-page img,
body.conversion-page svg {
    max-width: 100%;
}

body.conversion-page .conversion-document-block,
body.conversion-page .conversion-document-steps article,
body.conversion-page .conversion-document-benefits article,
body.conversion-page .gtm-services-list > li,
body.conversion-page .faq-item {
    min-width: 0;
}

body.conversion-page h1,
body.conversion-page h2,
body.conversion-page h3,
body.conversion-page p {
    overflow-wrap: break-word;
}

@media (max-width: 900px) {
    body.conversion-page .page-hero {
        padding: 62px 0 58px;
    }

    body.conversion-page .section {
        padding-block: 64px;
    }

    body.conversion-page #conversion-overview .gtm-overview-visual {
        width: 100%;
        margin-inline: 0;
    }

    body.conversion-page #conversion-overview .gtm-overview-visual img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    body.conversion-page #ga4-services .gtm-services-list {
        grid-template-columns: 1fr;
    }

    body.conversion-page #ga4-services .gtm-services-list > li {
        width: 100%;
    }
}

@media (max-width: 600px) {
    body.conversion-page .page-hero {
        padding: 46px 0 42px;
    }

    body.conversion-page .page-hero h1 {
        font-size: clamp(2rem, 11vw, 2.75rem);
        line-height: 1.08;
    }

    body.conversion-page .page-hero p {
        font-size: .98rem;
        line-height: 1.65;
    }

    body.conversion-page .section {
        padding-block: 46px;
    }

    body.conversion-page #conversion-overview > .container > .info-box,
    body.conversion-page #conversion-overview .conversion-document-block,
    body.conversion-page #conversion-faq .info-box,
    body.conversion-page #gtm-faqs .info-box {
        padding: 22px 18px;
        border-radius: 16px;
    }

    body.conversion-page #conversion-overview .conversion-document-block > h2 {
        font-size: clamp(1.42rem, 7.5vw, 1.8rem);
    }

    body.conversion-page #conversion-overview .conversion-document-block > h2:not(:first-child) {
        margin-top: 34px;
        padding-top: 28px;
    }

    body.conversion-page #conversion-overview .conversion-document-block > .conversion-document-lead,
    body.conversion-page #conversion-overview .conversion-document-cta {
        padding: 15px 16px;
        font-size: .94rem;
    }

    body.conversion-page .conversion-document-steps article,
    body.conversion-page .conversion-document-benefits article {
        grid-template-columns: 34px minmax(0, 1fr);
        gap: 11px;
        padding: 15px 13px;
        border-radius: 12px;
    }

    body.conversion-page .conversion-document-steps article > span,
    body.conversion-page .conversion-document-benefits article > span {
        width: 34px;
        height: 34px;
        border-radius: 9px;
        font-size: .7rem;
    }

    body.conversion-page .conversion-document-steps h3,
    body.conversion-page .conversion-document-benefits h3 {
        font-size: .98rem;
        line-height: 1.35;
    }

    body.conversion-page .conversion-document-steps p,
    body.conversion-page .conversion-document-benefits p {
        font-size: .9rem;
        line-height: 1.62;
    }

    body.conversion-page #ga4-services > .container > .title {
        text-align: left;
    }

    body.conversion-page .gtm-services-list > li {
        padding: 18px 14px 18px 48px;
    }

    body.conversion-page .gtm-services-list > li::before {
        left: 8px;
    }

    body.conversion-page .gtm-services-cta,
    body.conversion-page .gtm-services-cta .btn {
        width: 100%;
    }

    body.conversion-page .faq-question {
        gap: 12px;
        padding: 17px 15px;
        font-size: .94rem;
        line-height: 1.45;
        text-align: left;
    }

    body.conversion-page .faq-answer p {
        padding-inline: 15px;
        font-size: .9rem;
    }
}

/* Conversion document content: isolated from GA4 audit layout rules. */
.conversion-page #conversion-overview .conversion-document-block {
    display: block;
    padding: clamp(26px, 4vw, 44px);
    border: 1px solid #d8e5f7;
    background: linear-gradient(145deg, #fff 0%, #f8fbff 100%);
    box-shadow: 0 18px 46px rgba(15, 48, 110, .08);
}

.conversion-page #conversion-overview .conversion-document-block > h2 {
    position: relative;
    margin: 0 0 22px;
    padding: 0 0 15px;
    color: #102f62;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    line-height: 1.2;
    letter-spacing: -.025em;
}

.conversion-page #conversion-overview .conversion-document-block > h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 64px;
    height: 4px;
    border-radius: 99px;
    background: linear-gradient(90deg, #2563eb, #10b981);
}

.conversion-page #conversion-overview .conversion-document-block > h2:not(:first-child) {
    margin-top: 44px;
    padding-top: 36px;
    border-top: 1px solid #dce6f4;
}

.conversion-page #conversion-overview .conversion-document-block > br {
    display: none;
}

.conversion-page #conversion-overview .conversion-document-block > p {
    margin: 0 0 18px;
    color: #43536b;
    line-height: 1.78;
}

.conversion-page #conversion-overview .conversion-document-block > .conversion-document-lead {
    padding: 18px 20px;
    border-left: 4px solid #2563eb;
    border-radius: 0 12px 12px 0;
    background: #eef5ff;
}

.conversion-page .conversion-document-steps,
.conversion-page .conversion-document-benefits {
    display: grid;
    gap: 12px;
    margin: 24px 0;
}

.conversion-page .conversion-document-steps article,
.conversion-page .conversion-document-benefits article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    padding: 19px 20px;
    border: 1px solid #dce6f4;
    border-radius: 14px;
    background: #fff;
}

.conversion-page .conversion-document-steps article > span,
.conversion-page .conversion-document-benefits article > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 11px;
    color: #fff;
    background: #2563c8;
    font-size: .78rem;
    font-weight: 900;
}

.conversion-page .conversion-document-steps h3,
.conversion-page .conversion-document-benefits h3 {
    margin: 1px 0 7px;
    color: #163f7d;
    font-size: 1.05rem;
}

.conversion-page .conversion-document-steps p,
.conversion-page .conversion-document-benefits p {
    margin: 0;
    color: #526177;
    line-height: 1.68;
}

.conversion-page #conversion-overview .conversion-document-cta {
    margin-top: 22px;
    padding: 17px 20px;
    border: 1px solid #bfe7d5;
    border-radius: 12px;
    background: #effcf6;
    color: #176746;
    font-weight: 700;
}

@media (max-width: 600px) {
    .conversion-page .conversion-document-steps article,
    .conversion-page .conversion-document-benefits article {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .conversion-page .conversion-document-steps article > span,
    .conversion-page .conversion-document-benefits article > span {
        width: 36px;
        height: 36px;
    }
}

/* Final heading and lead accents for the live conversion document block. */
body.conversion-page #ga4-overview > .container > .conversion-document-block > h2 {
    position: relative;
    margin: 0 0 22px;
    padding: 0 0 16px;
}

body.conversion-page #ga4-overview > .container > .conversion-document-block > h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 68px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #10b981);
}

body.conversion-page #ga4-overview > .container > .conversion-document-block > h2:not(:first-child) {
    margin-top: 42px;
    padding-top: 34px;
    border-top: 1px solid #dce6f4;
}

body.conversion-page #ga4-overview > .container > .conversion-document-block > p.conversion-document-lead {
    margin: 0 0 18px;
    padding: 18px 22px;
    border: 0;
    border-left: 4px solid #2563eb;
    border-radius: 0 14px 14px 0;
    background: rgba(239, 246, 255, .82);
    color: #344761;
    font-size: 1.02rem;
    line-height: 1.8;
}

/* Polished single-column conversion document block. */
.conversion-page #ga4-overview > .container > .conversion-document-block {
    border: 1px solid #d8e5f7;
    background:
        radial-gradient(circle at 100% 0, rgba(45, 212, 191, .08), transparent 28%),
        linear-gradient(145deg, #fff 0%, #f8fbff 100%);
    box-shadow: 0 20px 50px rgba(15, 48, 110, .09);
}

.conversion-page #ga4-overview > .container > .conversion-document-block > h2 {
    position: relative;
    margin: 0 0 22px;
    padding: 0 0 16px;
}

.conversion-page #ga4-overview > .container > .conversion-document-block > h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 68px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2563eb, #10b981);
}

.conversion-page #ga4-overview > .container > .conversion-document-block > h2:not(:first-child) {
    margin-top: 42px;
    padding-top: 34px;
    border-top: 1px solid #dce6f4;
}

.conversion-page #ga4-overview > .container > .conversion-document-block > .conversion-document-lead {
    margin: 0 0 18px;
    padding: 18px 22px;
    border-left: 4px solid #2563eb;
    border-radius: 0 14px 14px 0;
    background: rgba(239, 246, 255, .82);
    color: #344761;
    font-size: 1.02rem;
}

.conversion-page .conversion-document-benefits {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.conversion-page .conversion-document-benefits article {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px 20px;
    border: 1px solid #dce6f4;
    border-radius: 14px;
    background: rgba(255, 255, 255, .88);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.conversion-page .conversion-document-benefits article:hover {
    border-color: #a9c4f5;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .08);
    transform: translateY(-2px);
}

.conversion-page .conversion-document-benefits article > span {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(145deg, #2563eb, #174ea6);
    font-size: 1rem;
    font-weight: 900;
    box-shadow: 0 8px 16px rgba(37, 99, 235, .18);
}

.conversion-page .conversion-document-benefits h3 {
    margin: 1px 0 5px;
    color: #123b7a;
    font-size: 1.05rem;
}

.conversion-page .conversion-document-benefits p {
    margin: 0;
    color: #526177;
    line-height: 1.65;
}

@media (max-width: 600px) {
    .conversion-page .conversion-document-benefits article {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 12px;
        padding: 16px;
    }

    .conversion-page .conversion-document-benefits article > span {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
}

@media (max-width: 600px) {
    .conversion-page .conversion-insight-card {
        border-radius: 20px;
    }

    .conversion-page .conversion-benefit-list {
        grid-template-columns: 1fr;
    }

    .conversion-page .conversion-benefit-list li:last-child {
        grid-column: auto;
    }
}

/* About page: final adaptive layout guard. */
.about-page {
    overflow-x: clip;
}

.about-page .page-hero > .container,
.about-page .section > .container {
    width: min(calc(100% - 48px), 1120px);
}

.about-page .page-hero {
    padding-block: clamp(58px, 7vw, 84px);
}

.about-page .page-hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.6rem);
    line-height: 1.08;
}

.about-page .page-hero p {
    max-width: 620px;
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    line-height: 1.65;
}

.about-page .about-hero-label {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    color: #f8fafc;
    background: rgba(255, 255, 255, .09);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.about-page .section {
    padding-block: clamp(58px, 7.5vw, 88px);
}

.about-page .title {
    max-width: 700px;
    margin-bottom: clamp(30px, 4vw, 48px);
}

.about-page .title h2 {
    font-size: clamp(1.8rem, 3.6vw, 2.55rem);
    line-height: 1.15;
}

.about-page .title p {
    font-size: clamp(.98rem, 1.5vw, 1.1rem);
}

.about-page .about-section-heading > span {
    display: block;
    margin-bottom: 10px;
    color: #ea580c;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.about-page .about-section-heading h2 {
    position: relative;
    padding-bottom: 18px;
}

.about-page .about-section-heading h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 52px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f97316, #fbbf24);
    content: "";
}

.about-page .split,
.about-page .about-team-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr);
    gap: clamp(28px, 5vw, 58px);
    align-items: stretch;
}

.about-page .split > *,
.about-page .grid-3 > * {
    min-width: 0;
}

.about-page .split > div:not(.card) {
    align-self: center;
}

.about-page .split > div:not(.card) p {
    color: #475569;
    font-size: clamp(1rem, 1.35vw, 1.08rem);
    line-height: 1.8;
}

.about-page .split > div:not(.card) p + p {
    margin-top: 18px;
}

.about-page .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2.4vw, 26px);
}

.about-page .grid-3 .card {
    height: 100%;
}

.about-page .card,
.about-page .about-team-intro {
    overflow: hidden;
}

.about-page .about-mission-card {
    position: relative;
    border-color: rgba(249, 115, 22, .25);
    background: linear-gradient(145deg, #fff 0%, #fff7ed 100%);
    box-shadow: 0 20px 50px rgba(15, 23, 42, .09);
}

.about-page .about-mission-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(#f97316, #fbbf24);
    content: "";
}

.about-page .about-card-kicker {
    display: block;
    margin-bottom: 13px;
    color: #ea580c;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.about-page .about-story-card {
    position: relative;
    padding-top: 72px;
    border-top: 4px solid #f97316;
    background: #fff;
}

.about-page .about-story-number {
    position: absolute;
    top: 24px;
    left: 28px;
    color: #f97316;
    font-size: .85rem;
    font-weight: 900;
    letter-spacing: .1em;
}

.about-page .about-story-number::after {
    display: inline-block;
    width: 42px;
    height: 1px;
    margin: 0 0 4px 10px;
    background: #fed7aa;
    content: "";
}

.about-page .about-approach-grid .card {
    position: relative;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}

.about-page .about-approach-grid .icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 15px;
    color: #ea580c;
    background: #fff7ed;
}

.about-page .about-approach-grid .icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.about-page .about-approach-grid .card:nth-child(even) .icon {
    color: #2563eb;
    background: #eff6ff;
}

.about-page .about-story-grid {
    grid-template-columns: 1fr;
    gap: 18px;
}

.about-page .about-story-card {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    padding: 28px 32px;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #f97316;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.about-page .about-story-number {
    position: static;
    grid-row: 1 / span 3;
    align-self: start;
    font-size: 1rem;
}

.about-page .about-story-number::after {
    display: none;
}

.about-page .about-story-card h3,
.about-page .about-story-card p {
    grid-column: 2;
}

.about-page .about-approach-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.about-page .about-approach-grid .card {
    min-height: 270px;
    padding: 32px;
    border-color: #dbe5f2;
    border-radius: 20px;
    background: linear-gradient(145deg, #fff 0%, #fbfdff 100%);
    box-shadow: 0 14px 36px rgba(15, 23, 42, .07);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.about-page .about-approach-grid .card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 22px 48px rgba(15, 23, 42, .11);
}

.about-page .about-approach-grid .card h3 {
    margin-top: 22px;
    color: #153e9f;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.25;
}

.about-page .about-approach-grid .card p {
    margin-top: 14px;
    color: #5b6b85;
    font-size: 1rem;
    line-height: 1.75;
}

/* Collaboration section: compact, balanced service-page presentation. */
.about-page .about-team-section .about-section-heading {
    max-width: 820px;
    margin-inline: auto;
    text-align: center;
}

.about-page .about-team-section .about-section-heading h2::after {
    left: 50%;
    width: 64px;
    transform: translateX(-50%);
}

.about-page .about-team-section .about-team-grid {
    grid-template-columns: minmax(0, 1.3fr) minmax(340px, .7fr);
    align-items: center;
    gap: clamp(26px, 4vw, 48px);
}

.about-page .about-team-section .about-team-intro {
    padding: clamp(30px, 4vw, 44px);
}

.about-page .about-team-section .about-values-card {
    position: relative;
    min-height: 0;
    padding: 38px 34px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 22px;
    background: linear-gradient(145deg, #102f70 0%, #075985 100%);
    box-shadow: 0 22px 48px rgba(30, 64, 175, .2);
}

.about-page .about-team-section .about-values-card::before {
    display: grid;
    width: 50px;
    height: 50px;
    margin-bottom: 24px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 15px;
    color: #fff;
    background: rgba(255, 255, 255, .1);
    content: "◎";
    font-size: 1.4rem;
}

.about-page .about-team-section .about-values-card::after {
    position: absolute;
    right: -70px;
    bottom: -80px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: rgba(56, 189, 248, .13);
    content: "";
}

.about-page .about-team-section .about-values-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 16px;
    color: #fff;
    font-size: clamp(1.35rem, 2vw, 1.65rem);
    line-height: 1.3;
}

.about-page .about-team-section .about-values-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #dbeafe;
    font-size: 1rem;
    line-height: 1.75;
}

.about-page main > .section:nth-child(4) .about-section-heading {
    max-width: 860px;
    margin-inline: auto;
    text-align: center;
}

.about-page main > .section:nth-child(4) .about-section-heading h2::after {
    left: 50%;
    width: 64px;
    transform: translateX(-50%);
}

.about-page main > .section:nth-child(4) .split {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    align-items: center;
    gap: clamp(34px, 5vw, 68px);
    padding: clamp(34px, 5vw, 58px);
}

.about-page main > .section:nth-child(4) .split > div:first-child {
    position: relative;
    padding-left: 24px;
}

.about-page main > .section:nth-child(4) .split > div:first-child::before {
    position: absolute;
    inset: 4px auto 4px 0;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f97316, #fbbf24);
    content: "";
}

.about-page main > .section:nth-child(4) .card {
    position: relative;
    min-height: 0;
    padding: 34px 34px 36px;
    border: 1px solid #dbe5f2;
    border-radius: 20px;
    background: linear-gradient(145deg, #ffffff, #f8fbff);
    box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
}

.about-page main > .section:nth-child(4) .card::before {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    box-shadow: 0 10px 22px rgba(37, 99, 235, .22);
    content: "✓";
    font-size: 1.15rem;
    font-weight: 900;
}

.about-page main > .section:nth-child(4) .card h3 {
    margin-bottom: 14px;
    color: #153e9f;
    font-size: clamp(1.3rem, 2vw, 1.55rem);
}

.about-page main > .section:nth-child(4) .card p {
    color: #5b6b85;
    line-height: 1.75;
}

/* About page palette and panels match the GA4 service-page design. */
.about-page main > .section,
.about-page main > .section:nth-child(odd),
.about-page main > .section:nth-child(even) {
    background: linear-gradient(180deg, #f8fbff 0%, #f3f7ff 100%);
}

.about-page main > .section:nth-child(even) {
    background: #fff;
}

.about-page .about-section-heading,
.about-page .about-team-section .about-section-heading,
.about-page main > .section:nth-child(4) .about-section-heading {
    max-width: 880px;
    margin-right: auto;
    margin-left: 0;
    text-align: left;
}

.about-page .about-section-heading > span {
    color: #2563eb;
}

.about-page .about-section-heading h2 {
    color: #0f2f66;
}

.about-page .about-section-heading h2::after,
.about-page .about-team-section .about-section-heading h2::after,
.about-page main > .section:nth-child(4) .about-section-heading h2::after {
    left: 0;
    width: 64px;
    transform: none;
    background: linear-gradient(90deg, #2563eb, #10b981);
}

/* Expertise section: simple, polished and professional. */
.about-page .about-team-section .about-section-heading {
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
}

.about-page .about-team-section .about-team-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    align-items: center;
    gap: 28px;
}

.about-page .about-team-section .about-team-intro,
.about-page .about-team-section .about-values-card {
    padding: clamp(28px, 3.5vw, 40px);
    border: 1px solid #dbe5f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 23, 42, .06);
}

.about-page .about-team-section .about-values-card {
    min-height: 0;
    border-left: 4px solid #2563eb;
}

.about-page .about-team-section .about-values-card::before,
.about-page .about-team-section .about-values-card::after {
    display: none;
}

.about-page .about-team-section .about-values-card h3 {
    margin-bottom: 14px;
    color: #123b78;
    font-size: clamp(1.3rem, 2vw, 1.55rem);
}

.about-page .about-team-section .about-values-card p {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #526177;
    line-height: 1.75;
}

.about-page .about-team-section .about-team-intro h3 {
    color: #123b78;
}

.about-page .about-team-section .about-team-intro h3::after {
    background: linear-gradient(90deg, #2563eb, #10b981);
}

.about-page .about-mission-card::before,
.about-page main > .section:nth-child(4) .split > div:first-child::before {
    background: linear-gradient(180deg, #2563eb, #10b981);
}

.about-page .about-card-kicker,
.about-page .about-story-number {
    color: #2563eb;
}

.about-page .about-mission-card {
    border-color: #dbeafe;
    background: linear-gradient(145deg, #fff 0%, #f5f9ff 100%);
}

.about-page .about-story-card {
    border-left-color: #2563eb;
}

.about-page .about-story-card:nth-child(even) {
    border-left-color: #10b981;
}

.about-page .about-approach-grid .icon,
.about-page .about-approach-grid .card:nth-child(even) .icon {
    color: #2563eb;
    background: #eff6ff;
}

.about-page .about-approach-grid .card:nth-child(even) .icon {
    color: #059669;
    background: #ecfdf5;
}

.about-page main > .section:nth-child(4) .card::before {
    background: linear-gradient(135deg, #2563eb, #0f766e);
}

.about-page .about-team-section .about-values-card {
    background: linear-gradient(145deg, #123b78 0%, #075985 100%);
}

.about-page .cta {
    max-width: 980px;
    margin-inline: auto;
    border: 1px solid #dbeafe;
    border-radius: 24px;
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
    box-shadow: 0 18px 46px rgba(30, 64, 175, .09);
}

.about-page .cta h2 {
    color: #0f2f66;
    font-size: clamp(1.8rem, 3.5vw, 2.65rem);
    line-height: 1.2;
}

.about-page .cta p {
    color: #526177;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.7;
}

.about-page .cta .btn.orange {
    border-color: #1d4ed8;
    background: #1d4ed8;
    box-shadow: 0 10px 24px rgba(29, 78, 216, .22);
}

.about-page .cta .btn.orange:hover {
    border-color: #153e9f;
    background: #153e9f;
}

/* Restore the original open layout while retaining the blue/teal palette. */
.about-page .about-section-heading,
.about-page .about-team-section .about-section-heading,
.about-page main > .section:nth-child(4) .about-section-heading {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.about-page .about-section-heading h2::after,
.about-page .about-team-section .about-section-heading h2::after,
.about-page main > .section:nth-child(4) .about-section-heading h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.about-page main > .section:first-child .split {
    grid-template-columns: minmax(0, 1.2fr) minmax(340px, .8fr);
    align-items: center;
    gap: clamp(40px, 6vw, 76px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.about-page main > .section:first-child .split > div:first-child {
    padding: 4px 0;
}

.about-page main > .section:first-child .about-mission-card {
    padding: clamp(30px, 4vw, 42px);
    border-radius: 20px;
}

/* Collaboration section: remove nested framing and improve visual balance. */
.about-page main > .section:nth-child(4) .split {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    align-items: center;
    gap: clamp(40px, 6vw, 76px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.about-page main > .section:nth-child(4) .split > div:first-child {
    padding: 6px 0 6px 24px;
}

.about-page main > .section:nth-child(4) .card {
    padding: clamp(30px, 4vw, 40px);
    border: 1px solid #dbe5f2;
    border-left: 4px solid #2563eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .07);
}

.about-page main > .section:nth-child(4) .card::before {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: none;
}

.about-page main > .section:nth-child(4) .card h3 {
    margin-bottom: 12px;
    color: #123b78;
}

.about-page main > .section:nth-child(4) .card p {
    margin: 0;
    color: #526177;
}

.about-page .about-approach-grid .icon svg,
.about-page .about-approach-grid .icon svg * {
    fill: none !important;
    stroke: currentColor !important;
}

.about-page .card p,
.about-page .about-team-intro p,
.about-page .about-team-intro li {
    overflow-wrap: anywhere;
}

.about-page .cta {
    padding: clamp(36px, 6vw, 58px) clamp(22px, 6vw, 64px);
}

.about-page .cta p {
    max-width: 650px;
    margin-inline: auto;
    margin-bottom: 26px;
}

@media (max-width: 1024px) {
    .about-page .grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-page .split,
    .about-page .about-team-grid {
        gap: 28px;
    }
}

@media (max-width: 760px) {
    .about-page .page-hero > .container,
    .about-page .section > .container {
        width: min(calc(100% - 36px), 680px);
    }

    .about-page .page-hero {
        padding-block: 54px;
    }

    .about-page .section {
        padding-block: 54px;
    }

    .about-page .split,
    .about-page .about-team-grid,
    .about-page .grid-3 {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .about-page .about-story-card {
        display: block;
        padding: 24px 22px;
    }

    .about-page .about-story-number {
        display: block;
        margin-bottom: 14px;
    }

    .about-page .about-approach-grid {
        grid-template-columns: 1fr;
    }

    .about-page .about-approach-grid .card {
        min-height: 0;
    }

    .about-page main > .section:nth-child(4) .split {
        grid-template-columns: 1fr;
        padding: 24px 22px;
    }

    .about-page main > .section:nth-child(4) .split > div:first-child {
        padding-left: 17px;
    }

    .about-page main > .section:nth-child(4) .card {
        padding: 26px 24px;
    }

    .about-page main > .section:first-child .split {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0;
    }

    .about-page main > .section:nth-child(4) .split {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 0;
    }

    .about-page .about-team-section .about-team-grid {
        grid-template-columns: 1fr;
    }

    .about-page .about-team-section .about-values-card {
        padding: 28px 24px;
    }

    .about-page .title {
        margin-bottom: 30px;
    }

    .about-page .card,
    .about-page .about-team-intro,
    .about-page .about-values-card {
        padding: 24px 22px;
        border-radius: 18px;
    }

    .about-page .section p,
    .about-page .section li {
        text-align: left;
        text-justify: auto;
        hyphens: manual;
    }

    .about-page .card:hover {
        transform: none;
    }

    .about-page .cta {
        border-radius: 18px;
    }
}

@media (max-width: 420px) {
    .about-page .page-hero > .container,
    .about-page .section > .container {
        width: min(calc(100% - 28px), 680px);
    }

    .about-page .page-hero {
        padding-block: 46px;
    }

    .about-page .section {
        padding-block: 44px;
    }

    .about-page .page-hero h1 {
        font-size: clamp(2rem, 11vw, 2.55rem);
    }

    .about-page .title h2 {
        font-size: clamp(1.65rem, 8.5vw, 2.05rem);
    }

    .about-page .card,
    .about-page .about-team-intro,
    .about-page .about-values-card {
        padding: 21px 18px;
        border-radius: 16px;
    }

    .about-page .icon {
        width: 42px;
        height: 42px;
        margin-bottom: 15px;
    }

    .about-page .about-values-card p {
        padding: 11px 12px;
    }

    .about-page .cta {
        padding: 32px 18px;
    }

    .about-page .cta .btn {
        display: flex;
        width: 100%;
        min-height: 48px;
        padding-inline: 16px;
        align-items: center;
        justify-content: center;
        white-space: normal;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-page .card,
    .about-page .logo-img {
        animation: none;
        transition: none;
    }
}

/* Data-driven blog and local editor ------------------------------------- */
[hidden] {
    display: none !important;
}

.blog-loading,
.blog-empty,
.blog-notice {
    grid-column: 1 / -1;
    padding: 28px;
    border: 1px solid #dce6fa;
    border-radius: 14px;
    background: #f8faff;
    color: #5f6d8d;
    text-align: center;
}

.blog-notice h3 {
    margin-bottom: 6px;
    color: #07173f;
}

.blog-card-image {
    width: 100%;
    height: 180px;
    margin-bottom: 20px;
    border-radius: 10px;
    object-fit: cover;
}

.blog-post-hero .container {
    max-width: 900px;
    text-align: left;
}

.blog-post-hero h1,
.blog-post-hero p {
    margin-right: 0;
    margin-left: 0;
    text-align: left;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 18px;
    color: #b9d1ff;
    font-size: 13px;
    font-weight: 600;
}

.blog-post-meta > * + *::before {
    content: "•";
    margin-right: 18px;
    color: #6087db;
}

.blog-post-image {
    width: 100%;
    max-height: 460px;
    margin-bottom: 32px;
    border-radius: 14px;
    object-fit: cover;
}

.blog-post-content a,
.admin-preview a {
    color: #1249e8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.blog-back-link {
    display: block;
    margin-top: 18px;
    color: #1249e8;
    font-size: 14px;
    font-weight: 700;
}

.admin-header {
    border-bottom: 1px solid #dce6fa;
    background: #fff;
    box-shadow: 0 8px 28px rgba(5, 34, 101, .07);
}

.admin-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    padding: 8px 0;
}

.admin-header-inner > div {
    display: flex;
    align-items: center;
    gap: 18px;
}

.admin-header-inner a:not(.logo) {
    color: #1249e8;
    font-size: 13px;
    font-weight: 700;
}

.blog-admin-page {
    background: #f3f7ff;
}

.admin-login-shell {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 78px);
    padding: 42px 20px;
    background:
        radial-gradient(circle at 80% 10%, rgba(21, 89, 245, .18), transparent 32%),
        linear-gradient(135deg, #f7faff, #eaf1ff);
}

.admin-login-card {
    width: min(100%, 430px);
    padding: 34px;
    border: 1px solid #c9d9ff;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(5, 34, 101, .14);
}

.admin-login-card h1 {
    margin: 5px 0 8px;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.admin-login-card > p:not(.admin-login-status) {
    margin-bottom: 22px;
    color: #64748b;
}

.admin-login-card .admin-button {
    width: 100%;
    margin-top: 18px;
}

.admin-login-status {
    min-height: 22px;
    margin-top: 12px;
    color: #64748b;
    font-size: 13px;
    text-align: center;
}

.admin-login-status[data-type="error"] {
    color: #b91c1c;
}

.admin-main {
    padding-top: 42px;
    padding-bottom: 80px;
}

.admin-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: 28px;
    align-items: center;
    margin-bottom: 28px;
}

.admin-intro h1 {
    margin: 4px 0 8px;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -.04em;
}

.admin-intro p {
    max-width: 650px;
    color: #5f6d8d;
}

.admin-kicker {
    color: #1249e8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.admin-publish-note {
    padding: 20px 22px;
    border: 1px solid #c9d9ff;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(5, 34, 101, .06);
}

.admin-publish-note ol {
    margin: 10px 0 0 20px;
    color: #5f6d8d;
    font-size: 13px;
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 22px;
    padding: 13px;
    border: 1px solid #dce6fa;
    border-radius: 14px;
    background: #fff;
}

.admin-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid #c7d5ef;
    border-radius: 8px;
    background: #fff;
    color: #213252;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.admin-button:hover,
.admin-button:focus-visible {
    border-color: #7da4ff;
    background: #edf3ff;
    color: #1249e8;
}

.admin-button.primary {
    border-color: #1249e8;
    background: #1249e8;
    color: #fff;
}

.admin-button.primary:hover,
.admin-button.primary:focus-visible {
    background: #0b3bc5;
}

.admin-button.subtle {
    color: #64748b;
}

.admin-button.danger {
    border-color: #fecaca;
    color: #b91c1c;
}

.admin-button.small {
    min-height: 34px;
    padding: 6px 10px;
}

.admin-status {
    flex: 1 1 230px;
    margin-left: 5px;
    color: #64748b;
    font-size: 13px;
    text-align: right;
}

.admin-status[data-type="success"] { color: #047857; }
.admin-status[data-type="error"] { color: #b91c1c; }

.admin-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.admin-post-panel,
.admin-editor-panel,
.admin-preview {
    border: 1px solid #dce6fa;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 36px rgba(5, 34, 101, .06);
}

.admin-post-panel {
    position: sticky;
    top: 20px;
    overflow: hidden;
}

.admin-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #e5edfc;
}

.admin-panel-heading h2 {
    font-size: 17px;
}

.admin-post-list {
    display: grid;
    max-height: 70vh;
    overflow-y: auto;
}

.admin-post-item {
    display: grid;
    gap: 4px;
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid #edf2fb;
    background: #fff;
    color: #172033;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.admin-post-item:hover,
.admin-post-item.active {
    background: #edf3ff;
}

.admin-post-item.active {
    box-shadow: inset 3px 0 #1249e8;
}

.admin-post-item strong {
    font-size: 13px;
    line-height: 1.35;
}

.admin-post-item span,
.admin-empty {
    color: #71809c;
    font-size: 11px;
}

.admin-empty { padding: 18px; }

.admin-editor-panel {
    padding: 24px;
}

.admin-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.admin-field {
    display: grid;
    align-content: start;
    gap: 6px;
}

.admin-field.full,
.admin-checkbox,
.admin-form-actions {
    grid-column: 1 / -1;
}

.admin-field label,
.admin-checkbox {
    color: #213252;
    font-size: 13px;
    font-weight: 700;
}

.admin-field label span,
.admin-field small {
    color: #7a89a5;
    font-size: 11px;
    font-weight: 500;
}

.admin-field input,
.admin-field textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #c7d5ef;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    font: inherit;
    font-size: 14px;
}

.admin-field textarea {
    resize: vertical;
    line-height: 1.65;
}

.admin-field input:focus,
.admin-field textarea:focus {
    border-color: #1559f5;
    outline: 0;
    box-shadow: 0 0 0 4px rgba(21, 89, 245, .1);
}

.admin-checkbox {
    display: flex;
    align-items: center;
    gap: 9px;
}

.admin-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: #1249e8;
}

.admin-form-actions {
    display: flex;
    gap: 10px;
    padding-top: 4px;
}

.admin-preview {
    margin-top: 26px;
    padding: 30px;
    background: #fafdff;
}

.admin-preview > h2 {
    margin: 4px 0 18px;
    font-size: 14px;
    color: #64748b;
}

.admin-preview > h3 {
    margin-bottom: 8px;
    color: #07173f;
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.15;
}

.admin-preview .blog-post-meta {
    color: #5f6d8d;
}

.admin-preview-excerpt {
    margin-bottom: 28px;
    color: #5f6d8d;
}

@media (max-width: 900px) {
    .admin-intro,
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-post-panel {
        position: static;
    }

    .admin-post-list {
        max-height: 330px;
    }
}

@media (max-width: 600px) {
    .admin-header-inner {
        gap: 12px;
    }

    .admin-header-inner > div {
        display: grid;
        gap: 2px;
        text-align: right;
    }

    .admin-main {
        padding-top: 28px;
    }

    .admin-toolbar > .admin-button {
        flex: 1 1 calc(50% - 9px);
    }

    .admin-status {
        flex-basis: 100%;
        margin: 5px 0 0;
        text-align: left;
    }

    .admin-editor-panel,
    .admin-preview {
        padding: 18px;
    }

    .admin-form {
        grid-template-columns: 1fr;
    }

    .admin-field,
    .admin-checkbox,
    .admin-form-actions {
        grid-column: 1;
    }

    .blog-post-meta > * + *::before {
        margin-right: 8px;
    }
}

/* Rebuilt navigation dropdowns ----------------------------------------- */
@media (min-width: 1201px) {
    .menu > .dropdown {
        position: relative;
        display: inline-flex;
        align-items: center;
    }

    .menu > .dropdown > .submenu-toggle {
        display: none !important;
    }

    .menu > .dropdown > .dropdown-content {
        position: absolute;
        top: calc(100% + 2px);
        left: 0;
        display: block;
        width: 350px;
        min-width: 350px;
        padding: 10px;
        overflow: visible;
        border: 1px solid #dbe5f5;
        border-radius: 16px;
        background: rgba(255, 255, 255, .99);
        box-shadow: 0 24px 60px rgba(8, 30, 82, .16), 0 4px 12px rgba(8, 30, 82, .06);
        opacity: 0;
        visibility: hidden;
        transform: translateY(8px);
        transform-origin: top;
        pointer-events: none;
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .menu > .dropdown > .dropdown-content::before {
        content: "";
        position: absolute;
        top: -1px;
        left: 18px;
        width: 42px;
        height: 2px;
        border-radius: 99px;
        background: #2563eb;
    }

    .menu > .dropdown.submenu-open > .dropdown-content,
    .menu > .dropdown:focus-within > .dropdown-content {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .menu > .dropdown > .dropdown-content a {
        display: flex;
        min-height: 40px;
        margin: 1px 0;
        padding: 10px 12px;
        align-items: center;
        border: 0;
        border-radius: 9px;
        color: #3f4d68;
        font-size: 13px;
        font-weight: 600;
        line-height: 1.35;
        white-space: normal;
    }

    .menu > .dropdown > .dropdown-content a:hover,
    .menu > .dropdown > .dropdown-content a[aria-current="page"] {
        background: #edf3ff;
        color: #1249e8;
    }

    .menu > .dropdown > .dropdown-content .nested-dropdown {
        display: block;
        width: 100%;
    }

    .menu > .dropdown > .dropdown-content .nested-link {
        margin-bottom: 3px;
        color: #10234c;
        font-size: 13px;
        font-weight: 750;
    }

    .menu > .dropdown > .dropdown-content .nested-link::after {
        display: none;
    }

    .menu > .dropdown > .dropdown-content .nested-content,
    .menu > .dropdown > .dropdown-content .nested-dropdown:hover .nested-content,
    .menu > .dropdown > .dropdown-content .nested-dropdown:focus-within .nested-content {
        position: static;
        display: block;
        width: auto;
        min-width: 0;
        margin: 0 0 8px 12px;
        padding: 2px 0 2px 10px;
        border: 0;
        border-left: 2px solid #dce7fb;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .menu > .dropdown > .dropdown-content .nested-content a {
        min-height: 34px;
        padding: 7px 10px;
        color: #66738c;
        font-size: 12.5px;
        font-weight: 500;
    }

    .menu > .dropdown > .compact-menu {
        width: 310px;
        min-width: 310px;
    }
}

@media (max-width: 1200px) {
    .nav .menu > .dropdown {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 42px;
        align-items: center;
        width: 100%;
    }

    .nav .menu > .dropdown > .dropbtn {
        grid-column: 1;
        width: 100%;
    }

    .nav .menu > .dropdown > .submenu-toggle {
        display: grid !important;
        grid-column: 2;
        width: 38px;
        height: 38px;
        margin: 0 2px 0 0;
        place-items: center;
        border: 0;
        border-radius: 9px;
        background: rgba(255, 255, 255, .07);
        color: #c5d7fa;
    }

    .nav .menu > .dropdown > .dropdown-content {
        position: static;
        grid-column: 1 / -1;
        width: 100%;
        min-width: 0;
        max-height: 0;
        margin: 0;
        padding: 0 8px 0 12px;
        overflow: hidden;
        border: 0;
        border-left: 2px solid rgba(96, 165, 250, .45);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        transform: none;
        pointer-events: none;
        transition: max-height .28s ease, padding .28s ease, opacity .2s ease, visibility .2s ease;
    }

    .nav .menu > .dropdown.submenu-open > .dropdown-content {
        max-height: 520px;
        padding-top: 7px;
        padding-bottom: 7px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav .menu > .dropdown > .dropdown-content a {
        min-height: 40px;
        margin: 1px 0;
        padding: 9px 11px;
        border: 0;
        border-radius: 8px;
        color: #d5e2fb;
        font-size: 13px;
        white-space: normal;
    }

    .nav .menu > .dropdown > .dropdown-content a:hover,
    .nav .menu > .dropdown > .dropdown-content a[aria-current="page"] {
        background: rgba(68, 122, 240, .18);
        color: #fff;
    }

    .nav .menu > .dropdown .nested-content {
        position: static;
        width: auto;
        min-width: 0;
        max-height: 0;
        margin: 0 0 6px 10px;
        padding: 0 0 0 9px;
        overflow: hidden;
        border: 0;
        border-left: 1px solid rgba(148, 180, 239, .3);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        transform: none;
        pointer-events: none;
        transition: max-height .25s ease, padding .25s ease, opacity .2s ease, visibility .2s ease;
    }

    .nav .menu > .dropdown .nested-dropdown.nested-open .nested-content {
        max-height: 220px;
        padding: 1px 0 1px 9px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav .menu > .dropdown .nested-content a {
        min-height: 36px;
        color: #afc1df;
        font-size: 12.5px;
        font-weight: 500;
    }
}

/* Admin security settings --------------------------------------------- */
.admin-security-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    gap: 20px;
    align-items: start;
}

.admin-login-card .admin-field + .admin-field {
    margin-top: 14px;
}

.admin-security-form {
    display: grid;
    gap: 17px;
    padding: 22px;
}

.admin-security-form .admin-button {
    width: max-content;
}

.admin-security-status {
    min-height: 20px;
    margin: 0;
    color: #64748b;
    font-size: 12px;
}

.admin-security-status[data-type="error"] {
    color: #b91c1c;
}

.admin-session-body {
    display: flex;
    gap: 14px;
    padding: 22px;
}

.admin-session-body strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.admin-session-body p {
    margin: 0;
    color: #6b778d;
    font-size: 12px;
    line-height: 1.6;
}

.admin-session-shield {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    border-radius: 50%;
    background: #e5f8ef;
    color: #047857;
    font-weight: 800;
}

.admin-session-card > .admin-button {
    margin: 0 22px 22px;
}

@media (max-width: 850px) {
    .admin-security-grid {
        grid-template-columns: 1fr;
    }
}

/* Blog comments ------------------------------------------------------- */
.blog-comments {
    width: min(100% - 40px, 980px);
    max-width: 980px;
    margin: 70px auto 0;
    padding-top: 42px;
    border-top: 1px solid #dce6fa;
}

.blog-comments-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}

.blog-comments-heading h2 {
    display: flex;
    align-items: center;
    gap: 11px;
    margin: 4px 0 0;
    color: #07173f;
    font-size: clamp(1.7rem, 4vw, 2.35rem);
}

.blog-comments-heading h2 span {
    display: inline-grid;
    min-width: 32px;
    height: 32px;
    place-items: center;
    padding: 0 9px;
    border: 1px solid #c9d9ff;
    border-radius: 999px;
    background: #eaf1ff;
    color: #194cb8;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.blog-comments-heading > p {
    max-width: 400px;
    margin: 0;
    color: #64748b;
    font-size: 13px;
}

.blog-comment-list {
    display: grid;
    gap: 14px;
    margin-bottom: 32px;
}

.blog-comment {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
    border: 1px solid #dce6fa;
    border-radius: 12px;
    background: #fff;
}

.blog-comment-avatar {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: #e7efff;
    color: #194cb8;
    font-size: 14px;
    font-weight: 800;
}

.blog-comment-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 7px;
}

.blog-comment-meta strong {
    color: #17233c;
    font-size: 13px;
}

.blog-comment-meta time {
    color: #8390a8;
    font-size: 10px;
}

.blog-comment p {
    margin: 0;
    color: #4f5e76;
    font-size: 13px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.blog-comments-empty {
    padding: 22px;
    border: 1px dashed #c9d9ef;
    border-radius: 10px;
    color: #71809c;
    font-size: 13px;
    text-align: center;
}

.blog-comment-form {
    position: relative;
    overflow: hidden;
    padding: 26px;
    border: 1px solid #c9d9ef;
    border-radius: 14px;
    background: #f8faff;
    box-shadow: 0 10px 32px rgba(5, 34, 101, .05);
}

.blog-comment-form h3 {
    margin: 0 0 4px;
    color: #17233c;
}

.blog-comment-form > p {
    margin: 0 0 20px;
    color: #71809c;
    font-size: 12px;
}

.blog-comment-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.blog-comment-fields label {
    display: grid;
    gap: 6px;
}

.blog-comment-fields label > span {
    color: #213252;
    font-size: 12px;
    font-weight: 750;
}

.blog-comment-fields input,
.blog-comment-fields textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid #c7d5ef;
    border-radius: 8px;
    background: #fff;
    color: #172033;
    font: inherit;
    font-size: 14px;
}

.blog-comment-fields textarea {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

.blog-comment-fields input:focus,
.blog-comment-fields textarea:focus {
    border-color: #1559f5;
    outline: 0;
    box-shadow: 0 0 0 4px rgba(21, 89, 245, .1);
}

.comment-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.blog-comment-submit {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 18px;
}

.blog-comment-submit p {
    min-height: 18px;
    margin: 0;
    color: #64748b;
    font-size: 12px;
}

.blog-comment-submit .btn:disabled {
    cursor: wait;
    opacity: .65;
}

.blog-comment-submit p[data-type="success"] { color: #047857; }
.blog-comment-submit p[data-type="error"] { color: #b91c1c; }

/* Admin comment moderation ------------------------------------------- */
.admin-comment-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.admin-comment-stats article {
    display: grid;
    gap: 3px;
    padding: 18px 20px;
    border: 1px solid #e5e9f1;
    border-radius: 11px;
    background: #fff;
}

.admin-comment-stats strong {
    color: #17233c;
    font-size: 24px;
}

.admin-comment-stats span {
    color: #6b778d;
    font-size: 11px;
}

.admin-comment-status {
    min-height: 20px;
    margin: 0 0 10px;
    color: #64748b;
    font-size: 12px;
}

.admin-comment-status[data-type="success"] { color: #047857; }
.admin-comment-status[data-type="error"] { color: #b91c1c; }

.admin-comment-list {
    display: grid;
    gap: 12px;
}

.admin-comment-card {
    padding: 20px;
    border: 1px solid #e1e6ef;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 3px 14px rgba(23, 35, 60, .03);
}

.admin-comment-card-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 18px;
}

.admin-comment-card-heading > div {
    display: grid;
    gap: 3px;
}

.admin-comment-card-heading strong {
    color: #17233c;
    font-size: 13px;
}

.admin-comment-card-heading div span {
    color: #78859a;
    font-size: 10px;
}

.admin-comment-badge {
    padding: 5px 9px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 800;
    text-transform: capitalize;
}

.admin-comment-badge.pending { background: #fff2d9; color: #b45309; }
.admin-comment-badge.approved { background: #e7f7ef; color: #047857; }
.admin-comment-badge.spam { background: #feecec; color: #b91c1c; }

.admin-comment-message {
    margin: 15px 0;
    color: #4f5e76;
    font-size: 13px;
    line-height: 1.7;
    white-space: pre-wrap;
}

.admin-comment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 13px;
    border-top: 1px solid #edf0f5;
}

.admin-comment-empty {
    padding: 50px 20px;
    border: 1px dashed #cbd5e1;
    border-radius: 11px;
    color: #71809c;
    text-align: center;
}

@media (max-width: 600px) {
    .blog-comments {
        width: min(100% - 32px, 980px);
        margin-top: 48px;
        padding-top: 32px;
    }

    .blog-comments-heading {
        align-items: start;
        flex-direction: column;
        gap: 8px;
    }

    .blog-comment-form {
        padding: 20px;
    }

    .blog-comment {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 11px;
        padding: 16px;
    }

    .blog-comment-avatar {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .blog-comment-meta {
        align-items: start;
        flex-direction: column;
        gap: 2px;
    }

    .blog-comment-submit {
        align-items: stretch;
        flex-direction: column;
    }

    .admin-comment-stats {
        grid-template-columns: 1fr;
    }
}

/* GA4 overview and feature presentation */
#ga4-overview > .container > .info-box:first-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 22px;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid #d7e4fb;
    background:
        radial-gradient(circle at 100% 0, rgba(37, 99, 235, .12), transparent 32%),
        linear-gradient(145deg, #fff 0%, #f6f9ff 100%);
    box-shadow: 0 22px 55px rgba(15, 48, 110, .1);
}

#ga4-overview > .container > .info-box:first-child > * {
    position: relative;
    z-index: 1;
}

#ga4-overview > .container > .info-box:first-child > br {
    display: none;
}

#ga4-overview > .container > .info-box:first-child > h2,
#ga4-overview > .container > .info-box:first-child > h3,
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(1),
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(2),
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(11) {
    grid-column: 1 / -1;
}

#ga4-overview > .container > .info-box:first-child > h2 {
    grid-row: 1;
    margin: 0 0 18px;
    padding-bottom: 18px;
    color: #102a56;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    letter-spacing: -.035em;
}

#ga4-overview > .container > .info-box:first-child > h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1e63ff, #10b981);
}

#ga4-overview > .container > .info-box:first-child > p:nth-of-type(1) {
    grid-row: 2;
    margin: 0;
    padding: 22px 24px;
    border-left: 4px solid #2563eb;
    border-radius: 0 14px 14px 0;
    background: rgba(255, 255, 255, .78);
    color: #334155;
    font-size: 1.03rem;
    line-height: 1.85;
}

#ga4-overview > .container > .info-box:first-child > h3 {
    grid-row: 3;
    margin: 42px 0 10px;
    color: #102a56;
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
    letter-spacing: -.025em;
}

#ga4-overview > .container > .info-box:first-child > p:nth-of-type(2) {
    grid-row: 4;
    max-width: none;
    width: 100%;
    margin: 0 0 24px;
    color: #5b6b82;
}

#ga4-overview > .container > .info-box:first-child > p:nth-of-type(3),
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(4) {
    grid-column: 1;
    grid-row: 5;
}

#ga4-overview > .container > .info-box:first-child > p:nth-of-type(5),
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(6) {
    grid-column: 2;
    grid-row: 5;
}

#ga4-overview > .container > .info-box:first-child > p:nth-of-type(7),
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(8) {
    grid-column: 1;
    grid-row: 6;
}

#ga4-overview > .container > .info-box:first-child > p:nth-of-type(9),
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(10) {
    grid-column: 2;
    grid-row: 6;
}

#ga4-overview > .container > .info-box:first-child > p:nth-of-type(3),
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(5),
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(7),
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(9) {
    align-self: start;
    z-index: 2;
    margin: 0;
    padding: 22px 24px;
    border: 0;
    background: transparent;
    color: #1249b8;
    font-size: 1.05rem;
}

#ga4-overview > .container > .info-box:first-child > p:nth-of-type(3)::before,
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(5)::before,
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(7)::before,
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(9)::before {
    content: "✓";
    display: inline-grid;
    width: 28px;
    height: 28px;
    margin-right: 10px;
    place-items: center;
    border-radius: 9px;
    background: #eaf1ff;
    color: #1255de;
    font-size: .9rem;
    font-weight: 900;
}

#ga4-overview > .container > .info-box:first-child > p:nth-of-type(4),
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(6),
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(8),
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(10) {
    margin: 0 0 22px;
    padding: 76px 24px 24px;
    border: 1px solid #dbe7fb;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 48, 110, .07);
    color: #526178;
    line-height: 1.75;
}

#ga4-overview > .container > .info-box:first-child > p:nth-of-type(11) {
    grid-row: 7;
    margin: 8px 0 0;
    padding: 20px 24px;
    border: 1px solid #bfe8d4;
    border-radius: 14px;
    background: linear-gradient(135deg, #ecfdf5, #f5fffb);
    color: #126747;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 768px) {
    #ga4-overview > .container > .info-box:first-child {
        grid-template-columns: minmax(0, 1fr);
        column-gap: 0;
    }

    #ga4-overview > .container > .info-box:first-child > p:nth-of-type(n) {
        grid-column: 1;
    }

    #ga4-overview > .container > .info-box:first-child > p:nth-of-type(3),
    #ga4-overview > .container > .info-box:first-child > p:nth-of-type(4) {
        grid-row: 5;
    }

    #ga4-overview > .container > .info-box:first-child > p:nth-of-type(5),
    #ga4-overview > .container > .info-box:first-child > p:nth-of-type(6) {
        grid-row: 6;
    }

    #ga4-overview > .container > .info-box:first-child > p:nth-of-type(7),
    #ga4-overview > .container > .info-box:first-child > p:nth-of-type(8) {
        grid-row: 7;
    }

    #ga4-overview > .container > .info-box:first-child > p:nth-of-type(9),
    #ga4-overview > .container > .info-box:first-child > p:nth-of-type(10) {
        grid-row: 8;
    }

    #ga4-overview > .container > .info-box:first-child > p:nth-of-type(11) {
        grid-row: 9;
    }

    #ga4-overview > .container > .info-box:first-child > h3 {
        margin-top: 32px;
    }

    #ga4-overview > .container > .info-box:first-child > p:nth-of-type(1) {
        padding: 18px;
    }
}

/* Present GA4 features as a clean list instead of cards. */
#ga4-overview > .container > .info-box:first-child {
    display: block;
}

#ga4-overview > .container > .info-box:first-child > p:nth-of-type(3),
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(5),
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(7),
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(9) {
    margin: 26px 0 7px;
    padding: 0 0 0 44px;
    border: 0;
    background: transparent;
    color: #1249b8;
    font-size: 1.06rem;
}

#ga4-overview > .container > .info-box:first-child > p:nth-of-type(3)::before,
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(5)::before,
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(7)::before,
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(9)::before {
    position: absolute;
    top: -2px;
    left: 0;
    width: 30px;
    height: 30px;
    margin: 0;
    border-radius: 50%;
}

#ga4-overview > .container > .info-box:first-child > p:nth-of-type(4),
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(6),
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(8),
#ga4-overview > .container > .info-box:first-child > p:nth-of-type(10) {
    margin: 0;
    padding: 0 0 24px 44px;
    border: 0;
    border-bottom: 1px solid #dce6f5;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #526178;
    line-height: 1.75;
}

#ga4-overview > .container > .info-box:first-child > p:nth-of-type(10) {
    border-bottom: 0;
}

/* Polished professional-setup section with a controlled image height. */
.ga4-page #ga4-overview .ga4-photo-split {
    gap: clamp(28px, 4vw, 48px);
    align-items: start;
    padding: clamp(26px, 4vw, 44px);
    overflow: visible;
    border-color: #d8e4f7;
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(37, 99, 235, .09), transparent 30%),
        linear-gradient(145deg, #fff 0%, #f8faff 100%);
    box-shadow: 0 20px 55px rgba(15, 48, 110, .09);
}

.ga4-page #ga4-overview .ga4-photo-content {
    display: block;
    padding: 0;
}

.ga4-page #ga4-overview .ga4-photo-content .title {
    width: 100%;
    max-width: none;
    margin: 0 0 20px;
}

.ga4-page #ga4-overview .ga4-photo-content .title h2 {
    color: #102a56;
    font-size: clamp(1.75rem, 2.8vw, 2.25rem);
    letter-spacing: -.035em;
}

.ga4-page #ga4-overview .ga4-professional-copy {
    counter-reset: ga4-benefit;
}

.ga4-page #ga4-overview .ga4-professional-lead {
    margin-bottom: 28px;
    padding: 20px 22px;
    border-left: 4px solid #2563eb;
    border-radius: 0 14px 14px 0;
    background: #f1f6ff;
    color: #263a59 !important;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.8;
}

.ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(2),
.ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(4),
.ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(6),
.ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(8),
.ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(10) {
    counter-increment: ga4-benefit;
    position: relative;
    margin: 0 0 6px;
    padding-left: 46px;
    color: #1249b8;
    font-size: 1.02rem;
}

.ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(2)::before,
.ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(4)::before,
.ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(6)::before,
.ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(8)::before,
.ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(10)::before {
    content: counter(ga4-benefit, decimal-leading-zero);
    position: absolute;
    top: -2px;
    left: 0;
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 10px;
    background: #e8f0ff;
    color: #1556dc;
    font-size: .72rem;
    font-weight: 800;
}

.ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(3),
.ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(5),
.ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(7),
.ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(9),
.ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(11) {
    margin: 0 0 22px 46px;
    padding: 0 0 22px;
    border-bottom: 1px solid #dce6f5;
    color: #526178;
    line-height: 1.72;
}

.ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(11) {
    border-bottom: 0;
}

.ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(12) {
    margin: 8px 0 18px;
    color: #253b5c;
    font-weight: 650;
}

.ga4-page #ga4-overview .ga4-audit-note {
    margin: 0;
    padding: 17px 20px;
    border-left-color: #10b981;
    background: #ecfdf5;
    color: #126747;
    font-weight: 700;
}

.ga4-page #ga4-overview .ga4-photo-column {
    position: sticky;
    top: 96px;
    height: clamp(320px, 32vw, 420px);
    min-height: 0;
    border: 1px solid #d6e2f4;
    border-radius: 20px;
    box-shadow: 0 16px 38px rgba(15, 48, 110, .13);
}

.ga4-page #ga4-overview .ga4-photo-column img {
    object-position: center;
    border-radius: inherit;
}

.ga4-page #ga4-overview .ga4-photo-column::after {
    display: none;
}

@media (min-width: 1001px) {
    .ga4-page #ga4-overview .ga4-photo-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .ga4-page #ga4-overview .ga4-photo-content {
        order: 0;
    }
}

@media (max-width: 1000px) {
    .ga4-page #ga4-overview .ga4-photo-split {
        grid-template-columns: minmax(0, 1fr);
    }

    .ga4-page #ga4-overview .ga4-photo-column {
        position: relative;
        top: auto;
        order: -1;
        width: 100%;
        height: clamp(240px, 48vw, 360px);
    }
}

@media (max-width: 600px) {
    .ga4-page #ga4-overview .ga4-photo-split {
        gap: 24px;
        padding: 22px;
    }

    .ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(3),
    .ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(5),
    .ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(7),
    .ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(9),
    .ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(11) {
        margin-left: 0;
        padding-left: 46px;
    }
}

/* GA4 implementation timeline */
.ga4-page #ga4-implementation .process-box {
    margin-top: 0;
    padding: clamp(28px, 4vw, 48px);
    border: 1px solid #d7e4f7;
    border-radius: 24px;
    background:
        radial-gradient(circle at 100% 0, rgba(37, 99, 235, .1), transparent 28%),
        linear-gradient(145deg, #fff 0%, #f7faff 100%);
    box-shadow: 0 20px 55px rgba(15, 48, 110, .09);
}

.ga4-page #ga4-implementation .process-box::before {
    background: radial-gradient(circle at 0 100%, rgba(16, 185, 129, .08), transparent 34%);
}

.ga4-page #ga4-implementation .process-box > .title {
    position: relative;
    z-index: 1;
    margin-bottom: 14px !important;
    text-align: left;
}

.ga4-page #ga4-implementation .process-box > .title h2 {
    position: relative;
    margin: 0;
    padding-bottom: 18px;
    color: #102a56;
    font-size: clamp(1.75rem, 3vw, 2.3rem);
    letter-spacing: -.035em;
}

.ga4-page #ga4-implementation .process-box > .title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1e63ff, #10b981);
}

.ga4-page #ga4-implementation .process-box > p {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0;
    color: #53627a;
    font-size: 1.01rem;
    line-height: 1.8;
}

.ga4-page #ga4-implementation .ga4-process-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    max-width: 960px;
    margin: 34px auto 0;
    position: relative;
}

.ga4-page #ga4-implementation .ga4-process-steps::before {
    content: "";
    position: absolute;
    z-index: 0;
    display: block;
    top: 28px;
    bottom: 28px;
    left: 24px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, #2563eb 0%, #1d7ee8 50%, #0ea5e9 100%);
    transform: none;
}

.ga4-page #ga4-implementation .ga4-process-steps .step-card,
.ga4-page #ga4-implementation .ga4-process-steps .step-card:nth-child(n) {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: 20px;
    grid-column: 1;
    grid-row: auto;
    min-height: 0;
    padding: 22px 0;
    overflow: visible;
    border: 0;
    border-bottom: 1px solid #dce6f5;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.ga4-page #ga4-implementation .ga4-process-steps .step-card:last-child {
    border-bottom: 0;
}

.ga4-page #ga4-implementation .ga4-process-steps .step-card::after,
.ga4-page #ga4-implementation .ga4-process-steps .step-card:nth-child(n)::after {
    display: none;
}

.ga4-page #ga4-implementation .ga4-process-steps .step-number {
    grid-column: 1;
    grid-row: 1 / 3;
    z-index: 1;
    width: 50px;
    height: 50px;
    margin: 0;
    border: 5px solid #f8fbff;
    background: linear-gradient(135deg, #1d55dc, #0ea5e9);
    box-shadow: 0 8px 20px rgba(29, 85, 220, .2);
}

.ga4-page #ga4-implementation .ga4-process-steps .step-card:last-child .step-number {
    background: linear-gradient(135deg, #1d55dc, #0ea5e9);
    box-shadow: 0 8px 20px rgba(29, 85, 220, .2);
}

.ga4-page #ga4-implementation .ga4-process-steps .step-card h3 {
    grid-column: 2;
    grid-row: 1;
    margin: 2px 0 7px;
    color: #1249b8;
    font-size: 1.08rem;
    line-height: 1.4;
}

.ga4-page #ga4-implementation .ga4-process-steps .step-card p {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    color: #53627a;
    font-size: .96rem;
    line-height: 1.72;
}

.ga4-page #ga4-implementation .ga4-process-steps .step-card:hover h3 {
    color: #0b3da7;
}

@media (max-width: 600px) {
    .ga4-page #ga4-implementation .process-box {
        padding: 24px 22px;
    }

    .ga4-page #ga4-implementation .ga4-process-steps {
        margin-top: 26px;
    }

    .ga4-page #ga4-implementation .ga4-process-steps::before {
        left: 20px;
    }

    .ga4-page #ga4-implementation .ga4-process-steps .step-card,
    .ga4-page #ga4-implementation .ga4-process-steps .step-card:nth-child(n) {
        grid-template-columns: 42px minmax(0, 1fr);
        column-gap: 14px;
        padding: 19px 0;
    }

    .ga4-page #ga4-implementation .ga4-process-steps .step-number {
        width: 42px;
        height: 42px;
        border-width: 4px;
        font-size: .9rem;
    }
}

/* GA4 services presentation */
.ga4-page #ga4-services {
    background:
        radial-gradient(circle at 10% 0, rgba(37, 99, 235, .07), transparent 25%),
        #fff;
}

.ga4-page #ga4-services > .container > .title {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.ga4-page #ga4-services > .container > .title h2 {
    position: relative;
    display: inline-block;
    margin: 0 0 18px;
    padding-bottom: 16px;
    color: #102a56;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    letter-spacing: -.035em;
}

.ga4-page #ga4-services > .container > .title h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1e63ff, #0ea5e9);
    transform: translateX(-50%);
}

.ga4-page #ga4-services > .container > .title br {
    display: none;
}

.ga4-page #ga4-services > .container > .title p {
    margin: 0;
    color: #58677d;
    font-size: 1.02rem;
    line-height: 1.8;
}

.ga4-page #ga4-services > .container > .info-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 34px;
    padding: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    counter-reset: ga4-service;
}

.ga4-page #ga4-services > .container > .info-box::before {
    display: none;
}

.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(1),
.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(2) {
    grid-column: 1;
    grid-row: 1;
}

.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(3),
.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(4) {
    grid-column: 2;
    grid-row: 1;
}

.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(5),
.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(6) {
    grid-column: 1;
    grid-row: 2;
}

.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(7),
.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(8) {
    grid-column: 2;
    grid-row: 2;
}

.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(9),
.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(10) {
    grid-column: 1;
    grid-row: 3;
}

.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(11),
.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(12) {
    grid-column: 2;
    grid-row: 3;
}

.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(odd) {
    counter-increment: ga4-service;
    align-self: start;
    z-index: 2;
    margin: 0;
    padding: 24px 26px;
    color: #1249b8;
    font-size: 1.05rem;
}

.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(odd)::before {
    content: counter(ga4-service, decimal-leading-zero);
    display: inline-grid;
    width: 34px;
    height: 34px;
    margin-right: 11px;
    place-items: center;
    border-radius: 10px;
    background: #e8f0ff;
    color: #1556dc;
    font-size: .72rem;
    font-weight: 800;
    vertical-align: middle;
}

.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(even) {
    z-index: 1;
    min-height: 190px;
    margin: 0;
    padding: 78px 26px 26px;
    border: 1px solid #d9e5f6;
    border-radius: 18px;
    background: linear-gradient(145deg, #fff 0%, #f8faff 100%);
    box-shadow: 0 13px 32px rgba(15, 48, 110, .07);
    color: #53627a;
    line-height: 1.75;
}

.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(even):hover {
    border-color: #b8cff5;
    box-shadow: 0 18px 38px rgba(15, 48, 110, .11);
}

.ga4-page #ga4-services .ga4-services-cta {
    grid-column: 1 / -1;
    grid-row: 4;
    justify-self: stretch;
    margin-top: 10px;
    text-align: center;
}

.ga4-page #ga4-services .ga4-services-cta p {
    max-width: 820px;
    margin: 0 auto 18px;
    color: #344761;
    font-weight: 650;
    line-height: 1.75;
}

.ga4-page #ga4-services .ga4-services-cta .btn {
    width: auto;
    min-width: 0;
}

@media (max-width: 768px) {
    .ga4-page #ga4-services > .container > .title {
        text-align: left;
    }

    .ga4-page #ga4-services > .container > .title h2::after {
        left: 0;
        transform: none;
    }

    .ga4-page #ga4-services > .container > .info-box {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(1),
    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(2) {
        grid-column: 1;
        grid-row: 1;
    }

    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(3),
    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(4) {
        grid-column: 1;
        grid-row: 2;
    }

    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(5),
    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(6) {
        grid-column: 1;
        grid-row: 3;
    }

    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(7),
    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(8) {
        grid-column: 1;
        grid-row: 4;
    }

    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(9),
    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(10) {
        grid-column: 1;
        grid-row: 5;
    }

    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(11),
    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(12) {
        grid-column: 1;
        grid-row: 6;
    }

    .ga4-page #ga4-services .ga4-services-cta {
        grid-column: 1;
        grid-row: 7;
        width: 100%;
    }

    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(even) {
        min-height: 0;
    }
}

/* Alternate premium styling for GA4 services */
.ga4-page #ga4-services {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 10%, rgba(14, 165, 233, .2), transparent 28%),
        radial-gradient(circle at 5% 90%, rgba(37, 99, 235, .2), transparent 32%),
        linear-gradient(135deg, #071a39 0%, #0a2855 55%, #0b3269 100%);
}

.ga4-page #ga4-services::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image:
        linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 52px 52px;
    pointer-events: none;
}

.ga4-page #ga4-services > .container {
    position: relative;
    z-index: 1;
}

.ga4-page #ga4-services > .container > .title {
    max-width: 900px;
    margin: 0;
    text-align: left;
}

.ga4-page #ga4-services > .container > .title h2 {
    display: inline-block;
    color: #fff;
}

.ga4-page #ga4-services > .container > .title h2::after {
    left: 0;
    background: linear-gradient(90deg, #4f8cff, #35d6df);
    transform: none;
}

.ga4-page #ga4-services > .container > .title p {
    color: #c8d8ef;
}

.ga4-page #ga4-services > .container > .info-box {
    gap: 0;
    margin-top: 38px;
    border-top: 1px solid rgba(190, 216, 255, .25);
}

.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(odd) {
    padding: 27px 30px 0;
    color: #fff;
    font-size: 1.08rem;
}

.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(odd)::before {
    width: 36px;
    height: 36px;
    background: rgba(74, 137, 255, .17);
    box-shadow: inset 0 0 0 1px rgba(112, 166, 255, .28);
    color: #8fc7ff;
}

.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(even) {
    min-height: 190px;
    padding: 82px 30px 30px;
    border: 0;
    border-bottom: 1px solid rgba(190, 216, 255, .2);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #bdd0e9;
    transition: background .25s ease;
}

.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(2),
.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(6),
.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(10) {
    border-right: 1px solid rgba(190, 216, 255, .2);
}

.ga4-page #ga4-services > .container > .info-box > p:nth-of-type(even):hover {
    border-color: rgba(190, 216, 255, .2);
    background: rgba(255, 255, 255, .045);
    box-shadow: none;
}

.ga4-page #ga4-services .ga4-services-cta {
    margin-top: 0;
    padding: 34px 20px 0;
}

.ga4-page #ga4-services .ga4-services-cta p {
    color: #d8e5f7;
}

.ga4-page #ga4-services .ga4-services-cta .btn {
    border: 1px solid rgba(255, 255, 255, .2);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

@media (max-width: 768px) {
    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(even) {
        min-height: 0;
        padding: 80px 20px 26px;
        border-right: 0;
    }

    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(odd) {
        padding-right: 20px;
        padding-left: 20px;
    }

    .ga4-page #ga4-services .ga4-services-cta {
        padding-right: 0;
        padding-left: 0;
    }
}

/* Audit illustration integration */
.ga4-page #ga4-overview > .container > .info-box:last-child > p:first-of-type {
    grid-column: 1;
    align-self: stretch;
    margin-right: 0;
}

.ga4-page #ga4-overview .ga4-audit-visual {
    grid-column: 2;
    align-self: stretch;
    min-height: 250px;
    overflow: hidden;
    border: 1px solid #d4e1f4;
    border-radius: 16px;
    background: #edf4ff;
    box-shadow: 0 14px 34px rgba(15, 48, 110, .11);
}

.ga4-page #ga4-overview .ga4-audit-visual img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {
    .ga4-page #ga4-overview > .container > .info-box:last-child > p:first-of-type,
    .ga4-page #ga4-overview .ga4-audit-visual {
        grid-column: 1;
    }

    .ga4-page #ga4-overview .ga4-audit-visual {
        min-height: 0;
        height: clamp(220px, 58vw, 340px);
    }
}

/* Preserve the full vertical proper-setup illustration on smaller screens. */
@media (max-width: 1000px) {
    .ga4-page #ga4-implementation .ga4-importance-photo {
        height: clamp(480px, 75vw, 640px);
        background: linear-gradient(145deg, #eef5ff, #f8fbff);
    }

    .ga4-page #ga4-implementation .ga4-importance-photo img {
        object-fit: contain;
    }
}

/* GA4 overview illustration */
.ga4-page #ga4-overview .ga4-overview-visual {
    position: relative;
    width: min(100%, 820px);
    margin: 30px auto 8px;
    height: auto;
    overflow: hidden;
    border: 1px solid #d4e1f4;
    border-radius: 18px;
    background: #edf4ff;
    box-shadow: 0 16px 38px rgba(15, 48, 110, .11);
}

.ga4-page #ga4-overview .ga4-overview-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
}

.ga4-page #ga4-overview .ga4-overview-visual-copy {
    position: absolute;
    z-index: 2;
    top: clamp(14px, 2vw, 26px);
    left: 50%;
    width: min(calc(100% - 36px), 660px);
    padding: 13px 20px 14px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 14px;
    background: rgba(7, 31, 70, .88);
    box-shadow: 0 12px 30px rgba(7, 31, 70, .2);
    color: #fff;
    text-align: center;
    transform: translateX(-50%);
    backdrop-filter: blur(8px);
}

.ga4-page #ga4-overview .ga4-overview-visual-copy span {
    display: block;
    margin-bottom: 4px;
    color: #83c7ff;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.ga4-page #ga4-overview .ga4-overview-visual-copy strong {
    display: block;
    color: #fff;
    font-size: clamp(.88rem, 1.8vw, 1.12rem);
    line-height: 1.4;
}

@media (max-width: 600px) {
    .ga4-page #ga4-overview .ga4-overview-visual {
        height: auto;
        margin-top: 24px;
        border-radius: 14px;
    }

    .ga4-page #ga4-overview .ga4-overview-visual-copy {
        top: 10px;
        width: calc(100% - 20px);
        padding: 9px 12px 10px;
        border-radius: 10px;
    }

    .ga4-page #ga4-overview .ga4-overview-visual-copy span {
        font-size: .58rem;
    }

    .ga4-page #ga4-overview .ga4-overview-visual-copy strong {
        font-size: .78rem;
    }
}

/* Final GA4 page visual audit */
.ga4-page .page-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(72px, 8vw, 104px) 0;
    background:
        radial-gradient(circle at 78% 22%, rgba(45, 126, 255, .34), transparent 29%),
        radial-gradient(circle at 16% 84%, rgba(14, 165, 233, .16), transparent 26%),
        linear-gradient(135deg, #02091f 0%, #061a53 58%, #073a9e 100%);
}

.ga4-page .page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .16;
    background-image:
        linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
    background-size: 54px 54px;
    pointer-events: none;
}

.ga4-page .page-hero .container {
    max-width: 940px;
    text-align: center;
}

.ga4-page .page-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.65rem, 6vw, 4.65rem);
    line-height: 1.04;
    letter-spacing: -.055em;
    text-shadow: 0 12px 34px rgba(0, 9, 38, .28);
}

.ga4-page .page-hero p {
    max-width: 800px;
    margin: 22px auto 0;
    color: #d3e2fb;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.7;
    text-align: center;
}

.ga4-page #ga4-overview {
    background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.ga4-page #ga4-overview > .container > br {
    display: none;
}

.ga4-page #ga4-overview > .container > .info-box:first-child {
    margin-top: 0;
    margin-bottom: 36px;
}

.ga4-page #ga4-overview .ga4-photo-split {
    margin-top: 0;
    margin-bottom: 36px;
}

.ga4-page #ga4-overview > .container > .info-box:last-child {
    margin-top: 0;
}

.ga4-page #ga4-overview .ga4-audit-visual {
    min-height: 0;
    aspect-ratio: 3 / 2;
}

.ga4-page #ga4-overview .ga4-audit-visual img {
    object-fit: cover;
}

.ga4-page #ga4-implementation .ga4-importance-split,
.ga4-page #ga4-implementation .process-box {
    scroll-margin-top: 96px;
}

@media (max-width: 768px) {
    .ga4-page .page-hero {
        padding: 64px 0 68px;
    }

    .ga4-page .page-hero p {
        text-align: center;
    }

    .ga4-page #ga4-overview > .container > .info-box:first-child,
    .ga4-page #ga4-overview .ga4-photo-split {
        margin-bottom: 28px;
    }

    .ga4-page #ga4-overview .ga4-audit-visual {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .ga4-page #ga4-overview .ga4-overview-visual,
    .ga4-page #ga4-overview .ga4-audit-visual {
        transition: transform .25s ease, box-shadow .25s ease;
    }

    .ga4-page #ga4-overview .ga4-overview-visual:hover,
    .ga4-page #ga4-overview .ga4-audit-visual:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 44px rgba(15, 48, 110, .14);
    }
}

/* GA4 page responsive pass */
@media (max-width: 1024px) {
    .ga4-page #ga4-overview > .container > .info-box:last-child {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 20px;
    }

    .ga4-page #ga4-overview > .container > .info-box:last-child > h2,
    .ga4-page #ga4-overview > .container > .info-box:last-child > h3,
    .ga4-page #ga4-overview > .container > .info-box:last-child > p,
    .ga4-page #ga4-overview .ga4-audit-visual {
        grid-column: 1;
    }

    .ga4-page #ga4-overview .ga4-audit-visual {
        width: min(100%, 780px);
        margin: 0 auto;
    }

    .ga4-page #ga4-overview > .container > .info-box:last-child > h3 {
        margin-top: 20px;
    }

    .ga4-page #ga4-implementation .ga4-importance-split,
    .ga4-page #ga4-implementation .process-box {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .ga4-page .section {
        padding: 56px 0;
    }

    .ga4-page #ga4-overview > .container > .info-box:first-child,
    .ga4-page #ga4-overview > .container > .info-box:last-child,
    .ga4-page #ga4-overview .ga4-photo-split,
    .ga4-page #ga4-implementation .ga4-importance-split,
    .ga4-page #ga4-implementation .process-box {
        padding: 26px;
        border-radius: 20px;
    }

    .ga4-page #ga4-overview > .container > .info-box:first-child > h2,
    .ga4-page #ga4-overview > .container > .info-box:last-child > h2,
    .ga4-page #ga4-overview .ga4-photo-content .title h2,
    .ga4-page #ga4-implementation .ga4-importance-content > h2,
    .ga4-page #ga4-implementation .process-box > .title h2,
    .ga4-page #ga4-services > .container > .title h2 {
        font-size: clamp(1.65rem, 6vw, 2.05rem);
        line-height: 1.16;
    }

    .ga4-page #ga4-overview .ga4-overview-visual {
        width: 100%;
    }

    .ga4-page #ga4-overview .ga4-professional-lead,
    .ga4-page #ga4-implementation .ga4-importance-content > p:first-of-type,
    .ga4-page #ga4-overview > .container > .info-box:last-child > p:first-of-type {
        padding: 18px;
    }

    .ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(2),
    .ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(3),
    .ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(4),
    .ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(5) {
        padding-right: 0;
    }

    .ga4-page #ga4-services > .container > .title {
        max-width: none;
    }

    .ga4-page #ga4-services > .container > .info-box {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .ga4-page .container {
        width: min(100% - 28px, 1120px);
    }

    .ga4-page .page-hero {
        padding: 56px 0 60px;
    }

    .ga4-page .page-hero h1 {
        font-size: clamp(2.25rem, 12vw, 3rem);
        line-height: 1.08;
    }

    .ga4-page .page-hero p {
        margin-top: 16px;
        font-size: .98rem;
        line-height: 1.65;
    }

    .ga4-page .section {
        padding: 46px 0;
    }

    .ga4-page #ga4-overview > .container > .info-box:first-child,
    .ga4-page #ga4-overview > .container > .info-box:last-child,
    .ga4-page #ga4-overview .ga4-photo-split,
    .ga4-page #ga4-implementation .ga4-importance-split,
    .ga4-page #ga4-implementation .process-box {
        padding: 21px;
        border-radius: 18px;
    }

    .ga4-page #ga4-overview > .container > .info-box:first-child > h2,
    .ga4-page #ga4-overview > .container > .info-box:last-child > h2,
    .ga4-page #ga4-overview .ga4-photo-content .title h2,
    .ga4-page #ga4-implementation .ga4-importance-content > h2,
    .ga4-page #ga4-implementation .process-box > .title h2,
    .ga4-page #ga4-services > .container > .title h2 {
        font-size: clamp(1.5rem, 7.5vw, 1.85rem);
    }

    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(3),
    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(5),
    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(7),
    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(9) {
        padding-left: 40px;
    }

    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(4),
    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(6),
    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(8),
    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(10) {
        padding-left: 40px;
    }

    .ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(2),
    .ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(4),
    .ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(6),
    .ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(8),
    .ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(10),
    .ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(2),
    .ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(4),
    .ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(6),
    .ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(8) {
        padding-left: 42px;
    }

    .ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(3),
    .ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(5),
    .ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(7),
    .ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(9),
    .ga4-page #ga4-overview .ga4-professional-copy > p:nth-of-type(11),
    .ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(3),
    .ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(5),
    .ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(7),
    .ga4-page #ga4-implementation .ga4-importance-content > p:nth-of-type(9) {
        margin-left: 0;
        padding-left: 42px;
    }

    .ga4-page #ga4-overview .ga4-audit-visual,
    .ga4-page #ga4-overview .ga4-overview-visual {
        border-radius: 13px;
    }

    .ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(2),
    .ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(3),
    .ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(4),
    .ga4-page #ga4-overview > .container > .info-box:last-child > p:nth-of-type(5) {
        padding-left: 44px;
    }

    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(odd) {
        padding: 22px 18px 0;
        font-size: 1rem;
    }

    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(even) {
        padding: 76px 18px 24px;
        line-height: 1.68;
    }

    .ga4-page #ga4-services .ga4-services-cta {
        padding-top: 26px;
    }
}

@media (max-width: 420px) {
    .ga4-page #ga4-overview > .container > .info-box:first-child,
    .ga4-page #ga4-overview > .container > .info-box:last-child,
    .ga4-page #ga4-overview .ga4-photo-split,
    .ga4-page #ga4-implementation .ga4-importance-split,
    .ga4-page #ga4-implementation .process-box {
        padding: 18px;
    }

    .ga4-page #ga4-overview .ga4-professional-lead,
    .ga4-page #ga4-implementation .ga4-importance-content > p:first-of-type,
    .ga4-page #ga4-overview > .container > .info-box:last-child > p:first-of-type {
        padding: 15px;
    }

    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(odd)::before {
        width: 32px;
        height: 32px;
        margin-right: 8px;
    }

    .ga4-page #ga4-services .ga4-services-cta .btn {
        width: 100%;
    }
}

/* GA4 responsive-design protocol safeguards */
.ga4-page {
    width: 100%;
    overflow-x: clip;
}

.ga4-page *,
.ga4-page *::before,
.ga4-page *::after {
    box-sizing: border-box;
}

.ga4-page .container {
    width: min(calc(100% - clamp(28px, 5vw, 48px)), 1120px);
    margin-inline: auto;
}

.ga4-page img,
.ga4-page svg,
.ga4-page video,
.ga4-page iframe {
    display: block;
    max-width: 100%;
}

.ga4-page #ga4-overview > .container > *,
.ga4-page #ga4-implementation > .container > *,
.ga4-page #ga4-services > .container > *,
.ga4-page .info-box > *,
.ga4-page .process-box > *,
.ga4-page .step-card > * {
    min-width: 0;
}

.ga4-page h1,
.ga4-page h2,
.ga4-page h3 {
    text-wrap: balance;
}

.ga4-page p,
.ga4-page li {
    text-wrap: pretty;
}

.ga4-page .btn,
.ga4-page button,
.ga4-page .menu a {
    min-height: 44px;
}

.ga4-page .btn,
.ga4-page button {
    touch-action: manipulation;
}

@media (pointer: coarse) {
    .ga4-page .btn,
    .ga4-page button,
    .ga4-page .menu a {
        min-height: 48px;
    }
}

@media (hover: none) {
    .ga4-page #ga4-overview .ga4-overview-visual:hover,
    .ga4-page #ga4-overview .ga4-audit-visual:hover,
    .ga4-page .step-card:hover,
    .ga4-page #ga4-services > .container > .info-box > p:nth-of-type(even):hover {
        transform: none;
        box-shadow: none;
    }
}

@media (max-width: 360px) {
    .ga4-page .container {
        width: calc(100% - 24px);
    }

    .ga4-page .page-hero h1 {
        font-size: 2.1rem;
    }

    .ga4-page #ga4-overview > .container > .info-box:first-child,
    .ga4-page #ga4-overview > .container > .info-box:last-child,
    .ga4-page #ga4-overview .ga4-photo-split,
    .ga4-page #ga4-implementation .ga4-importance-split,
    .ga4-page #ga4-implementation .process-box {
        padding: 16px;
    }

    .ga4-page #ga4-implementation .ga4-process-steps .step-card,
    .ga4-page #ga4-implementation .ga4-process-steps .step-card:nth-child(n) {
        grid-template-columns: 38px minmax(0, 1fr);
        column-gap: 11px;
    }

    .ga4-page #ga4-implementation .ga4-process-steps .step-number {
        width: 38px;
        height: 38px;
    }

    .ga4-page #ga4-implementation .ga4-process-steps::before {
        left: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ga4-page *,
    .ga4-page *::before,
    .ga4-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Responsive UX for the What is GA4 panel */
@media (max-width: 600px) {
    .ga4-page #ga4-overview > .container > .info-box:first-child {
        border-color: #dbe6f5;
        background: #fff;
        box-shadow: 0 12px 34px rgba(15, 48, 110, .07);
    }

    .ga4-page #ga4-overview > .container > .info-box:first-child > h2 {
        margin-bottom: 16px;
    }

    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(1) {
        padding: 16px;
        border-left-width: 3px;
        border-radius: 0 12px 12px 0;
        font-size: .97rem;
        line-height: 1.75;
    }

    .ga4-page #ga4-overview > .container > .info-box:first-child > h3 {
        margin: 30px 0 8px;
        font-size: 1.35rem;
        line-height: 1.25;
    }

    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(2) {
        margin-bottom: 18px;
        color: #5b6b82;
        font-size: .96rem;
        line-height: 1.72;
    }

    .ga4-page #ga4-overview .ga4-overview-visual {
        display: none;
    }

    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(3),
    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(5),
    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(7),
    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(9) {
        margin: 14px 0 0;
        padding: 16px 16px 8px 54px;
        border: 1px solid #dbe6f5;
        border-bottom: 0;
        border-radius: 14px 14px 0 0;
        background: linear-gradient(145deg, #fff 0%, #f7faff 100%);
        color: #1249b8;
        font-size: 1rem;
    }

    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(3)::before,
    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(5)::before,
    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(7)::before,
    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(9)::before {
        top: 14px;
        left: 14px;
        width: 28px;
        height: 28px;
    }

    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(4),
    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(6),
    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(8),
    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(10) {
        margin: 0;
        padding: 2px 16px 17px 54px;
        border: 1px solid #dbe6f5;
        border-top: 0;
        border-radius: 0 0 14px 14px;
        background: linear-gradient(145deg, #fff 0%, #f7faff 100%);
        color: #53627a;
        font-size: .94rem;
        line-height: 1.68;
    }

    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(11) {
        margin-top: 20px;
        padding: 16px;
        border-radius: 12px;
        font-size: .95rem;
        line-height: 1.65;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(1) {
        padding: 18px;
        border: 1px solid #dbe6f5;
        border-radius: 12px;
        background: #f7faff;
    }
}

/* Symmetrical responsive protocol for every GA4 section */
@media (max-width: 768px) {
    .ga4-page #ga4-overview .ga4-professional-lead,
    .ga4-page #ga4-overview > .container > .info-box:last-child > p:first-of-type,
    .ga4-page #ga4-implementation .ga4-importance-content > p:first-of-type {
        padding: 18px;
        border: 1px solid #dbe6f5;
        border-radius: 12px;
        background: #f7faff;
    }

    .ga4-page #ga4-overview .ga4-audit-note,
    .ga4-page #ga4-overview > .container > .info-box:last-child > p:last-of-type,
    .ga4-page #ga4-implementation .ga4-importance-content > p:last-of-type {
        padding: 17px 18px;
        border: 1px solid #bce7d2;
        border-radius: 12px;
        background: #ecfdf5;
        text-align: left;
    }

    .ga4-page #ga4-overview .ga4-photo-content .title,
    .ga4-page #ga4-implementation .process-box > .title,
    .ga4-page #ga4-services > .container > .title {
        width: 100%;
        max-width: none;
        margin-right: 0;
        margin-left: 0;
        text-align: left;
    }

    .ga4-page #ga4-overview .ga4-photo-content .title h2::after,
    .ga4-page #ga4-implementation .process-box > .title h2::after,
    .ga4-page #ga4-services > .container > .title h2::after {
        left: 0;
        transform: none;
    }

    .ga4-page #ga4-overview > .container > .info-box:first-child,
    .ga4-page #ga4-overview .ga4-photo-split,
    .ga4-page #ga4-overview > .container > .info-box:last-child,
    .ga4-page #ga4-implementation .ga4-importance-split,
    .ga4-page #ga4-implementation .process-box {
        border-width: 1px;
        border-radius: 18px;
    }
}

@media (max-width: 600px) {
    .ga4-page #ga4-overview > .container > .info-box:first-child > p:nth-of-type(1),
    .ga4-page #ga4-overview .ga4-professional-lead,
    .ga4-page #ga4-overview > .container > .info-box:last-child > p:first-of-type,
    .ga4-page #ga4-implementation .ga4-importance-content > p:first-of-type {
        padding: 16px;
    }

    .ga4-page #ga4-overview .ga4-audit-note,
    .ga4-page #ga4-overview > .container > .info-box:last-child > p:last-of-type,
    .ga4-page #ga4-implementation .ga4-importance-content > p:last-of-type {
        padding: 16px;
    }
}

/* Justified GA4 body copy */
.ga4-page .section p {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

.ga4-page .section p strong,
.ga4-page .section .title,
.ga4-page .section h2,
.ga4-page .section h3 {
    text-align: left;
}

/* Stable GA4 header logo crop */
.ga4-page .nav {
    align-items: center;
}

.ga4-page .logo {
    position: relative;
    flex: 0 0 232px;
    width: 232px;
    height: 56px;
    align-self: center;
    overflow: hidden;
}

.ga4-page .logo-img {
    position: absolute;
    top: -95px;
    left: -12px;
    width: 256px;
    height: auto;
    max-width: none;
    animation: none !important;
    transition: none;
    transform: none !important;
    will-change: auto;
}

.ga4-page .logo-img:hover {
    opacity: 1;
    transform: none !important;
}

@media (max-width: 1200px) {
    .ga4-page .logo {
        flex-basis: 208px;
        width: 208px;
        height: 54px;
    }

    .ga4-page .logo-img {
        top: -82px;
        left: -10px;
        width: 228px;
    }
}

@media (max-width: 600px) {
    .ga4-page .logo {
        flex-basis: 164px;
        width: 164px;
        height: 47px;
    }

    .ga4-page .logo-img {
        top: -63px;
        left: -8px;
        width: 181px;
    }
}

@media (max-width: 360px) {
    .ga4-page .logo {
        flex-basis: 148px;
        width: 148px;
        height: 44px;
    }

    .ga4-page .logo-img {
        top: -58px;
        left: -8px;
        width: 166px;
    }
}

/* Stable header logo across all public pages */
.top .nav .logo {
    position: relative;
    flex: 0 0 232px;
    width: 232px;
    height: 44px;
    align-self: center;
    overflow: hidden;
}

.top .nav .logo-img {
    position: absolute;
    top: -101px;
    left: -12px;
    width: 256px;
    height: auto;
    max-width: none;
    animation: none !important;
    transition: none;
    transform: none !important;
    will-change: auto;
}

.top .nav .logo-img:hover {
    opacity: 1;
    transform: none !important;
}

@media (max-width: 1200px) {
    .top .nav .logo {
        flex-basis: 208px;
        width: 208px;
        height: 42px;
    }

    .top .nav .logo-img {
        top: -89px;
        left: -10px;
        width: 228px;
    }
}

@media (max-width: 600px) {
    .top .nav .logo {
        flex-basis: 164px;
        width: 164px;
        height: 38px;
    }

    .top .nav .logo-img {
        top: -70px;
        left: -8px;
        width: 181px;
    }
}

/* Services mega menu -------------------------------------------------- */
.nav {
    position: relative;
}

/* Prevent obsolete inline fallback markup from flashing before nav.js
   replaces it with the current service directory. */
#services-submenu:not(.services-mega-menu) {
    display: none !important;
}

.services-mega-menu .service-menu-group h2 {
    margin: 0;
}

.services-mega-menu .service-menu-icon,
.services-mega-menu .service-group-icon {
    display: grid;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 6px 14px rgba(15, 23, 42, .12), inset 0 1px rgba(255, 255, 255, .25);
    transition: transform .2s ease, box-shadow .2s ease;
}

.services-mega-menu svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.services-mega-menu .icon-blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.services-mega-menu .icon-indigo { background: linear-gradient(135deg, #6366f1, #4338ca); }
.services-mega-menu .icon-violet { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.services-mega-menu .icon-purple { background: linear-gradient(135deg, #a855f7, #7e22ce); }
.services-mega-menu .icon-orange { background: linear-gradient(135deg, #fb923c, #ea580c); }
.services-mega-menu .icon-cyan { background: linear-gradient(135deg, #06b6d4, #0284c7); }
.services-mega-menu .icon-sky { background: linear-gradient(135deg, #38bdf8, #2563eb); }
.services-mega-menu .icon-teal { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.services-mega-menu .icon-green { background: linear-gradient(135deg, #22c55e, #15803d); }
.services-mega-menu .icon-emerald { background: linear-gradient(135deg, #10b981, #047857); }

.services-mega-menu a:hover .service-menu-icon {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 9px 18px rgba(15, 23, 42, .18), inset 0 1px rgba(255, 255, 255, .28);
}

@media (min-width: 1201px) {
    .menu > .services-dropdown {
        position: static;
    }

    .menu > .services-dropdown > .services-mega-menu {
        top: 100%;
        left: 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        width: 100%;
        min-width: 0;
        padding: 26px 28px 28px;
        border-radius: 0 0 18px 18px;
        border-top: 2px solid #2563eb;
        background: rgba(255, 255, 255, .985);
        box-shadow: 0 26px 65px rgba(8, 30, 82, .2), 0 4px 14px rgba(8, 30, 82, .08);
    }

    .menu > .services-dropdown > .services-mega-menu::before {
        display: none;
    }

    .services-mega-menu .service-menu-group {
        min-width: 0;
    }

    .services-mega-menu .service-menu-group h2 {
        display: flex;
        min-height: 44px;
        margin-bottom: 8px;
        align-items: center;
        gap: 12px;
        color: #172033;
        font-size: 16px;
        font-weight: 800;
        letter-spacing: .035em;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .menu > .services-dropdown > .services-mega-menu .service-menu-group a {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 10px;
        min-height: 46px;
        margin: 2px 0;
        padding: 6px;
        align-items: center;
        border-radius: 8px;
        color: #667085;
        font-size: 14px;
        font-weight: 550;
        line-height: 1.35;
    }

    .menu > .services-dropdown > .services-mega-menu .service-menu-group a:hover,
    .menu > .services-dropdown > .services-mega-menu .service-menu-group a[aria-current="page"] {
        background: #eff6ff;
        color: #1d4ed8;
    }

    .services-mega-menu .service-group-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .services-mega-menu .service-group-icon svg {
        width: 20px;
        height: 20px;
    }

    .menu > .services-dropdown > .services-mega-menu .service-menu-direct h2 > a {
        display: flex;
        min-height: 44px;
        margin: 0;
        padding: 0;
        align-items: center;
        gap: 12px;
        background: transparent;
        color: #172033;
        font-size: 16px;
        font-weight: 800;
        letter-spacing: .035em;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .menu > .services-dropdown > .services-mega-menu .service-menu-direct h2 > a:hover,
    .menu > .services-dropdown > .services-mega-menu .service-menu-direct h2 > a[aria-current="page"] {
        background: transparent;
        color: #1d4ed8;
    }
}

@media (max-width: 1200px) {
    .nav .menu > .services-dropdown.submenu-open > .services-mega-menu {
        display: grid;
        max-height: 1600px;
        gap: 10px;
    }

    .services-mega-menu .service-menu-group {
        padding: 4px 0 7px;
    }

    .services-mega-menu .service-menu-group + .service-menu-group {
        border-top: 1px solid rgba(148, 180, 239, .2);
    }

    .services-mega-menu .service-menu-group h2 {
        display: flex;
        min-height: 38px;
        padding: 7px 10px;
        align-items: center;
        gap: 9px;
        color: #fff;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: .08em;
        line-height: 1.2;
        text-transform: uppercase;
    }

    .nav .menu > .services-dropdown > .services-mega-menu .service-menu-group a {
        display: grid;
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 8px;
        align-items: center;
        padding-left: 10px;
    }

    .services-mega-menu .service-menu-icon,
    .services-mega-menu .service-group-icon {
        flex-basis: 30px;
        width: 30px;
        height: 30px;
        border: 0;
        border-radius: 9px;
    }

    .services-mega-menu svg {
        width: 16px;
        height: 16px;
    }

    .nav .menu > .services-dropdown > .services-mega-menu .service-menu-direct h2 > a {
        display: flex;
        padding: 0;
        align-items: center;
        gap: 9px;
        color: #fff;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: .08em;
        line-height: 1.2;
        text-transform: uppercase;
    }
}

@media (max-width: 360px) {
    .top .nav .logo {
        flex-basis: 148px;
        width: 148px;
        height: 34px;
    }

    .top .nav .logo-img {
        top: -65px;
        left: -8px;
        width: 166px;
    }
}

/* Faded interactive network for blue hero backgrounds */
.hero,
.page-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.hero > .site-hero-network,
.page-hero > .site-hero-network {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: .86;
    pointer-events: none;
}

.hero > .container,
.page-hero > .container {
    position: relative;
    z-index: 1;
}

/* Platform conversion service pages ---------------------------------- */
.platform-service-page .page-hero {
    padding: 82px 0 76px;
}

.platform-service-page .page-hero .service-kicker {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 12px;
    border: 1px solid rgba(147, 197, 253, .35);
    border-radius: 999px;
    background: rgba(37, 99, 235, .2);
    color: #dbeafe;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.platform-service-page .page-hero h1 {
    max-width: 820px;
}

.platform-service-page .page-hero p {
    max-width: 760px;
}

.platform-service-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(290px, .8fr);
    gap: 28px;
    align-items: start;
}

.platform-service-copy,
.platform-service-summary {
    padding: clamp(24px, 3vw, 38px);
    border: 1px solid #dbe7f6;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(15, 42, 91, .08);
}

.platform-service-copy h2,
.platform-service-section-title h2 {
    margin-bottom: 14px;
    color: #0b2459;
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.18;
}

.platform-service-copy p + p {
    margin-top: 14px;
}

.platform-service-summary {
    background: linear-gradient(145deg, #071d4e, #0b50c8);
    color: #eaf2ff;
}

.platform-service-summary h2 {
    margin-bottom: 16px;
    color: #fff;
    font-size: 1.2rem;
}

.platform-check-list {
    display: grid;
    gap: 12px;
    list-style: none;
}

.platform-check-list li {
    position: relative;
    padding-left: 27px;
}

.platform-check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #5eead4;
    font-weight: 900;
}

.platform-service-section-title {
    max-width: 740px;
    margin: 0 auto 30px;
    text-align: center;
}

.platform-service-section-title p {
    color: #64748b;
}

.platform-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.platform-service-card {
    padding: 26px;
    border: 1px solid #dbe7f6;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(15, 42, 91, .06);
}

.platform-service-card span {
    display: grid;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #06b6d4);
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}

.platform-service-card h3 {
    margin-bottom: 9px;
    color: #102a5e;
    font-size: 1.08rem;
}

.platform-service-card p {
    color: #64748b;
    font-size: .94rem;
}

.platform-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    counter-reset: platform-step;
}

.platform-process-step {
    position: relative;
    padding: 25px 21px;
    counter-increment: platform-step;
    border: 1px solid #dbe7f6;
    border-radius: 17px;
    background: #fff;
}

.platform-process-step::before {
    content: "0" counter(platform-step);
    display: block;
    margin-bottom: 14px;
    color: #2563eb;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
}

.platform-process-step h3 {
    margin-bottom: 8px;
    color: #102a5e;
    font-size: 1rem;
}

.platform-process-step p {
    color: #64748b;
    font-size: .9rem;
}

.platform-service-page .service-content-cta {
    margin-top: 34px;
    text-align: center;
}

@media (max-width: 900px) {
    .platform-service-intro,
    .platform-service-grid {
        grid-template-columns: 1fr;
    }

    .platform-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .platform-service-page .page-hero {
        padding: 58px 0 54px;
    }

    .platform-process-grid {
        grid-template-columns: 1fr;
    }
}

/* Homepage hero layout and conversion hierarchy. */
.home-page .hero {
    min-height: 680px;
    padding: 84px 0 76px;
}

.home-page .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(440px, 1fr);
    align-items: center;
    gap: clamp(42px, 5vw, 64px);
}

.home-page .home-hero-copy {
    max-width: 650px;
}

.home-page .home-hero-copy .badge {
    margin-bottom: 22px;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
}

.home-page .home-hero-copy h1 {
    max-width: 650px;
    margin-bottom: 22px;
    font-size: clamp(2.7rem, 5.2vw, 4.65rem);
    line-height: 1.01;
    letter-spacing: -.052em;
}

.home-page .home-hero-copy h1 > span {
    color: #7dd3fc;
    background: linear-gradient(90deg, #7dd3fc 0%, #60a5fa 48%, #6ee7b7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-page .home-hero-copy > p {
    max-width: 610px;
    margin-bottom: 28px;
    color: #c5d5ee;
    font-size: clamp(1rem, 1.35vw, 1.12rem);
    line-height: 1.7;
}

.home-page .home-hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.home-page .home-hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 12px;
}

.home-page .home-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 52px;
    padding: 13px 18px;
    border: 1px solid rgba(147, 197, 253, .28);
    border-radius: 12px;
    background: rgba(255, 255, 255, .055);
    color: #e5efff;
    font-size: .88rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.home-page .home-hero-secondary:hover {
    border-color: rgba(125, 211, 252, .62);
    background: rgba(59, 130, 246, .15);
    transform: translateY(-2px);
}

.home-page .home-hero-secondary span {
    color: #7dd3fc;
    font-size: 1.1rem;
    transition: transform .25s ease;
}

.home-page .home-hero-secondary:hover span {
    transform: translateX(3px);
}

.home-page .home-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-page .home-hero-proof li {
    position: relative;
    padding-left: 20px;
    color: #aebfda;
    font-size: .76rem;
    font-weight: 700;
}

.home-page .home-hero-proof li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #34d399;
    font-weight: 900;
}

/* Homepage live conversion-tracking dashboard */
.home-page .home-live-dashboard {
    position: relative;
    width: min(100%, 530px);
    margin-left: auto;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #fff;
    animation: none;
}

.home-page .home-live-dashboard::after {
    content: "";
    position: absolute;
    z-index: -2;
    top: 8%;
    left: 50%;
    width: 92%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, .13), rgba(14, 165, 233, .04) 43%, transparent 70%);
    filter: blur(22px);
    transform: translateX(-50%);
    pointer-events: none;
}

.home-page .home-live-dashboard::before {
    content: none;
}

/* Standalone service comparison replacing the pie chart. */
.home-page .home-tracking-bars {
    position: relative;
    width: min(100%, 530px);
    margin-left: auto;
    padding: 18px 0 0 38px;
}

.home-page .home-tracking-bars::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 18px 0 70px 38px;
    border-bottom: 1px solid rgba(191, 219, 254, .2);
    background: repeating-linear-gradient(to top, rgba(191, 219, 254, .13) 0 1px, transparent 1px 25%);
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .5), #000 10%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, .5), #000 10%, #000 94%, transparent);
}

.home-page .home-bar-axis {
    position: absolute;
    top: 10px;
    bottom: 64px;
    left: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    color: #8fa8cd;
    font-size: .6rem;
    font-weight: 700;
    line-height: 1;
    text-align: right;
}

.home-page .home-tracking-bars ul {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-page .home-tracking-bars li {
    display: grid;
    gap: 14px;
    min-width: 0;
    text-align: center;
}

.home-page .home-bar-track {
    display: flex;
    align-items: flex-end;
    height: 350px;
    padding: 0 7px;
    transition: transform .25s ease;
}

.home-page .home-bar {
    position: relative;
    width: 100%;
    height: var(--bar-size);
    min-height: 92px;
    overflow: hidden;
    border: 1px solid rgba(219, 234, 254, .28);
    border-radius: 12px 12px 4px 4px;
    background: var(--bar-gradient);
    box-shadow: 0 12px 24px var(--bar-shadow), inset 0 1px 0 rgba(255, 255, 255, .24);
    transform-origin: bottom;
    animation: homeBarGrow 1.15s cubic-bezier(.2, .8, .25, 1) var(--bar-delay) both;
    transition: transform .25s ease, filter .25s ease;
}

.home-page .home-bar::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 28%;
    background: linear-gradient(180deg, rgba(255, 255, 255, .14), transparent);
}

.home-page .home-tracking-bars li:hover .home-bar {
    filter: brightness(1.1) saturate(1.08);
}

.home-page .home-tracking-bars li:hover .home-bar-track {
    transform: translateY(-6px);
}

.home-page .home-bar strong {
    position: relative;
    z-index: 1;
    display: block;
    padding-top: 14px;
    color: #fff;
    font-size: clamp(1rem, 1.7vw, 1.25rem);
    font-weight: 900;
    letter-spacing: -.04em;
    text-shadow: 0 3px 10px rgba(2, 12, 38, .4);
}

.home-page .home-tracking-bars li > span {
    display: grid;
    color: #fff;
    font-size: .8rem;
    font-weight: 900;
    line-height: 1.25;
}

.home-page .home-tracking-bars li small {
    margin-top: 3px;
    color: #aebfda;
    font-size: .61rem;
    font-weight: 700;
}

.home-page .home-bar-ga4 {
    --bar-gradient: linear-gradient(180deg, #0ea5e9, #0369a1);
    --bar-shadow: rgba(14, 165, 233, .16);
}

.home-page .home-bar-ads {
    --bar-gradient: linear-gradient(180deg, #2563eb, #1e3a8a);
    --bar-shadow: rgba(37, 99, 235, .17);
}

.home-page .home-bar-shop {
    --bar-gradient: linear-gradient(180deg, #10b981, #047857);
    --bar-shadow: rgba(16, 185, 129, .15);
}

@keyframes homeBarGrow {
    from { opacity: 0; transform: scaleY(.08); }
    to { opacity: 1; transform: scaleY(1); }
}

.home-page .home-pie-heading {
    margin: 0 auto 4px;
    text-align: center;
}

.home-page .home-pie-heading h3 {
    margin: 7px 0 0;
    color: #fff;
    font-size: clamp(1.5rem, 2.7vw, 2rem);
    font-weight: 900;
    letter-spacing: -.035em;
    text-shadow: 0 8px 22px rgba(0, 6, 29, .48);
}

.home-page .home-live-dashboard-head {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    width: min(100%, 340px);
    margin: 0 auto 10px;
    padding: 0 8px;
    border: 0;
}

.home-page .home-live-dashboard-head h3 {
    margin: 8px 0 0;
    color: #fff;
    font-size: clamp(1.3rem, 2.4vw, 1.65rem);
}

.home-page .home-live-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #74f3c1;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.home-page .home-live-status i,
.home-page .home-live-dashboard-foot > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #32e6a1;
    box-shadow: 0 0 0 0 rgba(50, 230, 161, .5);
    animation: homeLivePulse 1.8s ease-out infinite;
}

.home-page .home-live-signal {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 22px;
    margin-top: 6px;
}

.home-page .home-live-signal i {
    width: 4px;
    border-radius: 4px;
    background: #59c8ff;
    box-shadow: 0 0 12px rgba(89, 200, 255, .6);
    animation: homeLiveSignal 1.2s ease-in-out infinite alternate;
}

.home-page .home-live-signal i:nth-child(1) {
    height: 8px;
}

.home-page .home-live-signal i:nth-child(2) {
    height: 14px;
    animation-delay: .18s;
}

.home-page .home-live-signal i:nth-child(3) {
    height: 21px;
    animation-delay: .36s;
}

.home-page .home-pie-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
}

.home-page .home-pie-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: min(100%, 480px);
    aspect-ratio: auto;
}

.home-page .home-pie-chart {
    position: relative;
    width: min(100%, 440px);
    aspect-ratio: 1;
    filter: drop-shadow(0 18px 28px rgba(3, 44, 103, .48));
}

.home-page .home-pie-chart::before {
    content: none;
}

.home-page .home-pie-chart svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    transform-origin: 75px 75px;
    animation: homePieEnter 1.1s cubic-bezier(.2, .75, .3, 1) both;
}

.home-page .home-pie-segment {
    stroke: rgba(219, 234, 254, .42);
    stroke-width: 1.55;
    stroke-linejoin: round;
    transform-box: view-box;
    transform-origin: 75px 75px;
    transform: translate(var(--pie-x), var(--pie-y));
    filter: drop-shadow(0 2px 2px rgba(2, 12, 38, .28));
    transition: filter .25s ease;
    animation: homePieReveal 1.5s cubic-bezier(.25, .85, .3, 1) both;
}

.home-page .home-pie-segment:hover {
    filter: brightness(1.08) saturate(1.08) drop-shadow(0 3px 3px rgba(2, 12, 38, .38));
}

.home-page .home-pie-ga4 {
    --pie-x: 1.8px;
    --pie-y: -.8px;
    fill: url(#pie-ga4-gradient);
}

.home-page .home-pie-ads {
    --pie-x: -.2px;
    --pie-y: 1.9px;
    fill: url(#pie-ads-gradient);
    animation-delay: .12s;
}

.home-page .home-pie-shop {
    --pie-x: -1.9px;
    --pie-y: 0;
    fill: url(#pie-shop-gradient);
    animation-delay: .24s;
}

.home-page .home-pie-labels {
    pointer-events: none;
}

.home-page .home-pie-labels text {
    fill: #fff;
    font-size: 6.2px;
    font-weight: 800;
    text-anchor: middle;
    paint-order: stroke;
    stroke: rgba(3, 12, 35, .58);
    stroke-width: 1.85px;
    stroke-linejoin: round;
    letter-spacing: -.1px;
}

.home-page .home-pie-labels .home-pie-value {
    font-size: 10.6px;
    font-weight: 900;
    letter-spacing: -.45px;
}

.home-page .home-pie-depth path {
    stroke: rgba(2, 9, 30, .55);
    stroke-width: 1.1;
}

.home-page .home-pie-depth-ga4 { fill: #056aaa; }
.home-page .home-pie-depth-ads { fill: #3033a5; }
.home-page .home-pie-depth-shop { fill: #087752; }

.home-page .home-pie-shadow {
    fill: rgba(0, 4, 25, .58);
    filter: blur(5px);
}

.home-page .home-pie-highlight {
    fill: rgba(255, 255, 255, .17);
    filter: blur(3px);
    pointer-events: none;
}

.home-page .home-pie-callouts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 28px;
    width: min(100%, 390px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-page .home-pie-callouts li {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 2px;
    width: auto;
    padding: 5px 4px 5px 20px;
    color: #c8d8f1;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.25;
    animation: homeLegendEnter .55s ease-out both;
}

.home-page .home-pie-callouts li:nth-child(2) { animation-delay: .1s; }
.home-page .home-pie-callouts li:nth-child(3) { animation-delay: .2s; }
.home-page .home-pie-callouts li:nth-child(4) { animation-delay: .3s; }

.home-page .home-pie-callouts li::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: currentColor;
    opacity: .55;
}

.home-page .home-pie-callouts strong {
    font-size: 1.22rem;
    font-weight: 900;
    letter-spacing: -.04em;
    text-shadow: 0 5px 14px rgba(0, 5, 30, .45);
}

.home-page .home-pie-callout-ga4 {
    color: #67d5ff;
}

.home-page .home-pie-callout-ads {
    color: #929cff;
}

.home-page .home-pie-callout-shop {
    color: #66e8ba;
}

.home-page .home-pie-callouts span {
    color: #c8d8f1;
}

.home-page .home-pie-center {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
    pointer-events: none;
}

.home-page .home-pie-center strong {
    color: #fff;
    font-size: 1.65rem;
    line-height: 1;
    letter-spacing: -.04em;
}

.home-page .home-pie-center span {
    margin-top: 6px;
    color: #8fa9d2;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.home-page .home-pie-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: min(100%, 340px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-page .home-pie-legend li {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 6px 7px 23px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #c4d4ee;
    font-size: .78rem;
    animation: homeLegendEnter .55s ease-out both;
}

.home-page .home-pie-legend li::before {
    content: "";
    position: absolute;
    left: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pie-color);
    box-shadow: 0 0 9px var(--pie-color);
}

.home-page .home-pie-legend li:nth-child(2) { animation-delay: .1s; }
.home-page .home-pie-legend li:nth-child(3) { animation-delay: .2s; }
.home-page .home-pie-legend li:nth-child(4) { animation-delay: .3s; }
.home-page .home-pie-legend-ga4 { --pie-color: #42c8ff; }
.home-page .home-pie-legend-ads { --pie-color: #6d7cff; }
.home-page .home-pie-legend-shop { --pie-color: #42dfa8; }

.home-page .home-pie-legend strong {
    color: #fff;
    font-size: .8rem;
}

.home-page .home-live-dashboard-foot {
    position: relative;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #93acd3;
    font-size: .76rem;
}

@keyframes homeLiveFloat {
    50% {
        transform: translateY(-7px);
    }
}

@keyframes homeLivePulse {
    70% {
        box-shadow: 0 0 0 8px rgba(50, 230, 161, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(50, 230, 161, 0);
    }
}

@keyframes homeLiveSignal {
    to {
        opacity: .35;
        transform: scaleY(.58);
        transform-origin: bottom;
    }
}

@keyframes homePieReveal {
    from { opacity: 0; transform: translate(var(--pie-x), var(--pie-y)) scale(.35); }
    to { opacity: 1; transform: translate(var(--pie-x), var(--pie-y)) scale(1); }
}

@keyframes homePieEnter {
    from { opacity: 0; transform: rotate(-16deg) scale(.72); }
    to { opacity: 1; transform: rotate(0) scale(1); }
}

@keyframes homeLegendEnter {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 980px) {
    .home-page .hero {
        min-height: 0;
        padding: 68px 0 62px;
    }

    .home-page .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 52px;
    }

    .home-page .home-hero-copy {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    .home-page .home-hero-copy > p {
        margin-right: auto;
        margin-left: auto;
    }

    .home-page .home-hero-actions,
    .home-page .home-hero-proof {
        justify-content: center;
    }

    .home-page .home-live-dashboard {
        width: min(100%, 560px);
        margin: 4px auto 0;
    }
}

@media (max-width: 520px) {
    .home-page .hero {
        padding: 52px 0 48px;
    }

    .home-page .hero-grid {
        gap: 42px;
    }

    .home-page .home-hero-copy .badge {
        margin-bottom: 18px;
        font-size: .64rem;
    }

    .home-page .home-hero-copy h1 {
        margin-bottom: 18px;
        font-size: clamp(2.25rem, 12vw, 3rem);
        line-height: 1.04;
    }

    .home-page .home-hero-copy > p {
        margin-bottom: 24px;
        font-size: .96rem;
        line-height: 1.65;
    }

    .home-page .home-hero-actions {
        flex-direction: column;
        width: min(100%, 350px);
        margin: 0 auto 24px;
    }

    .home-page .home-hero-actions .btn,
    .home-page .home-hero-secondary {
        width: 100%;
    }

    .home-page .home-hero-proof {
        gap: 8px 14px;
    }

    .home-page .home-hero-proof li {
        font-size: .7rem;
    }

    .home-page .home-tracking-bars {
        width: min(100%, 390px);
        padding: 8px 0 0 32px;
    }

    .home-page .home-tracking-bars::before {
        inset: 8px 0 58px 32px;
    }

    .home-page .home-bar-axis {
        top: 2px;
        bottom: 53px;
        width: 24px;
        font-size: .54rem;
    }

    .home-page .home-tracking-bars ul {
        gap: 9px;
    }

    .home-page .home-bar-track {
        height: 235px;
        padding: 0 2px;
    }

    .home-page .home-bar {
        min-height: 76px;
        border-radius: 14px 14px 5px 5px;
    }

    .home-page .home-tracking-bars li > span {
        font-size: .68rem;
    }

    .home-page .home-tracking-bars li small {
        font-size: .56rem;
    }

    .home-page .home-live-dashboard-head {
        width: min(100%, 310px);
        padding: 0;
    }

    .home-page .home-pie-layout {
        margin: 0;
        padding: 0;
        gap: 8px;
    }

    .home-page .home-pie-stage {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        width: 100%;
        aspect-ratio: auto;
    }

    .home-page .home-pie-chart {
        position: relative;
        top: auto;
        left: auto;
        width: min(100%, 340px);
        transform: none;
    }

    .home-page .home-pie-callouts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 18px;
        width: min(100%, 330px);
    }

    .home-page .home-pie-callouts li {
        position: relative;
        inset: auto;
        width: auto;
        padding-left: 15px;
        text-align: left;
    }

    .home-page .home-pie-callouts li::after {
        top: 5px;
        left: 0;
        width: 7px;
        height: 7px;
        border-radius: 50%;
        opacity: 1;
    }

    .home-page .home-pie-legend li {
        padding: 8px 7px 8px 24px;
        font-size: .68rem;
    }

    .home-page .home-pie-legend li::before {
        left: 9px;
    }

    .home-page .home-pie-center strong {
        font-size: 1.35rem;
    }

    .home-page .home-live-dashboard-foot {
        margin-top: 10px;
        padding: 0;
    }
}

@media (max-width: 390px) {
    .home-page .home-tracking-bars ul {
        gap: 6px;
    }

    .home-page .home-bar-track {
        height: 205px;
    }

    .home-page .home-bar strong {
        padding-top: 12px;
        font-size: .95rem;
    }

    .home-page .home-tracking-bars li > span {
        font-size: .62rem;
    }

    .home-page .home-tracking-bars li small {
        font-size: .52rem;
    }

    .home-page .home-live-dashboard-head {
        width: min(100%, 280px);
    }

    .home-page .home-pie-layout {
        padding: 0;
    }

    .home-page .home-pie-chart {
        width: min(100%, 300px);
    }

    .home-page .home-live-dashboard-foot {
        margin-top: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-page .home-live-dashboard,
    .home-page .home-live-status i,
    .home-page .home-live-dashboard-foot > span,
    .home-page .home-live-signal i,
    .home-page .home-pie-chart svg,
    .home-page .home-pie-segment,
    .home-page .home-pie-legend li,
    .home-page .home-pie-callouts li {
        animation: none;
    }

    .home-page .home-bar {
        animation: none;
    }

    .home-page .home-pie-chart svg {
        transform: none;
    }
}

/* Extend the GA4 service-list pattern for all ten Enhanced Conversions services. */
.enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(13),
.enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(14) {
    grid-column: 1;
    grid-row: 4;
}

.enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(15),
.enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(16) {
    grid-column: 2;
    grid-row: 4;
}

.enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(17),
.enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(18) {
    grid-column: 1;
    grid-row: 5;
}

.enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(19),
.enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(20) {
    grid-column: 2;
    grid-row: 5;
}

.enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(14),
.enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(18) {
    border-right: 1px solid rgba(190, 216, 255, .2);
}

.enhanced-page #ga4-services .ga4-services-cta {
    grid-row: 6;
}

@media (max-width: 768px) {
    .enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(13),
    .enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(14) {
        grid-column: 1;
        grid-row: 7;
    }

    .enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(15),
    .enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(16) {
        grid-column: 1;
        grid-row: 8;
    }

    .enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(17),
    .enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(18) {
        grid-column: 1;
        grid-row: 9;
    }

    .enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(19),
    .enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(20) {
        grid-column: 1;
        grid-row: 10;
    }

    .enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(14),
    .enhanced-page #ga4-services > .container > .enhanced-services-list > p:nth-of-type(18) {
        border-right: 0;
    }

    .enhanced-page #ga4-services .ga4-services-cta {
        grid-row: 11;
    }
}

/* Closing copy from the E-commerce Tracking document. */
.ecommerce-page #ga4-services .ecommerce-closing-copy {
    grid-column: 1 / -1;
    grid-row: 4;
    display: grid;
    gap: 12px;
    margin-top: 10px;
    padding: clamp(22px, 3vw, 30px);
    border-left: 4px solid #10b981;
    border-radius: 0 18px 18px 0;
    background: linear-gradient(135deg, #ecfdf5 0%, #f3f9ff 100%);
    color: #225c48;
}

.ecommerce-page #ga4-services .ecommerce-closing-copy p {
    margin: 0;
    color: inherit;
    font-weight: 650;
    line-height: 1.75;
}

@media (max-width: 768px) {
    .ecommerce-page #ga4-services .ecommerce-closing-copy {
        grid-column: 1;
        grid-row: 7;
    }
}

/* Supporting copy from the Website Tracking Audit document. */
.tracking-audit-page .tracking-audit-summary {
    display: grid;
    gap: 14px;
    margin-top: 26px;
    padding: clamp(20px, 3vw, 28px);
    border: 1px solid #d7e4f7;
    border-radius: 18px;
    background: linear-gradient(145deg, #f8faff 0%, #fff 100%);
}

.tracking-audit-page .tracking-audit-summary p {
    margin: 0;
    color: #45566f;
    line-height: 1.78;
}

/* Professional service directory cards ------------------------------- */
.services-directory {
    background:
        radial-gradient(circle at 8% 4%, rgba(37, 99, 235, .08), transparent 25%),
        radial-gradient(circle at 92% 96%, rgba(16, 185, 129, .07), transparent 27%),
        #f8faff;
}

.services-directory-heading {
    max-width: 780px;
}

.services-directory-heading > span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 6px 11px;
    border: 1px solid #c7d8ff;
    border-radius: 999px;
    background: #edf3ff;
    color: #1559d9;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.services-directory-heading h2 {
    margin-bottom: 10px;
    color: #0b2459;
}

.services-directory-heading p {
    max-width: 700px;
    margin: 0 auto;
}

.services-page .services-list-grid {
    gap: 20px;
}

.services-page .services-list-grid .service-option-card {
    position: relative;
    display: flex;
    min-height: 255px;
    padding: 24px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dce6f5;
    border-radius: 19px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 12px 32px rgba(15, 42, 91, .07);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.services-page .services-list-grid .service-option-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 24px;
    width: 52px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #2563eb, #06b6d4, #10b981);
}

.services-page .services-list-grid .service-option-card:hover {
    transform: translateY(-5px);
    border-color: #b9cdf4;
    box-shadow: 0 22px 48px rgba(15, 55, 130, .14);
}

.service-card-meta {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.service-card-icon {
    display: grid;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 14px;
    color: #fff;
    box-shadow: 0 9px 20px rgba(15, 23, 42, .16), inset 0 1px rgba(255, 255, 255, .28);
    transition: transform .22s ease, box-shadow .22s ease;
}

.service-option-card:hover .service-card-icon {
    transform: rotate(-3deg) scale(1.06);
    box-shadow: 0 12px 25px rgba(15, 23, 42, .2), inset 0 1px rgba(255, 255, 255, .3);
}

.service-card-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card-icon.icon-blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.service-card-icon.icon-indigo { background: linear-gradient(135deg, #6366f1, #4338ca); }
.service-card-icon.icon-violet { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.service-card-icon.icon-purple { background: linear-gradient(135deg, #a855f7, #7e22ce); }
.service-card-icon.icon-orange { background: linear-gradient(135deg, #fb923c, #ea580c); }
.service-card-icon.icon-cyan { background: linear-gradient(135deg, #06b6d4, #0284c7); }
.service-card-icon.icon-sky { background: linear-gradient(135deg, #38bdf8, #2563eb); }
.service-card-icon.icon-teal { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.service-card-icon.icon-green { background: linear-gradient(135deg, #22c55e, #15803d); }
.service-card-icon.icon-emerald { background: linear-gradient(135deg, #10b981, #047857); }

.service-card-category {
    padding: 5px 9px;
    border: 1px solid #dce6f7;
    border-radius: 999px;
    background: #f5f8fd;
    color: #60708c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.services-page .service-option-card h3 {
    margin-bottom: 9px;
    color: #102a5e;
    font-size: 1.13rem;
    line-height: 1.3;
}

.services-page .service-option-card p {
    margin-bottom: 22px;
    color: #64748b;
    font-size: .92rem;
    line-height: 1.65;
}

.service-card-link {
    display: inline-flex;
    margin-top: auto;
    align-items: center;
    gap: 7px;
    color: #1559d9;
    font-size: 12px;
    font-weight: 800;
}

.service-card-link span {
    font-size: 17px;
    transition: transform .2s ease;
}

.service-option-card:hover .service-card-link span {
    transform: translateX(4px);
}

@media (max-width: 600px) {
    .services-page .services-list-grid .service-option-card {
        min-height: 0;
        padding: 21px;
    }

    .service-card-category {
        font-size: 9px;
    }
}

.tracking-audit-page .tracking-audit-benefits-box .gtm-problems-list li p + p {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #d7e4f7;
    color: #344d70;
    font-weight: 600;
}

/* Ecommerce journey visual beneath the tracking overview. */
.ecommerce-page .ecommerce-tracking-visual {
    position: relative;
    margin: 30px 0 8px;
    overflow: hidden;
    border: 1px solid #cddcf2;
    border-radius: 20px;
    background: #f5f9ff;
    box-shadow: 0 18px 42px rgba(15, 48, 110, .12);
}

.ecommerce-page .ecommerce-tracking-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
    pointer-events: none;
}

.ecommerce-page .ecommerce-tracking-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.tracking-audit-page .tracking-audit-visual {
    position: relative;
    margin: 30px 0 8px;
    overflow: hidden;
    border: 1px solid #cddcf2;
    border-radius: 20px;
    background: #f5f9ff;
    box-shadow: 0 18px 42px rgba(15, 48, 110, .12);
}

.tracking-audit-page .tracking-audit-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
    pointer-events: none;
}

.tracking-audit-page .tracking-audit-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.google-ads-page .google-ads-tracking-visual {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 30px auto 8px;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #cddcf2;
    border-radius: 20px;
    background: #f5f9ff;
    box-shadow: 0 18px 42px rgba(15, 48, 110, .12);
}

.google-ads-page .google-ads-tracking-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
    pointer-events: none;
}

.google-ads-page .google-ads-tracking-visual img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.google-ads-page .ga4-google-ads-visual {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 30px auto 26px;
    overflow: hidden;
    box-sizing: border-box;
    border: 1px solid #cddcf2;
    border-radius: 20px;
    background: #f5f9ff;
    box-shadow: 0 18px 42px rgba(15, 48, 110, .12);
}

.google-ads-page .ga4-google-ads-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6);
    pointer-events: none;
}

.google-ads-page .ga4-google-ads-visual img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Google Ads hero hierarchy: product name first, service name second. */
.google-ads-page .page-hero h1 {
    display: grid;
    justify-items: center;
    line-height: .98;
}

.google-ads-page .google-ads-hero-primary,
.google-ads-page .google-ads-hero-secondary {
    display: block;
}

.google-ads-page .google-ads-hero-primary {
    font-size: 1em;
}

.google-ads-page .google-ads-hero-secondary {
    margin-top: .22em;
    font-size: .56em;
    font-weight: 750;
    letter-spacing: -.025em;
    white-space: nowrap;
}

.google-ads-page .page-hero p {
    max-width: 760px;
}

/* In-content CTA placement for service pages that did not already have one. */
.service-content-cta {
    display: flex;
    width: 100%;
    margin-top: 28px;
    justify-content: center;
    align-items: center;
}

.service-content-cta .btn {
    min-width: 240px;
    text-align: center;
}

.ecommerce-page .ecommerce-closing-copy .service-content-cta {
    justify-content: flex-start;
    margin-top: 6px;
}

.service-overview-cta {
    margin-top: 38px;
}

@media (max-width: 600px) {
    .ecommerce-page .ecommerce-tracking-visual,
    .tracking-audit-page .tracking-audit-visual,
    .google-ads-page .google-ads-tracking-visual,
    .google-ads-page .ga4-google-ads-visual {
        margin-top: 24px;
        border-radius: 14px;
    }

    .google-ads-page .google-ads-hero-secondary {
        margin-top: .28em;
        font-size: .6em;
    }

    .service-content-cta .btn {
        width: 100%;
        min-width: 0;
    }
}

/* Manually maintained case-study category grids and reusable cards. */
.services-page .page-hero {
    padding-block: clamp(66px, 7vw, 88px);
}

.services-page .page-hero h1 {
    font-size: clamp(2.55rem, 5vw, 4rem);
    line-height: 1.06;
}

.services-page .page-hero p {
    max-width: 760px;
    margin-top: 16px;
    color: #c2d3ed;
    font-size: clamp(1rem, 1.55vw, 1.14rem);
    line-height: 1.7;
}

.services-page .services-directory {
    background:
        radial-gradient(circle at 8% 4%, rgba(37, 99, 235, .06), transparent 25%),
        linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.services-page .services-directory-heading > span {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #2563eb;
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.services-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
}

.service-category-card {
    --service-accent: #2563eb;
    --service-soft: #eaf1ff;
    position: relative;
    display: flex;
    grid-column: span 2;
    min-height: 320px;
    padding: 28px;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #dbe6f7;
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 42px rgba(23, 57, 112, .07);
    color: inherit;
    text-decoration: none;
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.service-category-card:nth-child(7) { grid-column: 3 / span 2; }
.service-category-card:nth-child(8) { grid-column: 4 / span 2; }

.service-category-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--service-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .24s ease;
}

.service-category-card:hover,
.service-category-card:focus-visible {
    border-color: color-mix(in srgb, var(--service-accent) 35%, #dbe6f7);
    box-shadow: 0 22px 52px rgba(23, 57, 112, .13);
    transform: translateY(-5px);
}

.service-category-card:focus-visible { outline: 3px solid color-mix(in srgb, var(--service-accent) 30%, transparent); }

.service-category-card:hover::before,
.service-category-card:focus-visible::before { transform: scaleX(1); }

.service-category-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 15px;
    background: var(--service-soft);
    color: var(--service-accent);
}

.service-category-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.service-category-label {
    margin-bottom: 10px;
    color: #72819a;
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.service-category-card h3 {
    margin: 0 0 12px;
    color: #15294d;
    font-size: clamp(1.15rem, 1.7vw, 1.32rem);
    line-height: 1.3;
}

.service-category-card p {
    margin: 0 0 24px;
    color: #64748b;
    font-size: .94rem;
    line-height: 1.7;
}

.service-category-link {
    display: flex;
    margin-top: auto;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    color: var(--service-accent);
    font-size: .84rem;
    font-weight: 800;
}

.service-category-link b {
    font-size: 1.2rem;
    transition: transform .2s ease;
}

.service-category-card:hover .service-category-link b,
.service-category-card:focus-visible .service-category-link b { transform: translateX(4px); }

.service-category-card.service-blue { --service-accent: #2563eb; --service-soft: #eaf1ff; }
.service-category-card.service-indigo { --service-accent: #4f46e5; --service-soft: #eeedff; }
.service-category-card.service-violet { --service-accent: #7c3aed; --service-soft: #f2eaff; }
.service-category-card.service-orange { --service-accent: #ea580c; --service-soft: #fff0e7; }
.service-category-card.service-green { --service-accent: #15803d; --service-soft: #eaf8ee; }
.service-category-card.service-emerald { --service-accent: #047857; --service-soft: #e7f8f1; }
.service-category-card.service-teal { --service-accent: #0f766e; --service-soft: #e7f8f6; }
.service-category-card.service-cyan { --service-accent: #0284c7; --service-soft: #e7f7ff; }

.services-cta-section { padding-top: clamp(54px, 7vw, 80px); }

.services-cta-section .cta p {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 900px) {
    .services-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .service-category-card,
    .service-category-card:nth-child(7),
    .service-category-card:nth-child(8) { grid-column: auto; }

    .service-category-card:nth-child(7) {
        grid-column: 1 / -1;
        width: calc(50% - 11px);
        justify-self: center;
    }
}

@media (max-width: 620px) {
    .services-page .page-hero { padding-block: 54px; }

    .services-page .page-hero p { max-width: 35ch; }

    .services-page .services-directory { padding-block: 54px; }

    .services-category-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 17px;
    }

    .service-category-card {
        min-height: 0;
        width: 100%;
        padding: 23px;
        border-radius: 18px;
    }

    .service-category-card:nth-child(7) {
        grid-column: auto;
        justify-self: stretch;
    }

    .service-category-card p {
        text-align: left;
        hyphens: none;
    }

    .service-category-card:hover { transform: none; }

    .services-cta-section .cta .btn {
        display: inline-flex;
        min-height: 48px;
        align-items: center;
        justify-content: center;
    }
}

.case-studies-page .page-hero {
    padding-block: clamp(66px, 7vw, 88px);
}

.case-studies-page .page-hero h1 {
    font-size: clamp(2.55rem, 5vw, 4rem);
    line-height: 1.06;
}

.case-studies-page .page-hero p {
    max-width: 700px;
    margin-top: 16px;
    color: #c2d3ed;
    font-size: clamp(1rem, 1.55vw, 1.14rem);
    line-height: 1.7;
}

.case-studies-directory {
    background:
        radial-gradient(circle at 8% 4%, rgba(37, 99, 235, .06), transparent 25%),
        linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.case-studies-heading {
    max-width: 780px;
}

.case-studies-heading > span {
    display: block;
    margin-bottom: 10px;
    color: #2563eb;
    font-size: .75rem;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.case-studies-heading h2 {
    color: #102a5e;
}

.case-studies-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px;
}

.case-category-card {
    --category-accent: #2563eb;
    --category-soft: #eaf1ff;
    position: relative;
    display: flex;
    grid-column: span 2;
    min-height: 310px;
    padding: 28px;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #dbe6f7;
    border-radius: 22px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 16px 42px rgba(23, 57, 112, .07);
    color: inherit;
    text-decoration: none;
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.case-category-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.case-category-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.case-category-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--category-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .24s ease;
}

.case-category-card:hover {
    border-color: color-mix(in srgb, var(--category-accent) 35%, #dbe6f7);
    box-shadow: 0 22px 52px rgba(23, 57, 112, .13);
    transform: translateY(-5px);
}

.case-category-card:hover::before {
    transform: scaleX(1);
}

.case-category-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 15px;
    background: var(--category-soft);
    color: var(--category-accent);
}

.case-category-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.case-category-label {
    margin-bottom: 10px;
    color: #72819a;
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.case-category-card h3 {
    margin: 0 0 12px;
    color: #15294d;
    font-size: clamp(1.15rem, 1.7vw, 1.32rem);
    line-height: 1.3;
}

.case-category-card p {
    margin: 0 0 24px;
    color: #64748b;
    font-size: .94rem;
    line-height: 1.7;
}

.case-category-link {
    display: flex;
    margin-top: auto;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    color: var(--category-accent);
    font-size: .84rem;
    font-weight: 800;
}

.case-category-link b {
    font-size: 1.2rem;
    transition: transform .2s ease;
}

.case-category-card:hover .case-category-link b {
    transform: translateX(4px);
}

.case-category-card.category-violet { --category-accent: #7c3aed; --category-soft: #f2eaff; }
.case-category-card.category-emerald { --category-accent: #047857; --category-soft: #e7f8f1; }
.case-category-card.category-indigo { --category-accent: #4f46e5; --category-soft: #eeedff; }
.case-category-card.category-orange { --category-accent: #ea580c; --category-soft: #fff0e7; }
.case-category-card.category-blue { --category-accent: #2563eb; --category-soft: #eaf1ff; }

.case-studies-cta-section {
    padding-top: clamp(54px, 7vw, 80px);
}

.case-studies-cta-section .cta p {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
}

@media (max-width: 900px) {
    .case-studies-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .case-category-card,
    .case-category-card:nth-child(4),
    .case-category-card:nth-child(5) {
        grid-column: auto;
    }

    .case-category-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc(50% - 11px);
        justify-self: center;
    }
}

@media (max-width: 620px) {
    .case-studies-page .page-hero {
        padding-block: 54px;
    }

    .case-studies-page .page-hero p {
        max-width: 34ch;
    }

    .case-studies-directory {
        padding-block: 54px;
    }

    .case-studies-category-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 17px;
    }

    .case-category-card,
    .case-category-card:last-child:nth-child(odd) {
        grid-column: auto;
        width: 100%;
        min-height: 0;
        padding: 23px;
        border-radius: 18px;
    }

    .case-category-card:hover {
        transform: none;
    }

    .case-studies-cta-section .cta .btn {
        display: inline-flex;
        min-height: 48px;
        align-items: center;
        justify-content: center;
    }
}

.case-study-detail-page {
    background:
        radial-gradient(circle at 10% 8%, rgba(37, 99, 235, .08), transparent 28%),
        linear-gradient(180deg, #f5f8fc 0%, #edf2f7 100%);
}

.case-study-showcase {
    padding: clamp(36px, 5vw, 72px) 0 clamp(64px, 8vw, 108px);
}

.case-study-showcase > .container {
    width: min(100% - 80px, 1360px);
}

.case-study-project {
    overflow: hidden;
    border: 1px solid #dce5f0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(24, 45, 78, .1);
}

.case-study-project-header {
    display: flex;
    min-height: 150px;
    padding: 46px 52px 36px;
    gap: 28px;
    align-items: flex-start;
    justify-content: space-between;
}

.case-study-project-heading {
    max-width: 980px;
}

.case-study-eyebrow {
    display: flex;
    margin: 0 0 14px;
    gap: 9px;
    align-items: center;
    color: #2563eb;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.case-study-eyebrow > span:first-child {
    color: #8ca2c2;
}

.case-study-project-header h1 {
    margin: 0;
    color: #10213d;
    font-size: clamp(2rem, 3.1vw, 3.25rem);
    font-weight: 760;
    line-height: 1.12;
    letter-spacing: -.04em;
}

.case-study-project-actions {
    display: flex;
    gap: 26px;
    align-items: center;
    flex: 0 0 auto;
}

.case-study-close {
    position: relative;
    display: block;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #25282d;
    transition: background .2s ease;
}

.case-study-close:hover {
    background: #eef1f4;
}

.case-study-close span {
    position: absolute;
    top: 16px;
    left: 5px;
    width: 24px;
    height: 1.5px;
    background: currentColor;
    transform: rotate(45deg);
}

.case-study-close span:last-child {
    transform: rotate(-45deg);
}

.case-study-project-grid {
    display: grid;
    grid-template-columns: minmax(260px, 31%) minmax(0, 69%);
    gap: clamp(42px, 5vw, 72px);
    padding: 22px 52px 64px;
}

.case-study-project-meta {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.case-study-project-meta section + section {
    margin-top: 48px;
}

.case-study-meta-label {
    margin: 0 0 16px;
    color: #708096;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.case-study-role,
.case-study-description {
    margin: 0;
    color: #24272c;
    font-size: 1.05rem;
    line-height: 1.55;
}

.case-study-role {
    padding-left: 16px;
    border-left: 3px solid #2563eb;
    font-weight: 600;
}

.case-study-description {
    max-width: 500px;
}

.case-study-skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.case-study-skill-list span {
    padding: 8px 12px;
    border: 1px solid #dbe6f5;
    border-radius: 999px;
    background: #f3f7fc;
    color: #29466f;
    font-size: .86rem;
    font-weight: 650;
    line-height: 1.15;
}

.case-study-date {
    margin: 42px 0 0;
    color: #667085;
    font-size: .92rem;
}

.case-study-meta-footer {
    margin-top: 46px;
    padding-top: 35px;
    border-top: 1px solid #dce2e8;
}

.case-study-meta-footer a {
    color: #2359a8;
    font-weight: 650;
    text-decoration: none;
}

.case-study-project-work {
    min-width: 0;
}

.case-study-project-visual {
    display: grid;
    min-height: clamp(380px, 42vw, 650px);
    overflow: hidden;
    place-items: center;
    border: 1px solid #d9e5f4;
    border-radius: 18px;
    background:
        radial-gradient(circle at 75% 20%, rgba(43, 140, 255, .4), transparent 27%),
        radial-gradient(circle at 16% 88%, rgba(39, 194, 139, .22), transparent 29%),
        linear-gradient(145deg, #071b3e 0%, #0a326d 58%, #0e4d97 100%);
    box-shadow: 0 20px 45px rgba(15, 52, 102, .13);
}

.case-study-project-visual > img {
    width: 100%;
    height: 100%;
    max-height: 760px;
    object-fit: cover;
}

.case-study-visual-placeholder {
    display: flex;
    padding: 32px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    text-align: center;
}

.case-study-visual-placeholder > span:not(.case-study-visual-mark) {
    font-size: clamp(1.8rem, 4vw, 4rem);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -.04em;
}

.case-study-visual-placeholder small {
    margin-top: 14px;
    color: #a9c3eb;
    font-size: clamp(.86rem, 1.3vw, 1.1rem);
}

.case-study-visual-mark {
    position: relative;
    display: block;
    width: 98px;
    height: 98px;
    margin-bottom: 32px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 24px;
    background: linear-gradient(145deg, #36c58b, #2563eb);
    box-shadow: 0 24px 60px rgba(37, 99, 235, .34);
    transform: rotate(7deg);
}

.case-study-visual-mark::before,
.case-study-visual-mark::after {
    content: "";
    position: absolute;
    bottom: 23px;
    width: 12px;
    border-radius: 6px 6px 2px 2px;
    background: #fff;
}

.case-study-visual-mark::before {
    left: 27px;
    height: 30px;
}

.case-study-visual-mark::after {
    left: 51px;
    height: 51px;
}

.case-study-project-content {
    max-width: 820px;
    padding: 52px 10px 8px;
}

.case-study-project-content h2 {
    margin: 42px 0 12px;
    color: #17191d;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.25;
    letter-spacing: -.025em;
}

.case-study-project-content h2:first-child {
    margin-top: 0;
}

.case-study-project-content p,
.case-study-project-content li {
    color: #515b6a;
    line-height: 1.8;
}

.case-study-project-content ul {
    display: grid;
    gap: 8px;
    margin: 14px 0 0 22px;
}

@media (max-width: 900px) {
    .case-study-project-header {
        padding: 34px;
    }

    .case-study-project-grid {
        grid-template-columns: 1fr;
        padding: 12px 34px 48px;
    }

    .case-study-project-work {
        grid-row: 1;
    }

    .case-study-project-meta {
        grid-row: 2;
    }

    .case-study-project-meta section + section {
        margin-top: 34px;
    }
}

@media (max-width: 600px) {
    .case-study-showcase > .container {
        width: min(100% - 24px, 1360px);
    }

    .case-study-project {
        border-radius: 18px;
    }

    .case-study-project-header {
        padding: 24px 20px;
        flex-direction: column-reverse;
    }

    .case-study-project-actions {
        width: 100%;
        justify-content: space-between;
    }

    .case-study-project-grid {
        gap: 28px;
        padding: 4px 20px 34px;
    }

    .case-study-project-visual {
        min-height: 280px;
    }

    .case-study-visual-mark {
        width: 76px;
        height: 76px;
        margin-bottom: 24px;
    }

    .case-study-visual-mark::before {
        left: 20px;
        bottom: 17px;
        height: 25px;
    }

    .case-study-visual-mark::after {
        left: 42px;
        bottom: 17px;
        height: 41px;
    }

    .case-study-project-content {
        padding-top: 30px;
    }
}

.case-study-list-page main.section {
    background:
        radial-gradient(circle at 90% 0, rgba(37, 99, 235, .08), transparent 28%),
        linear-gradient(180deg, #fff 0%, #f7faff 100%);
}

.case-study-list-heading {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.case-study-list-heading h2 {
    margin: 0 0 10px;
    color: #102a56;
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    letter-spacing: -.035em;
}

.case-study-list-heading p {
    margin: 0;
    color: #5b6b82;
    line-height: 1.7;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 24px;
}

.case-study-card {
    display: grid;
    grid-template-rows: 180px 1fr;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #d8e4f5;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(15, 48, 110, .09);
    color: inherit;
    text-decoration: none;
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
    border-color: #b8cef1;
    box-shadow: 0 22px 46px rgba(15, 48, 110, .14);
}

.case-study-card-visual {
    position: relative;
    display: grid;
    overflow: hidden;
    place-items: center;
    background:
        radial-gradient(circle at 78% 24%, rgba(56, 189, 248, .7), transparent 23%),
        radial-gradient(circle at 20% 82%, rgba(16, 185, 129, .35), transparent 28%),
        linear-gradient(135deg, #071a3b 0%, #0c3c86 58%, #1768e5 100%);
}

.case-study-card-visual::before,
.case-study-card-visual::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
}

.case-study-card-visual::before {
    width: 190px;
    height: 190px;
    top: -92px;
    right: -48px;
}

.case-study-card-visual::after {
    width: 120px;
    height: 120px;
    bottom: -62px;
    left: -22px;
}

.case-study-card-visual > span {
    position: relative;
    z-index: 1;
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 20px;
    background: rgba(255, 255, 255, .15);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 850;
    backdrop-filter: blur(8px);
}

.case-study-card-body {
    display: flex;
    min-width: 0;
    padding: 25px;
    flex-direction: column;
}

.case-study-card-category {
    align-self: flex-start;
    margin-bottom: 13px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #1556c9;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.case-study-card-body h2 {
    margin: 0 0 12px;
    color: #102a56;
    font-size: 1.25rem;
    line-height: 1.35;
}

.case-study-card-body p {
    margin: 0 0 22px;
    color: #5b687c;
    line-height: 1.7;
}

.case-study-card-link {
    margin-top: auto;
    color: #1559dc;
    font-weight: 800;
}

.case-study-card:hover .case-study-card-link {
    color: #0d47b5;
}

@media (max-width: 600px) {
    .case-study-grid {
        gap: 18px;
    }

    .case-study-card {
        grid-template-rows: 150px 1fr;
        border-radius: 18px;
    }

    .case-study-card-body {
        padding: 21px;
    }
}

/* Final service-menu layout guard. Keep this after legacy navigation rules. */
@media (min-width: 1201px) {
    .menu > .services-dropdown > .services-mega-menu {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        padding: 0 !important;
        overflow: hidden;
        border: 1px solid #dbe6f7;
        border-top: 3px solid #2563eb;
        border-radius: 0 0 22px 22px;
        background: #fff;
    }

    .menu > .services-dropdown > .services-mega-menu .service-menu-topbar {
        display: flex !important;
        width: 100%;
        padding: 16px 22px;
    }

    .menu > .services-dropdown > .services-mega-menu .service-menu-columns {
        display: grid !important;
        grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr) !important;
        width: 100%;
        gap: 18px !important;
        padding: 18px 20px 22px;
        align-items: start;
    }

    .menu > .services-dropdown > .services-mega-menu .service-menu-group {
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        border: 1px solid #e3eaf5;
        border-radius: 16px;
        background: #f8fafc;
    }

    .menu > .services-dropdown > .services-mega-menu .service-menu-options {
        display: grid !important;
        width: 100%;
        gap: 7px !important;
        padding: 9px;
    }

    .menu > .services-dropdown > .services-mega-menu .service-menu-group:first-child .service-menu-options {
        grid-template-columns: repeat(2, minmax(250px, 1fr)) !important;
    }

    .menu > .services-dropdown > .services-mega-menu .service-menu-group .service-menu-options > a {
        display: grid !important;
        grid-template-columns: 36px minmax(0, 1fr) 16px !important;
        width: auto !important;
        min-width: 0 !important;
        min-height: 62px;
        margin: 0 !important;
        padding: 8px 9px !important;
        writing-mode: horizontal-tb !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
    }

    .services-mega-menu .service-menu-copy,
    .services-mega-menu .service-menu-copy strong,
    .services-mega-menu .service-menu-copy small {
        width: auto;
        min-width: 0;
        writing-mode: horizontal-tb !important;
        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: break-word;
    }
}

@media (max-width: 1200px) {
    .nav .menu > .services-dropdown.submenu-open > .services-mega-menu {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        max-height: min(72vh, 720px);
        overflow-y: auto;
    }

    .services-mega-menu .service-menu-columns,
    .services-mega-menu .service-menu-options {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        width: 100%;
    }

    .nav .menu > .services-dropdown > .services-mega-menu .service-menu-group .service-menu-options > a {
        display: grid !important;
        grid-template-columns: 30px minmax(0, 1fr) 14px !important;
        width: auto !important;
        min-width: 0 !important;
        writing-mode: horizontal-tb !important;
        white-space: normal !important;
        word-break: normal !important;
    }
}
.home-core-services {
    position: relative;
    padding-bottom: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 15%, rgba(79, 70, 229, .055), transparent 24%),
        radial-gradient(circle at 92% 80%, rgba(14, 165, 233, .05), transparent 25%),
        linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.home-core-services-heading {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 38px;
    text-align: center;
}

.home-core-services-heading > span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #315dcc;
    font-size: .73rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.home-core-services-heading > span::before,
.home-core-services-heading > span::after {
    width: 22px;
    height: 1px;
    background: #a9bfee;
    content: "";
}

.home-core-services-heading h2 {
    margin: 0;
    color: #10264c;
    font-size: clamp(2.15rem, 4vw, 3.15rem);
    line-height: 1.08;
    letter-spacing: -.045em;
}

.home-core-services-heading p {
    max-width: 680px;
    margin: 16px auto 0;
    color: #62718a;
    font-size: 1.03rem;
    line-height: 1.75;
}

.home-core-services-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 20px;
}

.home-service-card {
    --service-accent: #2563eb;
    --service-soft: #eaf1ff;
    position: relative;
    display: flex;
    min-height: 300px;
    flex-direction: column;
    padding: 28px;
    overflow: hidden;
    border: 1px solid #dce6f5;
    border-radius: 22px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 14px 36px rgba(23, 57, 112, .065);
    color: inherit;
    text-decoration: none;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
    grid-column: span 2;
}

/* Centre the three-card second row while keeping every card the same width. */
.home-service-card:nth-child(5) {
    grid-column: 2 / span 2;
}

.home-service-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    background: var(--service-accent);
    content: "";
    opacity: .75;
    transform: scaleX(1);
    transform-origin: center;
    transition: height .25s ease, opacity .25s ease, transform .25s ease;
}

.home-service-card:hover {
    border-color: color-mix(in srgb, var(--service-accent) 30%, #dbe6f7);
    box-shadow: 0 22px 48px rgba(23, 57, 112, .12);
    transform: translateY(-4px);
}

.home-service-card:hover::before {
    height: 4px;
    opacity: 1;
}

.home-service-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    place-items: center;
    border-radius: 15px;
    border: 1px solid color-mix(in srgb, var(--service-accent) 13%, transparent);
    background: linear-gradient(145deg, #fff, var(--service-soft));
    color: var(--service-accent);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--service-accent) 10%, transparent);
}

.home-service-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.home-service-card h3 {
    min-height: 2.5em;
    margin: 0 0 12px;
    color: #15294d;
    font-size: 1.14rem;
    line-height: 1.25;
}

.home-service-card p {
    margin: 0 0 24px;
    color: #66758c;
    font-size: .93rem;
    line-height: 1.68;
}

.home-service-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    color: var(--service-accent);
    padding-top: 16px;
    border-top: 1px solid #edf1f7;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.home-service-link b {
    font-size: 1.2rem;
    transition: transform .2s ease;
}

.home-service-card:hover .home-service-link b {
    transform: translateX(4px);
}

.home-service-card.service-indigo { --service-accent: #4f46e5; --service-soft: #eeedff; }
.home-service-card.service-blue { --service-accent: #2563eb; --service-soft: #eaf1ff; }
.home-service-card.service-violet { --service-accent: #7c3aed; --service-soft: #f2eaff; }
.home-service-card.service-orange { --service-accent: #ea580c; --service-soft: #fff0e7; }
.home-service-card.service-cyan { --service-accent: #0284c7; --service-soft: #e5f7ff; }
.home-service-card.service-green { --service-accent: #16a34a; --service-soft: #e9f9ee; }
.home-service-card.service-teal { --service-accent: #0f766e; --service-soft: #e6f7f5; }
.home-service-card.service-emerald { --service-accent: #047857; --service-soft: #e7f8f1; }

@media (max-width: 1080px) {
    .home-core-services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: calc(100% - 20px);
        margin-right: auto;
        margin-left: auto;
    }

    .home-service-card,
    .home-service-card:nth-child(5) {
        grid-column: auto;
    }

    .home-service-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 10px);
        justify-self: center;
    }
}

@media (max-width: 620px) {
    .home-core-services {
        padding-bottom: 22px;
    }

    .home-core-services-grid {
        grid-template-columns: 1fr;
        width: calc(100% - 16px);
        gap: 16px;
    }

    .home-service-card {
        width: 100%;
        min-height: 0;
        padding: 24px 22px;
        border-radius: 18px;
    }

    .home-service-card h3 {
        min-height: 0;
    }

    .home-service-card:last-child {
        grid-column: auto;
        width: 100%;
        justify-self: stretch;
    }

    .home-service-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 19px;
    }

    .home-service-card p {
        margin-bottom: 20px;
    }
}

.home-insights {
    overflow: hidden;
}

.home-insights-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 36px;
    margin-bottom: 32px;
}

.home-insights-header > div:first-child {
    max-width: 710px;
}

.home-insights-eyebrow {
    display: block;
    margin-bottom: 9px;
    color: #2563eb;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-insights-header h2 {
    margin: 0 0 12px;
    color: #15294d;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -.035em;
    line-height: 1.08;
}

.home-insights-header p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

.home-insights-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 18px;
}

.home-insights-all {
    color: #1d4ed8;
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
}

.home-insights-controls {
    display: flex;
    gap: 9px;
}

.home-insights-controls button {
    display: grid;
    width: 45px;
    height: 45px;
    padding: 0;
    place-items: center;
    border: 1px solid #cddcf3;
    border-radius: 50%;
    background: #fff;
    color: #1d4ed8;
    font: inherit;
    font-size: 1.1rem;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.home-insights-controls button:hover:not(:disabled) {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
    transform: translateY(-2px);
}

.home-insights-controls button:disabled {
    cursor: not-allowed;
    opacity: .38;
}

.home-blog-viewport {
    display: grid;
    grid-auto-columns: calc((100% - 40px) / 3);
    grid-auto-flow: column;
    gap: 20px;
    padding: 4px 3px 22px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: inline mandatory;
    touch-action: pan-x pan-y;
}

.home-blog-viewport::-webkit-scrollbar {
    display: none;
}

.home-blog-card {
    display: flex;
    min-height: 330px;
    flex-direction: column;
    padding: 26px;
    border: 1px solid #dbe6f7;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 36px rgba(23, 57, 112, .07);
    scroll-snap-align: start;
}

.home-blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 24px;
}

.home-blog-category {
    padding: 7px 11px;
    border-radius: 999px;
    background: #eaf1ff;
    color: #1d4ed8;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.home-blog-card time {
    color: #8290a7;
    font-size: .78rem;
}

.home-blog-card h3 {
    margin: 0 0 14px;
    color: #15294d;
    font-size: 1.27rem;
    letter-spacing: -.015em;
    line-height: 1.35;
}

.home-blog-card p {
    display: -webkit-box;
    margin: 0 0 25px;
    overflow: hidden;
    color: #64748b;
    font-size: .94rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.home-blog-card a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    color: #1d4ed8;
    font-size: .88rem;
    font-weight: 850;
    text-decoration: none;
}

.home-blog-card a span {
    font-size: 1.15rem;
    transition: transform .2s ease;
}

.home-blog-card:hover a span {
    transform: translateX(4px);
}

.home-blog-loading,
.home-blog-error {
    grid-column: 1 / -1;
    margin: 0;
    padding: 40px;
    border: 1px dashed #cddcf3;
    border-radius: 18px;
    color: #64748b;
    text-align: center;
}

.home-blog-progress {
    width: min(180px, 42vw);
    height: 4px;
    margin: 7px auto 0;
    overflow: hidden;
    border-radius: 999px;
    background: #dce7f7;
}

.home-blog-progress::after {
    display: block;
    width: var(--blog-progress, 50%);
    height: 100%;
    border-radius: inherit;
    background: #2563eb;
    content: "";
    transition: width .2s ease;
}

@media (max-width: 900px) {
    .home-blog-viewport {
        grid-auto-columns: calc((100% - 20px) / 2);
    }

    .home-insights-header {
        align-items: start;
        flex-direction: column;
    }

    .home-insights-actions {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 620px) {
    .home-blog-viewport {
        grid-auto-columns: 88%;
    }

    .home-blog-card {
        min-height: 310px;
        padding: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-blog-viewport {
        scroll-behavior: auto;
    }
}

/* Homepage hero: compact, single-column mobile experience. */
@media (max-width: 768px) {
    .home-page .hero {
        min-height: 0;
        padding: 40px 0 48px;
    }

    .home-page .hero > .container {
        width: min(calc(100% - 40px), 680px);
    }

    .home-page .hero-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }

    .home-page .home-hero-copy {
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
        padding-inline: 4px;
        text-align: left;
    }

    .home-page .home-hero-copy .badge,
    .home-page .home-hero-secondary,
    .home-page .home-hero-proof {
        display: none;
    }

    .home-page .home-hero-copy h1 {
        max-width: none;
        margin: 0 auto 22px;
        font-size: clamp(1.75rem, 7vw, 2.65rem);
        line-height: 1.12;
        letter-spacing: -.025em;
        text-align: center;
    }

    .home-page .home-hero-copy h1 > span {
        display: block;
        margin-top: 5px;
        white-space: nowrap;
    }

    .home-page .home-hero-copy > p {
        max-width: none;
        margin: 0 auto 26px;
        font-size: clamp(.82rem, 3.1vw, .98rem);
        font-weight: 600;
        line-height: 1.65;
        text-align: center;
        text-justify: auto;
        white-space: nowrap;
    }

    .home-page .home-hero-actions {
        justify-content: center;
        width: 100%;
        margin: 0 auto;
    }

    .home-page .home-hero-actions .btn {
        width: min(100%, 260px);
        min-height: 48px;
        padding: 12px 18px;
    }

    .home-page .home-live-dashboard {
        width: calc(100% - 8px);
        max-width: 560px;
        margin: 0 auto;
        padding: 26px 22px 24px;
        overflow: hidden;
        border: 1px solid rgba(147, 197, 253, .28);
        border-radius: 18px;
        background: rgba(8, 35, 88, .34);
        box-shadow: 0 18px 45px rgba(2, 12, 38, .2), inset 0 1px 0 rgba(255, 255, 255, .035);
        backdrop-filter: blur(6px);
    }

    .home-page .home-live-dashboard::before {
        content: "Service tracking mix";
        display: block;
        margin-bottom: 18px;
        color: #fff;
        font-size: .78rem;
        font-weight: 800;
        letter-spacing: .08em;
        text-align: center;
        text-transform: uppercase;
    }

    .home-page .home-tracking-bars {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .home-page .home-tracking-bars::before {
        display: none;
    }

    .home-page .home-bar-axis {
        position: static;
        order: 2;
        display: flex;
        flex-direction: row-reverse;
        width: auto;
        height: auto;
        margin: 11px 0 0 calc(30% + 12px);
        color: #829bc2;
        font-size: .52rem;
        line-height: 1;
        text-align: center;
    }

    .home-page .home-tracking-bars ul {
        order: 1;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 17px;
    }

    .home-page .home-tracking-bars li {
        display: grid;
        grid-template-columns: minmax(82px, 30%) minmax(0, 1fr);
        gap: 12px;
        align-items: center;
        text-align: left;
    }

    .home-page .home-tracking-bars li > span {
        grid-column: 1;
        grid-row: 1;
        font-size: .73rem;
        line-height: 1.2;
    }

    .home-page .home-tracking-bars li small {
        margin-top: 4px;
        font-size: .56rem;
        line-height: 1.2;
    }

    .home-page .home-bar-track {
        grid-column: 2;
        grid-row: 1;
        align-items: stretch;
        width: 100%;
        height: 32px;
        padding: 0;
        overflow: hidden;
        border-radius: 8px;
        background-color: rgba(47, 105, 238, .15);
        background-image: repeating-linear-gradient(
            to right,
            transparent 0,
            transparent calc(25% - 1px),
            rgba(147, 197, 253, .1) calc(25% - 1px),
            rgba(147, 197, 253, .1) 25%
        );
    }

    .home-page .home-bar {
        width: var(--bar-size);
        height: 100%;
        min-height: 0;
        border-radius: 7px;
        transform-origin: left;
        animation-name: homeBarGrowMobile;
    }

    .home-page .home-bar strong {
        display: grid;
        height: 100%;
        place-items: center;
        padding: 0 7px;
        font-size: .76rem;
    }
}

@keyframes homeBarGrowMobile {
    from { opacity: 0; transform: scaleX(.08); }
    to { opacity: 1; transform: scaleX(1); }
}

@media (max-width: 520px) {
    .home-page .hero {
        padding: 34px 0 42px;
    }

    .home-page .hero > .container {
        width: min(calc(100% - 40px), 680px);
    }

    .home-page .hero-grid {
        gap: 34px;
    }

    .home-page .home-hero-copy h1 {
        max-width: none;
        margin-bottom: 20px;
        font-size: clamp(1.6rem, 7vw, 2.2rem);
        line-height: 1.12;
    }

    .home-page .home-hero-copy > p {
        max-width: none;
        margin-bottom: 24px;
        font-size: clamp(.78rem, 3.5vw, .91rem);
        line-height: 1.65;
    }

    .home-page .home-hero-actions {
        width: 100%;
        margin: 0;
    }

    .home-page .home-live-dashboard {
        width: calc(100% - 4px);
        padding: 22px 16px 20px;
        border-radius: 16px;
    }

    .home-page .home-tracking-bars {
        padding: 0;
    }

    .home-page .home-tracking-bars ul {
        gap: 14px;
    }

    .home-page .home-bar-axis {
        margin-left: calc(31% + 9px);
        font-size: .48rem;
    }

    .home-page .home-tracking-bars li {
        grid-template-columns: minmax(76px, 31%) minmax(0, 1fr);
        gap: 9px;
    }

    .home-page .home-tracking-bars li > span {
        font-size: .62rem;
    }

    .home-page .home-tracking-bars li small {
        font-size: .5rem;
    }
}

/* Homepage mobile header CTA: logo | Free Audit | menu. */
@media (max-width: 768px) {
    .home-page .top .nav {
        grid-template-columns: minmax(0, 1fr) auto auto;
        column-gap: 8px;
    }

    .home-page .top .nav > .logo {
        grid-column: 1;
        grid-row: 1;
    }

    .home-page .top .nav > .home-nav-cta,
    .home-page .top .nav.is-open > .home-nav-cta {
        display: inline-flex;
        grid-column: 2;
        grid-row: 1;
        align-items: center;
        justify-content: center;
        justify-self: end;
        width: auto;
        min-height: 38px;
        margin: 0;
        padding: 9px 13px;
        border-radius: 10px;
        color: #fff;
        font-size: .72rem;
        font-weight: 800;
        line-height: 1;
        white-space: nowrap;
    }

    .home-page .top .nav > .nav-toggle {
        grid-column: 3;
        grid-row: 1;
    }

    .home-page .top .nav > .menu {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

@media (max-width: 360px) {
    .home-page .top .nav {
        column-gap: 6px;
    }

    .home-page .top .nav > .home-nav-cta,
    .home-page .top .nav.is-open > .home-nav-cta {
        min-height: 36px;
        padding: 8px 10px;
        font-size: .67rem;
    }
}

/* Consistent device-edge spacing for homepage content. */
@media (max-width: 768px) {
    .home-page .section > .container,
    .footer > .container {
        width: min(calc(100% - 40px), 1120px);
    }
}

@media (max-width: 360px) {
    .home-page .hero > .container,
    .home-page .section > .container,
    .footer > .container {
        width: min(calc(100% - 32px), 1120px);
    }
}

/* Balance the core-services introduction on mobile. */
@media (max-width: 620px) {
    .home-page .home-core-services-heading {
        width: 100%;
        max-width: none;
        margin-bottom: 26px;
    }

    .home-page .home-core-services-heading > p {
        max-width: 36ch;
        margin: 10px auto 0;
        line-height: 1.65;
        text-align: center;
        text-justify: auto;
        hyphens: none;
    }

    .home-page .home-core-services-grid {
        gap: 16px;
    }
}

/* Polished tracking-problems section. */
.home-page .home-tracking-problems {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 90% 15%, rgba(37, 99, 235, .07), transparent 28%), linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.home-page .home-tracking-problems .split {
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
    align-items: center;
    gap: clamp(48px, 7vw, 96px);
}

.home-problems-eyebrow,
.home-problems-card-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #2563eb;
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.home-problems-eyebrow::before {
    width: 26px;
    height: 2px;
    border-radius: 2px;
    background: #2563eb;
    content: "";
}

.home-page .home-tracking-problems .split > div:first-child h2 {
    max-width: 650px;
    margin: 16px 0;
    color: #0f2348;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.12;
    letter-spacing: -.04em;
}

.home-page .home-tracking-problems .split > div:first-child > p {
    max-width: 660px;
    margin: 0;
    color: #53627a;
    font-size: 1.05rem;
    line-height: 1.75;
}

.home-page .home-tracking-problems .list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.home-page .home-tracking-problems .list li,
.home-page .home-tracking-problems .check li {
    position: relative;
    margin: 0;
    padding-left: 32px;
    color: #334155;
    line-height: 1.5;
}

.home-page .home-tracking-problems .list li::before,
.home-page .home-tracking-problems .check li::before {
    position: absolute;
    top: .05em;
    left: 0;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    margin: 0;
    border-radius: 50%;
    background: #eaf2ff;
    color: #2563eb;
    content: "✓";
    font-size: .72rem;
    font-weight: 900;
}

.home-page .home-tracking-problems .card {
    position: relative;
    padding: clamp(32px, 4vw, 48px);
    overflow: hidden;
    border: 1px solid #d9e5f8;
    border-radius: 26px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 65px rgba(28, 66, 126, .11);
}

.home-page .home-tracking-problems .card::after {
    position: absolute;
    top: -70px;
    right: -70px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: rgba(37, 99, 235, .055);
    content: "";
    pointer-events: none;
}

.home-page .home-tracking-problems .card:hover {
    border-color: #c7d8f4;
    box-shadow: 0 24px 65px rgba(28, 66, 126, .11);
    transform: none;
}

.home-page .home-tracking-problems .card h3 {
    margin: 12px 0 22px;
    color: #143f9f;
    font-size: clamp(1.45rem, 2.1vw, 2rem);
    line-height: 1.25;
    letter-spacing: -.025em;
}

.home-page .home-tracking-problems .check {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.home-page .home-tracking-problems .check li {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 38px;
    border-bottom: 1px solid #e8eef8;
}

.home-page .home-tracking-problems .check li::before {
    top: 15px;
}

.home-page .home-tracking-problems .check li:last-child {
    border-bottom: 0;
}

@media (max-width: 900px) {
    .home-page .home-tracking-problems .split {
        grid-template-columns: 1fr;
        gap: 38px;
    }
}

/* Compact tracking-problems section for mobile. */
@media (max-width: 620px) {
    .home-page .home-tracking-problems {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .home-page .home-tracking-problems .split {
        gap: 24px;
        align-items: stretch;
    }

    .home-page .home-tracking-problems .split > div:first-child h2 {
        margin: 0 0 12px;
        font-size: clamp(1.55rem, 6.8vw, 1.9rem);
        line-height: 1.2;
        letter-spacing: -.03em;
    }

    .home-page .home-tracking-problems .split > div:first-child > p {
        margin: 0;
        font-size: .94rem;
        line-height: 1.62;
        text-align: left;
        text-justify: auto;
        hyphens: none;
    }

    .home-page .home-tracking-problems .list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 16px;
    }

    .home-page .home-tracking-problems .list li {
        margin: 0;
        padding: 9px 0 9px 32px;
        font-size: .91rem;
        line-height: 1.45;
        text-align: left;
    }

    .home-page .home-tracking-problems .card {
        padding: 20px;
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(23, 57, 112, .07);
    }

    .home-page .home-tracking-problems .card h3 {
        margin: 0 0 8px;
        font-size: 1.12rem;
        line-height: 1.3;
    }

    .home-page .home-tracking-problems .check {
        display: grid;
        gap: 0;
    }

    .home-page .home-tracking-problems .check li {
        margin: 0;
        padding: 12px 0 12px 36px;
        border-bottom: 1px solid #e7edf7;
        font-size: .9rem;
        line-height: 1.4;
        text-align: left;
    }

    .home-page .home-tracking-problems .check li:last-child {
        border-bottom: 0;
    }

    .home-page .home-tracking-problems .check li::before {
        top: 12px;
    }
}

/* Responsive shared footer. */
.footer .footer-main {
    grid-template-columns: minmax(240px, 1.15fr) minmax(230px, 1.08fr) minmax(130px, .62fr) minmax(250px, 1fr);
    gap: clamp(28px, 3.2vw, 50px);
}

.footer-service-groups,
.footer-service-group {
    display: grid;
}

.footer-service-groups {
    gap: 20px;
}

.footer-service-group {
    gap: 9px;
}

.footer-service-group h3 {
    margin: 0 0 2px;
    color: #6ea0ff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .11em;
    line-height: 1.3;
    text-transform: uppercase;
}

.footer-service-group a {
    color: #aab8d0;
    font-size: .88rem;
    line-height: 1.4;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

.footer-service-group a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-all-services {
    display: none;
}

@media (max-width: 1024px) {
    .footer-brand > p,
    .footer-socials,
    .footer-contact p {
        display: none;
    }

    .footer-logo {
        margin-bottom: 16px;
    }

    .footer-service-group:first-child a:nth-of-type(n + 5) {
        display: none;
    }

    .footer-column > .footer-all-services {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        margin-top: 4px;
        color: #8eb3ff;
        font-size: .82rem;
        font-weight: 800;
    }

    .footer-column > .footer-all-services:hover {
        color: #fff;
    }

    .footer-contact h2 {
        margin-bottom: 18px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .footer .footer-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 26px 32px;
        padding-top: 42px;
        padding-bottom: 34px;
    }

    .footer-brand {
        grid-column: 1;
        grid-row: 1;
        align-self: start;
        width: 100%;
        max-width: none;
    }

    .footer-contact {
        grid-column: 2;
        grid-row: 1;
        display: block;
        align-self: stretch;
        padding: 22px;
    }

    .footer-contact .footer-cta {
        width: 100%;
    }

    .footer-services-directory {
        grid-column: 1 / -1;
    }

    .footer-service-groups {
        grid-template-columns: minmax(0, 3fr) minmax(150px, 1fr);
        gap: 24px;
        width: 100%;
    }

    .footer-service-group:first-child {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
    }

    .footer-service-group:first-child h3 {
        grid-column: 1 / -1;
    }

    .footer-company {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px 20px;
    }

    .footer-company h2 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer::before {
        top: -180px;
        right: -230px;
        width: 430px;
        height: 430px;
    }

    .footer .footer-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px 22px;
        padding-top: 38px;
        padding-bottom: 30px;
        text-align: left;
    }

    .footer-brand,
    .footer-contact {
        grid-column: 1;
        width: 100%;
        max-width: none;
        margin: 0;
    }

    .footer-logo {
        margin: 0 0 18px;
    }

    .footer-email {
        width: 100%;
        max-width: 100%;
        font-size: clamp(.78rem, 3.4vw, .9rem);
    }

    .footer-brand > p {
        max-width: 44ch;
        margin-bottom: 18px;
        font-size: .91rem;
        line-height: 1.65;
        text-align: left;
    }

    .footer-socials {
        margin-top: 18px;
    }

    .footer-column {
        align-items: flex-start;
        gap: 10px;
    }

    .footer-column h2 {
        margin-bottom: 7px;
    }

    .footer-column > a:not(.footer-cta) {
        font-size: .88rem;
    }

    .footer-services-directory {
        grid-column: 1;
    }

    .footer-service-groups {
        grid-template-columns: minmax(0, 1.5fr) minmax(120px, .5fr);
        gap: 22px;
    }

    .footer-company {
        grid-column: 1;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px 16px;
    }

    .footer-company h2 {
        grid-column: 1 / -1;
    }

    .footer-contact {
        display: block;
        padding: 20px;
        border-radius: 16px;
    }

    .footer-contact h2 {
        margin-bottom: 16px;
        font-size: 1.2rem;
    }

    .footer-contact p {
        margin-bottom: 18px;
        text-align: left;
    }

    .footer-contact .footer-cta {
        width: 100%;
    }

    .footer .footer-bottom {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
        padding-top: 18px;
        padding-bottom: 20px;
        text-align: left;
    }

    .footer-bottom p:first-child {
        align-self: center;
    }

    .footer-bottom p:nth-child(2) {
        display: none;
    }

    .footer-to-top {
        grid-column: 2;
        grid-row: 1;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 560px) {
    .footer-service-groups {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .footer-service-group:first-child {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-service-group:first-child h3 {
        grid-column: auto;
    }
}

@media (max-width: 380px) {
    .footer .footer-main {
        gap: 28px 18px;
    }

    .footer-column > a:not(.footer-cta) {
        font-size: .82rem;
    }

    .footer-service-groups {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-company {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-contact {
        padding: 18px;
    }
}

/* Center footer content consistently on tablet and mobile screens. */
@media (max-width: 1024px) {
    .footer .footer-main {
        text-align: center;
    }

    .footer-brand {
        justify-items: center;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .footer-logo {
        margin-right: auto;
        margin-left: auto;
    }

    .footer-email {
        justify-content: center;
        text-align: center;
    }

    .footer-column,
    .footer-service-group {
        align-items: center;
        justify-items: center;
        text-align: center;
    }

    .footer-services-directory,
    .footer-company {
        justify-items: center;
    }

    .footer-service-groups {
        justify-items: stretch;
        text-align: center;
    }

    .footer-contact {
        text-align: center;
    }

    .footer-contact .footer-cta {
        margin-right: auto;
        margin-left: auto;
    }

    .footer .footer-bottom {
        text-align: center;
    }
}

/* Contact page: responsive and adaptive layout. */
.contact-page .page-hero {
    display: grid;
    min-height: 360px;
    padding: 92px 0 86px;
    align-items: center;
}

.contact-page .page-hero .container {
    width: min(calc(100% - 40px), 820px);
}

.contact-page .page-hero h1 {
    margin: 0;
    font-size: clamp(2.7rem, 5.4vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -.045em;
}

.contact-page .page-hero p {
    max-width: 650px;
    margin: 18px auto 0;
    color: #c5d5ee;
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.7;
}

.contact-page .contact-section {
    padding: 82px 0 88px;
    background: linear-gradient(180deg, #fff 0%, #f7faff 100%);
}

.contact-page .contact-layout {
    grid-template-columns: minmax(0, .82fr) minmax(480px, 1.18fr);
    gap: clamp(42px, 6vw, 76px);
    align-items: center;
}

.contact-page .contact-info {
    display: flex;
    flex-direction: column;
    position: static;
}

.contact-page .contact-info h2 {
    margin: 0 0 14px;
    color: #102a5e;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -.04em;
}

.contact-page .contact-info > p {
    margin: 0;
    color: #5f6f89;
    font-size: 1rem;
    line-height: 1.75;
}

.contact-page .contact-details {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

.contact-page .detail-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 17px;
    border: 1px solid #dce6f5;
    border-left: 3px solid #2563eb;
    border-radius: 14px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 8px 24px rgba(23, 57, 112, .045);
}

.contact-page .detail-item:hover {
    border-color: #bfd2f2;
    border-left-color: #2563eb;
    background: #fff;
    transform: none;
}

.contact-page .detail-icon {
    display: grid;
    width: 42px;
    height: 42px;
    min-width: 0;
    place-items: center;
    border-radius: 12px;
    background: #eaf1ff;
    color: #1757df;
    font-size: 0;
}

.contact-page .detail-icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.contact-page .detail-item strong {
    margin-bottom: 3px;
    color: #173773;
    font-size: .86rem;
}

.contact-page .detail-item p {
    color: #66758d;
    font-size: .86rem;
    line-height: 1.5;
}

.contact-page .contact-next-steps {
    margin-top: auto;
    padding: 20px;
    border: 1px solid #dce7f6;
    border-radius: 16px;
    background: rgba(255, 255, 255, .72);
}

.contact-page .contact-next-steps > span {
    display: block;
    margin-bottom: 13px;
    color: #557099;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.contact-page .contact-next-steps ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-page .contact-next-steps li {
    color: #40516d;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1.35;
}

.contact-page .contact-next-steps strong {
    display: block;
    margin-bottom: 4px;
    color: #2563eb;
    font-size: .68rem;
    letter-spacing: .06em;
}

.contact-page .contact-form-card {
    padding: clamp(28px, 4vw, 42px);
    border: 1px solid #d9e5f6;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 55px rgba(19, 54, 111, .1);
}

.contact-page .contact-form-card:hover {
    border-color: #d9e5f6;
    box-shadow: 0 22px 55px rgba(19, 54, 111, .1);
    transform: none;
}

.contact-page .contact-form-card h3 {
    margin: 0 0 26px;
    color: #102a5e;
    font-size: clamp(1.45rem, 2.4vw, 1.8rem);
    line-height: 1.2;
    text-align: left;
}

.contact-page .contact-request-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px 16px;
}

.contact-page .contact-request-form .form-group-wide,
.contact-page .contact-request-form > button,
.contact-page .contact-request-form > .contact-fallback {
    grid-column: 1 / -1;
}

.contact-page .contact-request-form input,
.contact-page .contact-request-form select,
.contact-page .contact-request-form textarea {
    min-height: 50px;
    padding: 13px 14px;
    border: 1px solid #cbd8eb;
    border-radius: 10px;
    font-size: 16px;
}

.contact-page .contact-request-form textarea {
    min-height: 132px;
}

.contact-page .contact-request-form .btn {
    min-height: 50px;
    margin-top: 2px;
}

.contact-page .contact-fallback {
    text-align: center;
}

@media (max-width: 1024px) {
    .contact-page .contact-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
        align-items: stretch;
    }

    .contact-page .contact-info {
        position: static;
    }

    .contact-page .contact-next-steps {
        margin-top: 24px;
    }

    .contact-page .contact-info > p {
        max-width: 680px;
    }

    .contact-page .contact-details {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-top: 24px;
    }

    .contact-page .detail-item {
        grid-template-columns: minmax(0, 1fr);
        align-content: start;
    }
}

@media (max-width: 768px) {
    .contact-page .top .nav {
        grid-template-columns: minmax(0, 1fr) auto auto;
        column-gap: 8px;
    }

    .contact-page .top .nav > .home-nav-cta,
    .contact-page .top .nav.is-open > .home-nav-cta {
        display: inline-flex;
        grid-column: 2;
        grid-row: 1;
        align-items: center;
        justify-content: center;
        justify-self: end;
        width: auto;
        min-height: 38px;
        margin: 0;
        padding: 9px 13px;
        border-radius: 10px;
        color: #fff;
        font-size: .72rem;
        font-weight: 800;
        line-height: 1;
        white-space: nowrap;
    }

    .contact-page .top .nav > .nav-toggle {
        grid-column: 3;
        grid-row: 1;
    }

    .contact-page .top .nav > .menu {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .contact-page .page-hero {
        min-height: 0;
        padding: 52px 0 54px;
    }

    .contact-page .page-hero .container,
    .contact-page .contact-section > .container {
        width: min(calc(100% - 40px), 680px);
    }

    .contact-page .page-hero h1 {
        font-size: clamp(2.1rem, 8.8vw, 3.1rem);
        line-height: 1.08;
    }

    .contact-page .page-hero p {
        max-width: 34ch;
        margin-top: 14px;
        font-size: .96rem;
        line-height: 1.65;
    }

    .contact-page .contact-section {
        padding: 52px 0 58px;
    }

    .contact-page .contact-info h2 {
        font-size: clamp(1.75rem, 7vw, 2.25rem);
    }
}

@media (max-width: 620px) {
    .contact-page .contact-details {
        grid-template-columns: minmax(0, 1fr);
        gap: 11px;
    }

    .contact-page .detail-item {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 15px;
    }

    .contact-page .contact-form-card {
        padding: 22px 18px;
        border-radius: 17px;
    }

    .contact-page .contact-request-form {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
    }

    .contact-page .contact-request-form .form-group,
    .contact-page .contact-request-form > button,
    .contact-page .contact-request-form > .contact-fallback {
        grid-column: 1;
    }

    .contact-page .contact-fallback {
        font-size: .78rem;
        text-align: left;
    }

    .contact-page .contact-next-steps {
        display: none;
    }
}

@media (max-width: 360px) {
    .contact-page .page-hero .container,
    .contact-page .contact-section > .container {
        width: min(calc(100% - 32px), 680px);
    }

    .contact-page .top .nav {
        column-gap: 6px;
    }

    .contact-page .top .nav > .home-nav-cta,
    .contact-page .top .nav.is-open > .home-nav-cta {
        min-height: 36px;
        padding: 8px 10px;
        font-size: .67rem;
    }

}

/* Final contact visual guard; keep after the responsive contact foundation. */
.contact-page .top .logo-img {
    filter: none;
    opacity: 1;
}

.contact-page .contact-info {
    padding: 4px 0;
}

.contact-page .contact-kicker {
    display: inline-flex;
    align-self: flex-start;
    margin-bottom: 13px;
    padding: 6px 10px;
    border: 1px solid #d8e5fa;
    border-radius: 999px;
    background: #f1f6ff;
    color: #2563eb;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .1em;
    line-height: 1;
    text-transform: uppercase;
}

.contact-page .contact-info h2 {
    color: #102a5e;
}

.contact-page .contact-details {
    gap: 13px;
    margin-top: 32px;
}

.contact-page .detail-item {
    --detail-accent: #2563eb;
    --detail-soft: #eaf1ff;
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 92px;
    padding: 18px;
    border-left-color: var(--detail-accent);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 28px rgba(23, 57, 112, .055);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.contact-page .detail-item:hover {
    border-color: #c9d9f1;
    border-left-color: var(--detail-accent);
    box-shadow: 0 15px 34px rgba(23, 57, 112, .095);
    transform: translateY(-2px);
}

.contact-page .detail-email { --detail-accent: #2563eb; --detail-soft: #eaf1ff; }
.contact-page .detail-services { --detail-accent: #7c3aed; --detail-soft: #f2eaff; }
.contact-page .detail-response { --detail-accent: #059669; --detail-soft: #e7f8f1; }

.contact-page .detail-icon {
    width: 48px;
    height: 48px;
    border: 1px solid color-mix(in srgb, var(--detail-accent) 16%, #fff);
    border-radius: 14px;
    background: var(--detail-soft);
    color: var(--detail-accent);
}

.contact-page .detail-icon svg {
    width: 23px;
    height: 23px;
    stroke-width: 1.9;
}

.contact-page .detail-item strong {
    display: block;
    margin-bottom: 4px;
    color: #173773;
    font-size: .9rem;
}

.contact-page .detail-item p {
    color: #62718a;
    font-size: .9rem;
}

.contact-page .detail-item > div {
    min-width: 0;
}

.contact-page .detail-email a {
    color: #1d5bd7;
    font-weight: 750;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-decoration-color: rgba(29, 91, 215, .3);
    text-underline-offset: 3px;
}

.contact-page .contact-next-steps {
    display: block;
    margin-top: 18px;
    padding: 23px;
    border-color: #d9e5f5;
    background: linear-gradient(145deg, #fff 0%, #f5f8fd 100%);
    box-shadow: 0 10px 28px rgba(23, 57, 112, .045);
}

.contact-page .contact-next-steps > span {
    margin-bottom: 18px;
    color: #49658f;
}

.contact-page .contact-next-steps ol {
    position: relative;
    gap: 18px;
}

.contact-page .contact-next-steps ol::before {
    content: "";
    position: absolute;
    top: 12px;
    right: 13%;
    left: 13%;
    height: 1px;
    background: linear-gradient(90deg, #93b4f2, #b8a2f2, #83d6bb);
}

.contact-page .contact-next-steps li {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.contact-page .contact-next-steps li strong {
    position: relative;
    z-index: 1;
    display: grid;
    width: 27px;
    height: 27px;
    margin: 0 0 10px;
    place-items: center;
    border: 4px solid #f8faff;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: .58rem;
}

.contact-page .contact-next-steps li:nth-child(2) strong { background: #7c3aed; }
.contact-page .contact-next-steps li:nth-child(3) strong { background: #059669; }

.contact-page .contact-next-steps li > span {
    color: #243b63;
    font-size: .79rem;
    font-weight: 800;
    line-height: 1.35;
}

.contact-page .contact-next-steps li small {
    margin-top: 5px;
    color: #718099;
    font-size: .68rem;
    line-height: 1.45;
}

.contact-page .contact-form-card {
    border-top: 4px solid #2563eb;
    background:
        radial-gradient(circle at 100% 0, rgba(37, 99, 235, .055), transparent 28%),
        #fff;
}

.contact-page .contact-label {
    display: flex;
    min-width: 0;
    gap: 10px;
    align-items: center;
    justify-content: flex-start;
}

.contact-page .contact-label > span {
    min-width: 0;
}

.contact-page .contact-label b {
    color: #2563eb;
}

.contact-page .contact-label small {
    margin-left: auto;
    overflow: hidden;
    color: #8795aa;
    font-size: .64rem;
    font-weight: 600;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contact-page .contact-form-card {
    display: flex;
    flex-direction: column;
}

.contact-page .contact-request-form {
    flex: 1;
    grid-template-rows: auto auto auto auto minmax(260px, 1fr) auto auto;
}

.contact-page .contact-request-form .form-group-wide {
    display: flex;
    min-height: 260px;
    flex-direction: column;
}

.contact-page .contact-request-form .form-group-wide textarea {
    min-height: 240px;
    flex: 1;
    resize: vertical;
}

.contact-page .contact-request-form input,
.contact-page .contact-request-form select,
.contact-page .contact-request-form textarea {
    background: #fbfdff;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.contact-page .contact-request-form input:hover,
.contact-page .contact-request-form select:hover,
.contact-page .contact-request-form textarea:hover {
    border-color: #afc4e5;
    background: #fff;
}

.contact-page .contact-request-form input:focus,
.contact-page .contact-request-form select:focus,
.contact-page .contact-request-form textarea:focus {
    border-color: #2563eb;
    outline: 0;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, .1);
}

.contact-page .contact-request-form input::placeholder,
.contact-page .contact-request-form textarea::placeholder {
    color: #94a3b8;
    opacity: 1;
}

@media (max-width: 768px) {
    .contact-page .contact-info {
        padding: 0;
    }

    .contact-page .detail-item:hover {
        transform: none;
    }
}

@media (max-width: 620px) {
    .contact-page .detail-item {
        grid-template-columns: 46px minmax(0, 1fr);
        min-height: 0;
        padding: 16px;
    }

    .contact-page .detail-icon {
        width: 46px;
        height: 46px;
    }

    .contact-page .contact-label small {
        display: none;
    }

    .contact-page .contact-request-form {
        grid-template-rows: none;
    }

    .contact-page .contact-request-form .form-group-wide {
        min-height: 0;
    }

    .contact-page .contact-request-form .form-group-wide textarea {
        min-height: 190px;
    }

    .contact-page .contact-next-steps {
        padding: 20px 18px;
    }

    .contact-page .contact-next-steps ol {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .contact-page .contact-next-steps ol::before {
        top: 14px;
        right: auto;
        bottom: 14px;
        left: 13px;
        width: 1px;
        height: auto;
        background: linear-gradient(180deg, #93b4f2, #b8a2f2, #83d6bb);
    }

    .contact-page .contact-next-steps li {
        display: grid;
        grid-template-columns: 30px minmax(0, 1fr);
        column-gap: 12px;
    }

    .contact-page .contact-next-steps li strong {
        grid-column: 1;
        grid-row: 1 / span 2;
        margin: 0;
    }

    .contact-page .contact-next-steps li > span,
    .contact-page .contact-next-steps li small {
        grid-column: 2;
    }
}

/* Keep contact detail cards comfortably readable while the page is stacked. */
@media (min-width: 621px) and (max-width: 850px) {
    .contact-page .contact-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-page .contact-details .detail-item:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 7px);
        justify-self: center;
    }
}

/* Compact brand mark for phone-sized hamburger navigation. */
@media (max-width: 768px) {
    .top .nav .logo {
        flex: 0 0 164px;
        width: 164px;
        height: 44px;
        overflow: hidden;
        border-radius: 0;
        background: url('/images/brand/logo-compact.png?v=20260826-route-lockup') left center / 164px auto no-repeat;
    }

    .top .nav .logo::after {
        content: none;
    }

    .top .nav .logo-img {
        opacity: 0 !important;
        pointer-events: none;
    }
}

@media (max-width: 380px) {
    .top .nav .logo {
        flex-basis: 150px;
        width: 150px;
        height: 40px;
        background-size: auto 40px;
    }
}

/* Balanced tablet and compact-desktop header/hero treatment. */
@media (min-width: 769px) and (max-width: 1200px) {
    .top .nav {
        grid-template-columns: minmax(0, 1fr) auto auto;
        column-gap: 12px;
    }

    .top .nav > .home-nav-cta,
    .top .nav.is-open > .home-nav-cta {
        display: inline-flex;
        grid-column: 2;
        grid-row: 1;
        align-items: center;
        justify-content: center;
        width: auto;
        min-height: 42px;
        margin: 0;
        padding: 10px 16px;
        border-radius: 11px;
        color: #fff;
        font-size: .78rem;
        font-weight: 800;
        white-space: nowrap;
    }

    .top .nav > .nav-toggle {
        grid-column: 3;
        grid-row: 1;
    }

    .top .nav > .menu {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .home-page .hero {
        min-height: 0;
        padding: 68px 0 66px;
    }

    .home-page .hero-grid {
        gap: clamp(30px, 4vw, 44px);
    }

    .home-page .home-hero-copy h1 {
        font-size: clamp(2.8rem, 5vw, 3.65rem);
    }
}

@media (max-width: 600px) {
    .top .nav .logo {
        flex-basis: 150px;
        width: 150px;
        height: 42px;
        background-size: auto 42px;
    }
}

@media (max-width: 360px) {
    .top .nav .logo {
        flex-basis: 126px;
        width: 126px;
        height: 40px;
        background-size: 126px auto;
    }
}

/* Final simple treatment for the combined conversion card. */
.conversion-page .conversion-document-block > h2:not(:first-child) {
    margin-top: 38px;
    padding-top: 32px;
    border-top: 1px solid #dce6fa;
}

/* Keep this document block in the standard GA4 information-box flow. */
.conversion-page #ga4-overview > .container > .conversion-document-block {
    display: block;
    padding: 36px;
    counter-reset: none;
}

.conversion-page #ga4-overview > .container > .conversion-document-block > h2,
.conversion-page #ga4-overview > .container > .conversion-document-block > p {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    grid-column: auto;
}

.conversion-page #ga4-overview > .container > .conversion-document-block > h2 {
    margin-bottom: 0;
    padding-bottom: 0;
    color: #0f2f62;
    font-size: clamp(1.55rem, 2.5vw, 2rem);
    letter-spacing: -.025em;
}

.conversion-page #ga4-overview > .container > .conversion-document-block > h2::after,
.conversion-page #ga4-overview > .container > .conversion-document-block > p::before {
    content: none;
}

.conversion-page #ga4-overview > .container > .conversion-document-block > p,
.conversion-page #ga4-overview > .container > .conversion-document-block > p:first-of-type,
.conversion-page #ga4-overview > .container > .conversion-document-block > p:last-of-type,
.conversion-page #ga4-overview > .container > .conversion-document-block > p:nth-of-type(n) {
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #334155;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    text-align: left;
}

.conversion-page #ga4-overview > .container > .conversion-document-block > p strong {
    display: inline;
    margin: 0;
    color: #174ea6;
    font-size: inherit;
}

@media (max-width: 600px) {
    .conversion-page #ga4-overview > .container > .conversion-document-block {
        padding: 24px 20px;
    }
}

.conversion-page .conversion-insight-card {
    grid-template-columns: 1fr;
    overflow: visible;
    border: 1px solid #e1e7f0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .07);
}

.conversion-page .conversion-insight-intro,
.conversion-page .conversion-insight-benefits {
    display: block;
    padding: clamp(28px, 4vw, 44px);
    color: #17233c;
    background: transparent;
}

.conversion-page .conversion-insight-intro {
    border-right: 0;
    border-bottom: 1px solid #e1e7f0;
}

.conversion-page .conversion-insight-card h2,
.conversion-page .conversion-insight-intro h2,
.conversion-page .conversion-insight-intro p {
    color: #172554;
}

.conversion-page .conversion-insight-card p,
.conversion-page .conversion-insight-intro p {
    color: #526177;
}

.conversion-page .conversion-benefit-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 18px;
}

.conversion-page .conversion-benefit-list li,
.conversion-page .conversion-benefit-list li:last-child {
    position: relative;
    display: block;
    grid-column: auto;
    padding: 13px 0 13px 30px;
    border: 0;
    border-top: 1px solid #e7ebf2;
    border-radius: 0;
    background: transparent;
}

.conversion-page .conversion-benefit-list li::before {
    content: "✓";
    position: absolute;
    top: 14px;
    left: 0;
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #2563c8;
    font-size: .7rem;
    font-weight: 900;
}

.conversion-page .conversion-benefit-list h3 {
    margin: 0 0 3px;
}

@media (max-width: 900px) {
    .conversion-page .conversion-insight-card {
        grid-template-columns: 1fr;
    }
}

/* Conversion hero follows the compact About-page hero system. */
body.conversion-page .page-hero {
    padding-block: clamp(58px, 7vw, 84px);
}

body.conversion-page .page-hero .container {
    width: min(calc(100% - 48px), 1120px);
    max-width: 1120px;
}

body.conversion-page .page-hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -.035em;
}

body.conversion-page .page-hero p {
    max-width: 620px;
    margin-top: 18px;
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    line-height: 1.65;
}

body.conversion-page .service-hero-label {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    color: #f8fafc;
    background: rgba(255, 255, 255, .09);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

@media (max-width: 760px) {
    body.conversion-page .page-hero .container {
        width: min(calc(100% - 36px), 680px);
    }

    body.conversion-page .page-hero {
        padding-block: 54px;
    }
}
/* Temporary holding page shared by every case-study URL. */
.case-studies-coming-soon-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.case-studies-coming-soon {
    flex: 1;
    display: grid;
    place-items: center;
    min-height: 620px;
    padding: 110px 0;
    text-align: center;
    background:
        radial-gradient(circle at 50% 30%, rgba(126, 87, 255, 0.16), transparent 34%),
        linear-gradient(180deg, #f8f7ff 0%, #fff 100%);
}

.case-studies-coming-soon-inner {
    max-width: 760px;
}

.case-studies-coming-soon-label {
    display: inline-block;
    margin-bottom: 18px;
    color: #6745dc;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.case-studies-coming-soon h1 {
    margin: 0;
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 0.98;
    letter-spacing: -0.06em;
}

.case-studies-coming-soon h1 span {
    color: #ff6b35;
}

.case-studies-coming-soon p {
    max-width: 630px;
    margin: 28px auto 34px;
    color: #5f6470;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.75;
}

.case-studies-coming-soon-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.case-studies-coming-soon-home {
    color: #252735;
    font-weight: 700;
    text-decoration: none;
}

.case-studies-coming-soon-home:hover {
    color: #6745dc;
}

@media (max-width: 640px) {
    .case-studies-coming-soon {
        min-height: 520px;
        padding: 80px 0;
    }
}

/* Restrained corner system for the public website. */
body:not(.blog-admin-page) :is(
    .card,
    [class$="-card"],
    [class*="-card "],
    [class$="-panel"],
    [class*="-panel "],
    [class$="-box"],
    [class*="-box "]
) {
    border-radius: 12px;
}

body:not(.blog-admin-page) :is(
    .btn,
    .cta,
    .footer-contact,
    .footer-cta,
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea,
    button:not(.nav-toggle):not(.submenu-toggle):not(.nested-toggle):not(.footer-to-top)
) {
    border-radius: 8px;
}

body:not(.blog-admin-page) :is(
    .dropdown-content,
    .nested-content,
    .services-mega-menu,
    .case-study-project,
    .case-study-project-visual,
    .case-studies-coming-soon-actions .btn
) {
    border-radius: 10px;
}

@media (max-width: 620px) {
    body:not(.blog-admin-page) :is(
        .card,
        [class$="-card"],
        [class*="-card "],
        [class$="-panel"],
        [class*="-panel "]
    ) {
        border-radius: 10px;
    }
}

/* Match the audit CTA and hamburger controls on compact headers. */
@media (max-width: 1200px) {
    body:not(.blog-admin-page) .top .nav > .home-nav-cta,
    body:not(.blog-admin-page) .top .nav.is-open > .home-nav-cta,
    body:not(.blog-admin-page) .top .nav > .nav-toggle {
        box-sizing: border-box;
        height: 44px;
        min-height: 44px;
        border-radius: 8px;
    }

    body:not(.blog-admin-page) .top .nav > .home-nav-cta,
    body:not(.blog-admin-page) .top .nav.is-open > .home-nav-cta {
        padding-top: 0;
        padding-bottom: 0;
    }

    body:not(.blog-admin-page) .top .nav > .nav-toggle {
        width: 44px;
        padding: 8px 10px;
    }
}

/* Modern compact footer for tablet and mobile. */
@media (max-width: 1024px) {
    .footer .footer-main {
        grid-template-columns: minmax(0, 1fr);
        width: min(calc(100% - 40px), 760px);
        gap: 22px;
        padding-top: 44px;
        padding-bottom: 34px;
    }

    .footer-brand,
    .footer-services-directory,
    .footer-company,
    .footer-contact {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        max-width: none;
    }

    .footer-brand {
        padding-bottom: 24px;
        border-bottom: 1px solid rgba(148, 163, 184, .18);
    }

    .footer-logo {
        height: 58px;
        margin-bottom: 16px;
    }

    .footer-logo-img {
        width: 54px;
        height: 54px;
        border-radius: 12px;
    }

    .footer-email {
        width: auto;
        font-size: .88rem;
        font-weight: 700;
    }

    .footer-services-directory,
    .footer-company {
        padding: 18px 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .footer-column h2 {
        margin: 0 0 16px;
        font-size: .72rem;
    }

    .footer-service-groups {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        width: 100%;
    }

    .footer-service-group,
    .footer-service-group:first-child {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
    }

    .footer-service-group:first-child h3 {
        grid-column: auto;
    }

    .footer-service-group h3 {
        margin-bottom: 4px;
    }

    .footer-service-group a {
        font-size: .84rem;
    }

    .footer-column > .footer-all-services {
        margin-top: 18px;
        padding-top: 14px;
        border-top: 1px solid rgba(148, 163, 184, .15);
    }

    .footer-company {
        grid-template-columns: minmax(0, 1fr);
        gap: 11px;
    }

    .footer-company h2 {
        grid-column: 1 / -1;
    }

    .footer-company > a:not(.footer-cta) {
        justify-self: center;
        font-size: .84rem;
    }

    .footer-contact {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        justify-items: center;
        padding: 24px;
    }

    .footer-contact .footer-eyebrow,
    .footer-contact h2,
    .footer-contact p,
    .footer-contact .footer-cta {
        grid-column: 1;
        grid-row: auto;
    }

    .footer-contact h2 {
        margin-bottom: 16px;
    }

    .footer-contact .footer-cta {
        width: auto;
        min-width: 220px;
    }

    .footer .footer-bottom {
        width: min(calc(100% - 40px), 760px);
    }
}

@media (max-width: 600px) {
    .footer .footer-main {
        width: min(calc(100% - 32px), 760px);
        gap: 16px;
        padding-top: 34px;
        padding-bottom: 26px;
    }

    .footer-logo-copy strong {
        font-size: .76rem;
    }

    .footer-logo-copy small {
        font-size: .45rem;
        letter-spacing: .12em;
    }

    .footer-services-directory,
    .footer-contact {
        padding: 18px;
    }

    .footer-company {
        padding: 18px 0;
    }

    .footer-service-groups {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .footer-contact .footer-cta {
        width: 100%;
        min-width: 0;
    }

    .footer .footer-bottom {
        width: min(calc(100% - 32px), 760px);
    }
}

/* Keep the homepage closing CTA centered only on tablet and mobile. */
@media (max-width: 1024px) {
    .home-final-cta-section .cta {
        display: grid;
        width: min(100%, 820px);
        margin-right: auto;
        margin-left: auto;
        justify-items: center;
    }

    .home-final-cta-section .cta h2,
    .home-final-cta-section .cta p {
        max-width: 620px;
        text-align: center;
    }

    .home-final-cta-section .cta .btn {
        width: auto;
        min-width: 220px;
    }
}

@media (max-width: 620px) {
    .home-final-cta-section .cta {
        width: calc(100% - 8px);
        padding: 28px 20px;
    }

    .home-final-cta-section .cta .btn {
        width: min(100%, 290px);
        min-width: 0;
    }
}

/* Fit the wide redesigned lockup inside compact headers. */
@media (max-width: 768px) {
    body:not(.blog-admin-page) .top .nav .logo {
        flex-basis: 164px;
        width: 164px;
        height: 44px;
        background-size: 164px auto;
    }
}

@media (max-width: 380px) {
    body:not(.blog-admin-page) .top .nav .logo {
        flex-basis: 155px;
        width: 155px;
        height: 44px;
        background-size: 155px auto;
    }
}

/* Final spacing and alignment for the About-page Expertise section. */
.about-page .about-team-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.about-page .about-team-section .about-section-heading {
    margin-bottom: 30px;
}

.about-page .about-team-section .about-section-heading p {
    margin-bottom: 0;
}

.about-page .about-team-section .about-team-grid {
    align-items: start;
    gap: clamp(24px, 3vw, 38px);
}

.about-page .about-team-section .about-team-intro {
    padding: clamp(28px, 3vw, 36px);
}

.about-page .about-team-section .about-values-card {
    align-self: start;
    padding: 32px 30px;
}

.about-page .about-team-section .about-values-card h3 {
    color: #fff;
}

.about-page .about-team-section .about-values-card p {
    color: #dbeafe;
}

@media (max-width: 760px) {
    .about-page .about-team-section {
        padding-top: 46px;
        padding-bottom: 46px;
    }

    .about-page .about-team-section .about-section-heading {
        margin-bottom: 24px;
    }

    .about-page .about-team-section .about-team-grid {
        gap: 18px;
    }
}

/* Justified About-page body copy on tablet and mobile. */
@media (max-width: 1024px) {
    .about-page main .section p,
    .about-page main .section li {
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
    }

    .about-page main .about-section-heading p,
    .about-page main .cta p {
        text-align: center;
        hyphens: none;
    }
}

/* Editorial stacked design for the About-page Expertise content. */
.about-page .about-team-section .about-team-grid {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 980px);
    margin-right: auto;
    margin-left: auto;
    gap: 20px;
}

.about-page .about-team-section .about-team-intro,
.about-page .about-team-section .about-values-card {
    width: 100%;
}

.about-page .about-team-section .about-team-intro {
    padding: clamp(30px, 4vw, 44px);
}

.about-page .about-team-section .about-team-intro > p {
    max-width: 880px;
}

.about-page .about-team-section .about-team-intro .list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 28px;
    margin-top: 28px;
}

.about-page .about-team-section .about-team-intro .list li {
    display: flex;
    min-height: 54px;
    margin: 0;
    align-items: center;
    border-bottom: 1px solid #e3eaf4;
}

.about-page .about-team-section .about-values-card {
    display: grid;
    grid-template-columns: minmax(230px, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 34px;
    padding: 30px 36px;
    border-left: 4px solid #2563eb;
}

.about-page .about-team-section .about-values-card::before,
.about-page .about-team-section .about-values-card::after {
    display: none;
}

.about-page .about-team-section .about-values-card h3 {
    margin: 0;
}

.about-page .about-team-section .about-values-card p {
    margin: 0;
}

@media (max-width: 760px) {
    .about-page .about-team-section .about-team-intro .list,
    .about-page .about-team-section .about-values-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .about-page .about-team-section .about-values-card {
        gap: 14px;
        padding: 24px 22px;
    }

    .about-page .about-team-section .about-team-intro .list {
        margin-top: 22px;
    }
}

/* Unified illuminated hero treatment for every public inner page. */
/* Keep unpublished case studies out of static navigation before JavaScript runs. */
.menu > .dropdown:has(> a[href="/case-studies/"]),
.footer a[href="/case-studies/"] {
    display: none !important;
}

body:not(.blog-admin-page) .page-hero {
    position: relative;
    display: grid;
    min-height: 330px;
    padding: clamp(68px, 7vw, 96px) 0;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid rgba(92, 148, 255, .42);
    background:
        radial-gradient(circle at 76% 18%, rgba(43, 116, 255, .48), transparent 31%),
        radial-gradient(circle at 17% 88%, rgba(14, 165, 233, .17), transparent 28%),
        linear-gradient(118deg, #02091f 0%, #061a53 55%, #0b46ba 100%);
    color: #fff;
    text-align: center;
}

body:not(.blog-admin-page) .page-hero::before {
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image:
        linear-gradient(rgba(255, 255, 255, .1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
    background-size: 58px 58px;
    content: "";
    pointer-events: none;
}

body:not(.blog-admin-page) .page-hero::after {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 42%, rgba(53, 113, 255, .12), transparent 38%),
        linear-gradient(90deg, rgba(1, 8, 30, .16), transparent 36%, transparent 68%, rgba(4, 26, 82, .12));
    content: "";
    pointer-events: none;
}

body:not(.blog-admin-page) .page-hero > .site-hero-network {
    z-index: 1;
    opacity: .72;
}

body:not(.blog-admin-page) .page-hero > .container {
    z-index: 2;
    width: min(calc(100% - 40px), 1180px);
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

body:not(.blog-admin-page) .page-hero h1 {
    max-width: 1100px;
    margin: 0 auto;
    color: #fff;
    font-size: clamp(2.75rem, 5.7vw, 4.65rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -.055em;
    text-shadow: 0 12px 36px rgba(0, 8, 38, .3);
}

body:not(.blog-admin-page) .page-hero p {
    max-width: 1120px;
    margin: 24px auto 0;
    color: #d5e3fa;
    font-size: clamp(1.08rem, 1.9vw, 1.42rem);
    line-height: 1.65;
    text-align: center;
    text-wrap: balance;
}

@media (max-width: 768px) {
    body:not(.blog-admin-page) .page-hero {
        min-height: 260px;
        padding: 58px 0;
    }

    body:not(.blog-admin-page) .page-hero > .container {
        width: min(calc(100% - 32px), 680px);
    }

    body:not(.blog-admin-page) .page-hero h1 {
        font-size: clamp(2.15rem, 10vw, 3.2rem);
        line-height: 1.08;
    }

    body:not(.blog-admin-page) .page-hero p {
        max-width: 38ch;
        margin-top: 18px;
        font-size: clamp(.98rem, 4.2vw, 1.12rem);
        line-height: 1.6;
    }
}

/* Final contact alignment guard: no orphaned half-width card on tablet. */
@media (max-width: 1024px) {
    .contact-page .contact-section {
        padding-top: 58px;
    }

    .contact-page .contact-info {
        max-width: 820px;
        margin-right: auto;
        margin-left: auto;
    }

    .contact-page .contact-details {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        margin-top: 26px;
    }

    .contact-page .contact-details .detail-item,
    .contact-page .contact-details .detail-item:last-child {
        grid-column: auto;
        width: 100%;
        min-height: 88px;
        justify-self: stretch;
    }

    .contact-page .contact-next-steps {
        margin-top: 20px;
    }
}

@media (max-width: 620px) {
    .contact-page .contact-section {
        padding-top: 44px;
    }

    .contact-page .contact-info > p {
        line-height: 1.65;
    }

    .contact-page .contact-details {
        margin-top: 22px;
    }
}
