/* ─── Container ───────────────────────────────────────────────────────────── */

.container {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* ─── Section ─────────────────────────────────────────────────────────────── */

.section {
    padding-top: var(--section-gap);
    padding-bottom: var(--section-gap);
}

.section-sm {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.section-light {
    background-color: var(--off-white);
}

.section-dark {
    background-color: var(--dark);
    color: var(--white);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark h5,
.section-dark h6 {
    color: var(--white);
}

.section-dark-2 {
    background-color: var(--dark-2);
}

.section__header {
    margin-bottom: var(--space-2xl);
}

.section__header .eyebrow {
    margin-bottom: var(--space-xl);
}

.section__title {
    margin-bottom: var(--space-md);
}

.section__subtitle {
    max-width: 640px;
    color: var(--color-black);
}

.section-dark .section__subtitle {
    color: var(--white);
}

/* ─── Grids ───────────────────────────────────────────────────────────────── */

.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: var(--space-lg);
}

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

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

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

@media (max-width: 1200px) {
    :root {
        --space-section-lg: 96px;
    }
}

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

@media (max-width: 768px) {
    :root {
        --container-padding:  20px;
        --space-section-lg:   80px;
        --space-section-sm:   40px;
    }

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

@media (max-width: 480px) {
    :root {
        --container-padding: 16px;
    }
}

/* ─── Site Header ─────────────────────────────────────────────────────────── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--white);
    height: var(--header-height);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow 0.2s;
}

.site-header.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* Make container fill header height so inner row can reference it */
.site-header .container {
    height: 100%;
}

/* 3-column grid: logo (auto) | nav fills gap, centers within it | actions (auto) */
.site-header__inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    height: 100%;
    column-gap: var(--space-xl);
}

/* Logo — fallback and WordPress Custom Logo output */
.site-logo,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    justify-self: start;
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.2s;
}

.site-logo:hover,
.custom-logo-link:hover {
    opacity: 0.85;
}

.site-logo__img,
.custom-logo-link .custom-logo {
    display: block;
    width: auto;
    height: 40px;
    max-width: 220px;
}

/* Nav — stretches across the 1fr column, centers menu content within that space */
.site-nav {
    justify-self: stretch;
    align-self: stretch;        /* fills full header height so li top:100% = header bottom */
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.site-nav__menu {
    display: flex;
    align-items: center;
    height: 100%;               /* inherit stretch height from site-nav */
    gap: var(--space-xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

/* li fills full header height — top:100% on sub-menu = header bottom edge */
.site-nav__menu > li {
    display: flex;
    align-items: center;
    align-self: stretch;
}

/* Top-level items */
.site-nav__menu > li > a {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
    line-height: 1;
    padding-bottom: 2px;
    white-space: nowrap;
}

.site-nav__menu > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--red);
    transition: width 0.2s;
}

.site-nav__menu > li > a:hover,
.site-nav__menu > .current-menu-item > a,
.site-nav__menu > .current_page_item > a,
.site-nav__menu > .current-menu-ancestor > a {
    color: var(--black);
}

/* Active/current page indicator only — no underline on plain hover */
.site-nav__menu > .current-menu-item > a::after,
.site-nav__menu > .current_page_item > a::after,
.site-nav__menu > .current-menu-ancestor > a::after {
    width: 100%;
}

/* Dropdown */
.site-nav__menu li.menu-item-has-children {
    position: relative;
}

.site-nav__menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    width: max-content;
    max-width: 420px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-top: 2px solid var(--red);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    padding: 4px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(4px);
    pointer-events: none;
    /* visibility delay only on close: menu snaps visible immediately on open */
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0.2s;
    z-index: 1000;
}

.site-nav__menu li.menu-item-has-children:hover > .sub-menu,
.site-nav__menu li.menu-item-has-children:focus-within > .sub-menu,
.site-nav__menu li.menu-item-has-children.is-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}

/* Chevron rotates on hover, keyboard focus, and click-toggled open state */
.site-nav__menu > li.menu-item-has-children:hover > a .nav-chevron,
.site-nav__menu > li.menu-item-has-children:focus-within > a .nav-chevron,
.site-nav__menu > li.menu-item-has-children.is-open > a .nav-chevron {
    transform: rotate(180deg);
}

.site-nav__menu .sub-menu a {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 0;
    text-transform: none;
    color: var(--black);
    text-decoration: none;
    display: block;
    padding: 10px 22px;
    white-space: normal;
    line-height: 1.4;
    transition: color 0.2s;
    border-bottom: 1px solid var(--gray-100);
}

.site-nav__menu .sub-menu li:last-child > a {
    border-bottom: none;
}

.site-nav__menu .sub-menu a:hover {
    color: var(--red);
}

.site-nav__menu .sub-menu a::after {
    display: none;
}

/* Section label — added from Dashboard with CSS class: menu-section-label */
.menu-section-label {
    list-style: none;
}

.sub-menu__section {
    display: block;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-black);
    padding: 12px 22px 8px;
    border-bottom: 1px solid var(--gray-200);
    cursor: default;
    pointer-events: none;
    user-select: none;
}

/* Header right-side actions */
.site-header__actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    color: var(--color-black);
    cursor: pointer;
    transition: color 0.2s;
    padding: 0;
    flex-shrink: 0;
}

.header-search-btn:hover {
    color: var(--black);
}

/* Outline button variant — white header context */
.btn-outline {
    background-color: transparent;
    color: var(--black);
    border-color: var(--gray-200);
}

.btn-outline:hover {
    border-color: var(--black);
    color: var(--black);
    transform: translateY(-1px);
}

/* Language switcher */
/* ── Language Switcher Dropdown ───────────────────────────────────────────── */

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

.lang-switcher__trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--dark);
    transition: color 0.15s, background 0.15s;
    line-height: 1;
}

.lang-switcher__trigger:hover {
    color: var(--red);
    background: rgba(0,0,0,0.04);
}

.lang-switcher__globe {
    color: currentColor;
    flex-shrink: 0;
}

.lang-switcher__chevron {
    color: currentColor;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.lang-switcher.is-open .lang-switcher__chevron {
    transform: rotate(180deg);
}

.lang-switcher__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    min-width: 180px;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 1000;
}

.lang-switcher.is-open .lang-switcher__dropdown {
    display: block;
}

.lang-switcher__item {
    margin: 0;
    padding: 0;
}

.lang-switcher__option {
    display: flex;
    align-items: center;
    gap: 0;
    padding: 9px 16px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.12s;
    width: 100%;
    box-sizing: border-box;
}

a.lang-switcher__option:hover {
    background: var(--off-white);
}

.lang-switcher__native {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    flex: 1;
}

.lang-switcher__code {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-black);
    margin-left: 8px;
}

.lang-switcher__check {
    color: var(--red);
    margin-left: 8px;
    flex-shrink: 0;
}

.lang-switcher__item--active .lang-switcher__native {
    color: var(--red);
    font-weight: 600;
}

.lang-switcher__item--active .lang-switcher__code {
    color: var(--red);
    opacity: 0.7;
}

.lang-switcher__item--soon .lang-switcher__option {
    cursor: default;
    opacity: 0.45;
}

.lang-switcher__soon {
    font-family: var(--font-display);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--gray-400);
    border-radius: var(--radius);
    padding: 2px 5px;
    margin-left: 8px;
    flex-shrink: 0;
}

/* Mobile language switcher — hidden on desktop, shown inside the mobile nav overlay */
.mobile-lang-switcher {
    display: none;
}

/* Vertical divider between action groups */
.header-divider {
    display: block;
    width: 1px;
    height: 20px;
    background-color: var(--gray-200);
    flex-shrink: 0;
}

/* Dropdown chevron */
.nav-chevron {
    display: inline-block;
    margin-left: 4px;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.site-nav__menu > li.menu-item-has-children:hover > a .nav-chevron {
    transform: rotate(180deg);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
}

.nav-toggle__bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--black);
    transition: transform 0.2s, opacity 0.2s;
}

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

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

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

@media (max-width: 1024px) {
    .nav-toggle {
        display: flex;
    }

    /* Revert to flex — site-nav goes position:fixed and leaves grid flow */
    .site-header__inner {
        display: flex;
        justify-content: space-between;
        align-items: center;        /* vertically center logo, search, toggle */
        column-gap: 0;
        gap: var(--space-md);
        height: auto;
        min-height: var(--header-height);
    }

    /* Never let the logo exceed the row height on mobile (caps both the light
       SVG and the dark PNG / WP custom logo); keeps it vertically centered. */
    .site-logo__img,
    .custom-logo-link .custom-logo {
        height: auto;
        max-height: 40px;
        width: auto;
    }

    .site-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--dark);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        min-height: calc(100dvh - var(--header-height));
        padding: var(--space-xl) var(--container-padding);
        transform: translateX(100%);
        transition: transform 0.3s;
        overflow-y: auto;
        border-top: 1px solid var(--border);
        flex: none;
        justify-self: unset;
    }

    body.admin-bar .site-nav {
        top: calc(var(--header-height) + 32px);
    }

    .site-nav.is-open {
        transform: translateX(0);
    }

    .site-nav__menu {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);   /* tighter rhythm between mobile nav links */
        width: 100%;
        height: auto;           /* reset desktop height: 100% */
    }

    .site-nav__menu > li {
        flex-direction: column;  /* reset desktop row: stack link above its sub-menu */
        align-items: flex-start; /* so the sub-menu opens DOWN, not beside the link */
        align-self: auto;        /* reset desktop align-self: stretch */
        width: 100%;
    }

    /* Mobile overlay is dark — restore white nav link colors */
    .site-nav__menu > li > a,
    .site-nav__menu > li > a:hover,
    .site-nav__menu > .current-menu-item > a,
    .site-nav__menu > .current_page_item > a,
    .site-nav__menu > .current-menu-ancestor > a {
        font-size: 1rem;
        letter-spacing: 0.05em;
        color: var(--white);
    }

    /* Sub-menus render inline in the mobile overlay, collapsed by default and
       expanded when the parent is tapped (li.is-open). Reset all desktop
       dropdown positioning. */
    .site-nav__menu .sub-menu {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        background: transparent;
        border: none;
        border-left: 2px solid var(--border);
        box-shadow: none;
        min-width: 0;
        padding: var(--space-sm) 0 var(--space-sm) var(--space-md);
        margin-top: var(--space-sm);
        transition: none;
        z-index: auto;
    }

    .site-nav__menu .menu-item-has-children.is-open > .sub-menu {
        display: block;
    }

    .site-nav__menu .sub-menu a {
        color: var(--white);
        font-size: 0.875rem;
        padding: 4px 0;
        border-bottom: none;
    }

    .site-nav__menu .sub-menu a:hover {
        color: var(--white);
    }

    /* Section labels in mobile overlay */
    .sub-menu__section {
        color: var(--white);
        padding: 8px 0 4px;
        border-bottom: 1px solid var(--border);
        font-size: 10px;
    }

    .lang-switcher {
        display: none;
    }

    /* Pinned to the bottom of the overlay; 2-column grid reads cleaner than
       the previous ragged wrap. */
    .mobile-lang-switcher {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
        width: 100%;
        margin-top: auto;
        padding-top: var(--space-lg);
        border-top: 1px solid var(--border);
    }

    .mobile-lang-switcher__item {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        padding: 6px 12px;
        border-radius: var(--radius);
        font-family: var(--font-body);
        font-size: 13px;
        font-weight: 500;
        color: var(--white);
        text-decoration: none;
        border: 1px solid var(--border);
        transition: color 0.15s, border-color 0.15s;
    }

    a.mobile-lang-switcher__item:hover {
        color: var(--white);
        border-color: var(--gray-600);
    }

    .mobile-lang-switcher__item--active {
        color: var(--white);
        border-color: var(--red);
    }

    .mobile-lang-switcher__item--soon {
        opacity: 0.4;
        cursor: default;
    }

    .mobile-lang-switcher__soon {
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        background: var(--gray-600);
        color: var(--white);
        border-radius: var(--radius);
        padding: 1px 4px;
    }

    /* CTAs move into the slide-in nav on mobile; hide the originals in the
       action bar (defensive — markup also moves them) and the now-orphaned
       divider so the top bar shows only logo + search + hamburger. */
    .site-header__actions .btn,
    .header-divider {
        display: none;
    }

    /* CTA group sits naturally just below the nav links (no border, aligned to
       the link edge) so it reads as part of the nav, not a detached footer. */
    .site-nav__cta-group {
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);
        width: 100%;
        margin-top: var(--space-lg);
    }

    .site-nav__cta-group .btn {
        width: 100%;
        min-width: unset;
        justify-content: center;
    }

    /* Containment: clip HORIZONTAL overflow only. Vertical stays visible and the
       row uses min-height (not the rigid desktop height) so a taller logo, text
       zoom, or the admin bar grows the row instead of clipping it at the top. */
    .site-header {
        height: auto;
        min-height: var(--header-height);
        overflow-x: clip;
        overflow-y: visible;
    }

    .site-header .container {
        height: auto;
        min-height: var(--header-height);
    }

    body {
        overflow-x: hidden;
    }
}

/* Desktop: CTAs live in the top-bar actions, so hide the in-nav group */
@media (min-width: 1025px) {
    .site-nav__cta-group {
        display: none;
    }
}

/* ─── Dark Header (campaign banner OFF) ───────────────────────────────────────
   Tied to the single campaign banner toggle via prota_header_is_dark():
   banner ON → default white header + banner; banner OFF → this dark header,
   no banner. The .site-header--dark modifier is added in header.php and applies
   on every page. Only colour treatment changes here — layout is shared with the
   light header above. */

.site-header--dark {
    background-color: var(--dark);
    border-bottom-color: var(--border);
}

.site-header--dark.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
}

/* White logo is the SAME 1138×154 lockup as the black header SVG, just a colour
   swap. The light SVG letterboxes into a 220×40 box (renders ~220×29.8); a raster
   PNG won't letterbox, so fit it into the same box proportionally (height:auto +
   max-height/max-width) to render at the identical size without distortion. */
.site-header--dark .site-logo__img {
    height: auto;
    max-height: 40px;
    max-width: 220px;
}

/* Nav links → white, red on hover (red current-page underline is unchanged) */
.site-header--dark .site-nav__menu > li > a,
.site-header--dark .site-nav__menu > .current-menu-item > a,
.site-header--dark .site-nav__menu > .current_page_item > a,
.site-header--dark .site-nav__menu > .current-menu-ancestor > a {
    color: var(--white);
}

.site-header--dark .site-nav__menu > li > a:hover {
    color: var(--red);
}

/* Search icon → white (SVG inherits via currentColor) */
.site-header--dark .header-search-btn {
    color: var(--white);
}

.site-header--dark .header-search-btn:hover {
    color: var(--red);
}

/* "Try Free" gray outline button → white outline on dark; fills white on hover */
.site-header--dark .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.site-header--dark .btn-outline:hover {
    background-color: var(--white);
    border-color: var(--white);
    color: var(--dark);
}

/* ─── Breadcrumb bar (below the header; trail + schema come from Yoast) ────── */
.breadcrumb-bar {
    background-color: var(--white);
    border-bottom: 1px solid var(--gray-200);
}
.breadcrumb-bar .breadcrumbs {
    padding-block: var(--space-sm);
    font-family: var(--font-display);
    font-size: var(--fs-breadcrumb);
    color: var(--color-black);
    letter-spacing: 0.02em;
}
.breadcrumb-bar .breadcrumbs a {
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb-bar .breadcrumbs a:hover {
    color: var(--red);
}
.breadcrumb-bar .breadcrumbs .breadcrumb_last {
    color: var(--black);
}
.breadcrumb-bar .breadcrumbs .breadcrumb-sep {
    color: var(--red);
}

/* The red "Buy Now" button (.btn-primary) is intentionally left untouched —
   red reads fine on black. */

/* Language switcher → white text + globe/chevron (currentColor) */
.site-header--dark .lang-switcher__trigger {
    color: var(--white);
}

.site-header--dark .lang-switcher__trigger:hover {
    color: var(--red);
    background: rgba(255, 255, 255, 0.08);
}

/* Divider near the lang switcher → light so it shows on black */
.site-header--dark .header-divider {
    background-color: rgba(255, 255, 255, 0.22);
}

/* Hamburger (mobile bar) → white bars; the slide-in nav overlay is already dark */
.site-header--dark .nav-toggle {
    border-color: var(--border);
}

.site-header--dark .nav-toggle__bar {
    background-color: var(--white);
}

/* ─── Site Footer ─────────────────────────────────────────────────────────── */

.site-footer {
    background-color: var(--dark);
    color: var(--white);
    padding-top: var(--footer-padding-y);
    padding-bottom: var(--space-xl);
}

.site-footer a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--white);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 30% repeat(3, 1fr);
    gap: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-xl);
}

/* Column 1: Brand */
.site-footer__logo {
    display: inline-flex;
    margin-bottom: var(--space-sm);
    opacity: 1;
    transition: opacity 0.2s;
}

.site-footer__logo:hover {
    opacity: 0.85;
}

.site-footer__tagline {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--white);
    margin-top: var(--space-lg);
}

/* Column titles — eyebrow style */
.site-footer__col-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.site-footer__col-title::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--red);
    margin-bottom: var(--space-sm);
}

/* Column 2: Links */
.site-footer__links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.site-footer__links a {
    font-size: 14px;
    font-weight: 400;
}

/* Column 3: Offices */
.site-footer__offices {
    font-size: 13px;
    font-weight: 400;
    color: var(--white);
    line-height: 1.8;
}

/* Column 4: Social */
.site-footer__social {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    align-items: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 18px;
    color: var(--white);
    transition: color 0.2s;
}

.social-icon:hover {
    color: var(--white);
}

/* Bottom bar */
.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.site-footer__bottom p {
    font-size: 13px;
    font-weight: 400;
    color: var(--white);
}

@media (max-width: 1024px) {
    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ─── Main content ────────────────────────────────────────────────────────── */

.site-main {
    min-height: 60vh;
    background-color: var(--ultra-light-blue);
}

/* ─── Hero section ────────────────────────────────────────────────────────── */

.hero {
    padding-top: var(--section-gap);
    padding-bottom: var(--section-gap);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
}

/* Dark hero variant */
.hero-dark {
    background-color: var(--dark);
    color: var(--white);
}

.hero-dark h1,
.hero-dark h2,
.hero-dark p {
    color: var(--white);
}

.hero-dark .hero__title {
    color: var(--white);
}

.hero-dark .hero__subtitle {
    color: var(--white);
}

.hero-dark .hero__content,
.hero-dark .hero__content p {
    color: var(--white);
}

.hero__eyebrow {
    margin-bottom: var(--space-xl);
}

.hero__title {
    max-width: 840px;
    margin-bottom: var(--space-lg);
}

.hero__subtitle {
    font-size: 1.05rem;
    max-width: 600px;
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
}

.hero__content {
    margin-top: var(--space-2xl);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Homepage hero variant */

.hero-home::before {
    display: none;
}

.hero-home {
    min-height: 620px;
    padding: 48px 0 0;
    background: var(--ultra-light-blue);
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
}

.hero-home .hero__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 40px;
    align-items: start;
    min-height: inherit;
}

.hero-home .hero__content {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    padding-bottom: 48px;
}

.hero-home .hero__eyebrow {
    margin-bottom: var(--space-xl);
}

.hero-home .hero__title {
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    max-width: none;
    margin: var(--space-3xl) 0 0;
}

.hero-home .hero__title-line--red   { color: var(--red);   display: block; }
.hero-home .hero__title-line--black { color: var(--black); display: block; }

.hero-home .hero__desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 2;
    color: var(--black);
    max-width: 514px;
    margin: var(--space-xl) 0 0;
}

.hero-home .hero__actions {
    flex-wrap: nowrap;
    margin-top: var(--space-2xl);
    gap: 12px;
}
.hero-home .hero__actions .btn-primary {
    width: 174px;
    max-width: 174px;
    padding: 12px 0;
    justify-content: center;
    white-space: nowrap;
}
.hero-home .hero__actions .btn-ghost {
    width: 348px;
    max-width: 348px;
    padding: 12px 0;
    justify-content: center;
    white-space: nowrap;
    border-color: var(--black);
    border-width: 1.5px;
    color: var(--black);
    background: transparent;
}
.hero-home .hero__actions .btn-ghost:hover {
    background: var(--black);
    color: var(--white);
}
@media (max-width: 768px) {
    .hero-home .hero__actions .btn-primary { width: 100%; max-width: none; }
    .hero-home .hero__actions .btn-ghost  { width: 100%; max-width: none; }
}

.hero__stats {
    display: flex;
    gap: var(--space-3xl);
    margin-top: var(--space-section-sm);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-stat__label {
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: var(--color-black);
}

.hero-stat__row {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 0;
}

.hero-stat__row::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: -34px;
    height: 22px;
    background: #D9D9D9;
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
    z-index: 0;
}

.hero-stat__num {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 50px;
    font-weight: 800;
    line-height: 30px;
    color: var(--color-black);
}

.hero-stat__sublabel {
    position: relative;
    z-index: 1;
    font-size: 12px;
    font-weight: 700;
    line-height: 22px;
    height: 22px;
    color: var(--color-black);
    padding-right: 8px;
    white-space: nowrap;
}

.hero-home .hero__media {
    position: relative;
    width: 100%;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-home .hero__media img {
    width: 100%;
    height: auto;
    display: block;
}

/* Play-button overlay.
   The frame is sized to exactly match the banner <img>: its width = the image
   width (both are width:100%), and its height = the image height because the
   <img> is the only in-flow child (the button is position:absolute, out of
   flow). So the frame box === the image box. A button at 50%/50% + a
   translate(-50%,-50%) therefore sits at the IMAGE's true center, regardless
   of button size, and re-centers automatically when the image resizes — at
   every breakpoint. Nudge with --pp-top / --pp-left if needed. */
.hero-home .hero__media-frame {
    --pp-top: 56%;
    --pp-left: 47%;
    position: relative;
    display: block;
    width: 100%;
    line-height: 0;   /* kills the inline descender gap -> frame height == image height */
    font-size: 0;
}

.hero-home .hero__media-frame > img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-home .hero__media-frame .prota-play {
    position: absolute;
    top: var(--pp-top);                 /* 50% of the IMAGE height */
    left: var(--pp-left);               /* 50% of the IMAGE width  */
    transform: translate(-50%, -50%);   /* true center, independent of button size */
    margin: 0;
    z-index: 2;
}

@media (max-width: 1024px) {
    .hero-home {
        min-height: auto;
    }

    .hero-home .hero__inner {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .hero-home .hero__media {
        max-width: 712px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .hero-home .hero__title {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }

    .hero-home .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero__stats {
        gap: var(--space-xl);
        flex-wrap: wrap;
    }
}

/* ─── Post / Article ──────────────────────────────────────────────────────── */

.article-header {
    margin-bottom: var(--space-2xl);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
    margin-top: var(--space-lg);
    font-size: 0.85rem;
    color: var(--color-black);
}

.article-meta a {
    color: var(--color-black);
}

.article-meta a:hover {
    color: var(--red);
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.article-content p {
    margin-bottom: var(--space-md);
}

.article-content ul,
.article-content ol {
    list-style: revert;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
}

.article-content li {
    margin-bottom: var(--space-xs);
}

.article-content blockquote {
    border-left: 3px solid var(--red);
    padding-left: var(--space-lg);
    margin: var(--space-xl) 0;
    font-style: italic;
    color: var(--color-black);
}

.article-content pre {
    background-color: var(--dark-2);
    padding: var(--space-lg);
    border-radius: var(--radius);
    overflow-x: auto;
    margin-bottom: var(--space-md);
    border: 1px solid var(--border);
}

.article-content code {
    font-size: 0.875rem;
    color: var(--white);
}

.article-content :not(pre) > code {
    background-color: var(--dark-2);
    color: var(--red);
    padding: 2px 6px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    border: 1px solid var(--border);
}

/* ─── Page layout ─────────────────────────────────────────────────────────── */

.page-header {
    background-color: var(--dark);
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--border);
}

.page-header__title {
    color: var(--white);
}

.page-content {
    padding-top: var(--section-gap);
    padding-bottom: var(--section-gap);
}

/* ─── 404 ─────────────────────────────────────────────────────────────────── */

.error-404 {
    text-align: center;
    padding: var(--section-gap) 0;
}

.error-404__code {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(6rem, 15vw, 12rem);
    color: var(--red);
    line-height: 1;
    opacity: 0.15;
}

.error-404__title {
    margin-top: calc(-1 * var(--space-3xl));
    margin-bottom: var(--space-md);
}

.error-404__body {
    color: var(--color-black);
    margin-bottom: var(--space-xl);
}

/* ─── Search form ─────────────────────────────────────────────────────────── */

.search-form {
    display: flex;
    gap: var(--space-sm);
}

.search-form input[type="search"] {
    flex: 1;
}

/* ─── Pagination ──────────────────────────────────────────────────────────── */

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-3xl);
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-md);
    white-space: nowrap;
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid var(--gray-200);
    color: var(--black);
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.pagination a:hover {
    border-color: var(--red);
    color: var(--red);
}

.pagination .current {
    background-color: var(--red);
    border-color: var(--red);
    color: var(--white);
}

/* ─── Utilities ───────────────────────────────────────────────────────────── */

.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-white  { color: var(--white) !important; }
.text-red    { color: var(--red) !important; }
.text-muted  { color: var(--color-black) !important; }

.mt-auto { margin-top: auto; }
.mb-0    { margin-bottom: 0 !important; }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap    { flex-wrap: wrap; }
.gap-sm       { gap: var(--space-sm); }
.gap-md       { gap: var(--space-md); }
.gap-lg       { gap: var(--space-lg); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ─── Extended Container ──────────────────────────────────────────────────── */

.site-container {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.site-container-wide {
    max-width: var(--container-wide);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* ─── Extended Section Classes ────────────────────────────────────────────── */

.site-section {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
}

.site-section-sm {
    padding-top: var(--space-section-sm);
    padding-bottom: var(--space-section-sm);
}

.site-section-lg {
    padding-top: var(--space-section-lg);
    padding-bottom: var(--space-section-lg);
}

.section-header {
    margin-bottom: var(--space-2xl);
}

.section-content {
    /* Generic content wrapper — extend as needed */
}

/* ─── Base Grid Class ─────────────────────────────────────────────────────── */

.grid {
    display: grid;
    gap: var(--space-lg);
}

/* ─── Stack ───────────────────────────────────────────────────────────────── */

.stack {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.stack-sm { gap: var(--space-sm); }
.stack-lg { gap: var(--space-lg); }

/* ─── Cluster ─────────────────────────────────────────────────────────────── */

.cluster {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    align-items: center;
}

.cluster-sm { gap: var(--space-sm); }
.cluster-lg { gap: var(--space-lg); }

/* ─── Flow (vertical rhythm) ──────────────────────────────────────────────── */

:where(.flow) > * + * { margin-top: var(--flow-gap, var(--space-md)); }
.flow--tight { --flow-gap: var(--space-sm); }
.flow--loose  { --flow-gap: var(--space-xl); }

/* Stack utilities — flex column with gap, replaces margin-based sibling spacing */
.stack-sm { display: flex; flex-direction: column; gap: var(--space-sm); }
.stack-md { display: flex; flex-direction: column; gap: var(--space-md); }

/* ─── Section flush modifiers ─────────────────────────────────────────────── */

.section--flush-top    { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

/* ─── Mobile — btn full-width ─────────────────────────────────────────────── */

@media (max-width: 480px) {
    .btn {
        width: 100%;
        justify-content: center;
    }

    .btn-inline {
        width: auto;
    }
}

/* ─── WordPress / Gutenberg Compatibility ─────────────────────────────────── */

/* Prevent horizontal overflow from any block */
:where(.wp-block-group, .wp-block-columns, .wp-block-image) {
    max-width: 100%;
}

/* Entry / page content prose */
:where(.entry-content, .page-content) {
    font-size: 0.95rem;
    line-height: 1.78;
    color: var(--color-black);
}

:where(.entry-content h1,
       .entry-content h2,
       .entry-content h3,
       .entry-content h4,
       .entry-content h5,
       .entry-content h6) {
    color: var(--black);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

:where(.entry-content p) {
    margin-bottom: var(--space-md);
}

:where(.entry-content ul, .entry-content ol) {
    list-style: revert;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
}

:where(.entry-content li) {
    margin-bottom: var(--space-xs);
}

:where(.entry-content a) {
    color: var(--red);
    text-decoration: underline;
    text-underline-offset: 2px;
}

:where(.entry-content a:hover) {
    color: var(--red-dark);
}

:where(.entry-content blockquote) {
    border-left: 3px solid var(--red);
    padding-left: var(--space-lg);
    margin: var(--space-xl) 0;
    font-style: italic;
    color: var(--color-black);
}

:where(.entry-content img) {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* Gutenberg block gap alignment */
:where(.wp-block-columns) {
    gap: var(--space-lg);
}

/* site-main minimum height already set, ensure no overflow.
   Use `clip` (not `hidden`) so this does NOT become a scroll container —
   `hidden` would break `position: sticky` on descendants (e.g. .blog-sidebar). */
.site-main {
    overflow-x: clip;
}

/* ── Campaign banner ─────────────────────────────────────────────────────────── */

.campaign {
    background: #000;
    color: var(--white);
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.campaign__inner {
    position: relative;
    max-width: var(--max-w);
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.campaign__left {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    max-width: 280px;
}

.campaign__eyebrow {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    color: var(--red);
    text-transform: uppercase;
}

.campaign__title {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 800;
    line-height: 40px;
    color: var(--white);
    text-transform: uppercase;
    margin: 0;
}

.campaign__subtitle {
    font-size: 14px;
    line-height: 17px;
    color: var(--white);
}

.campaign__subtitle strong {
    font-weight: 700;
    color: var(--white);
}

.campaign__middle {
    position: absolute;
    left: 47%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.deco-lines {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.deco-lines > span {
    display: inline-block;
    width: 2px;
    background: var(--border);
}

.deco-lines--left  > span:nth-child(1) { height: 20px;  }
.deco-lines--left  > span:nth-child(2) { height: 40px;  }
.deco-lines--left  > span:nth-child(3) { height: 80px;  }
.deco-lines--left  > span:nth-child(4) { height: 120px; }

.deco-lines--right > span:nth-child(1) { height: 120px; }
.deco-lines--right > span:nth-child(2) { height: 80px;  }
.deco-lines--right > span:nth-child(3) { height: 40px;  }
.deco-lines--right > span:nth-child(4) { height: 20px;  }

.discount {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.discount__row {
    display: flex;
    align-items: flex-start;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 0.85;
}

.discount__num {
    font-size: 100px;
    line-height: 0.85;
}

.discount__pct {
    font-size: 50px;
    line-height: 0.85;
    margin-top: 8px;
    margin-left: 2px;
}

.discount__label {
    font-size: 10px;
    line-height: 12px;
    color: var(--white);
    margin-top: 6px;
    text-align: center;
    letter-spacing: 0.02em;
}

.discount--old .discount__num,
.discount--old .discount__pct {
    color: var(--red);
}

.discount--new .discount__num,
.discount--new .discount__pct {
    color: transparent;
    -webkit-text-stroke: 2px var(--gray-200);
}

.off-watermark {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 100px;
    font-weight: 800;
    line-height: 1;
    color: var(--border);
    letter-spacing: 0.05em;
    pointer-events: none;
    z-index: 1;
}

.campaign__right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    min-width: 348px;
}

.campaign__cta-label {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 400;
    line-height: 12px;
    color: var(--white);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.campaign__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 348px;
    height: 46px;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.36px;
    text-transform: uppercase;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background var(--transition-base), transform var(--transition-fast);
}

.campaign__btn:hover {
    background: var(--red-dark);
    color: var(--white);
    transform: translateY(-1px);
}

.campaign__cta-note {
    font-size: 10px;
    line-height: 12px;
    color: var(--white);
    text-align: center;
}

@media (max-width: 1300px) {
    .campaign {
        height: auto;
        padding: 48px 0;
    }

    .campaign__inner {
        flex-direction: column;
        gap: 48px;
        padding: 0 var(--container-padding);
    }

    .campaign__left {
        max-width: none;
        align-items: center;
        text-align: center;
    }

    .campaign__middle {
        position: relative;
        transform: none;
        left: auto;
        top: auto;
    }

    .off-watermark {
        bottom: auto;
        top: 65%;
        transform: translate(-50%, -50%);
    }

    .campaign__right {
        align-items: center;
    }
}

@media (max-width: 400px) {
    .campaign__btn {
        width: 100%;
        max-width: 348px;
    }
}

/* ─── Suite Section ────────────────────────────────────────────────────────── */

.suite {
    --suite-orange: #F58220;
    --suite-blue:   #0071A2;

    position: relative;
    width: 100%;
    padding: 64px 0;
    background-color: var(--ultra-light-blue);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.suite__inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.suite__header {
    display: grid;
    grid-template-columns: minmax(0, 640px) minmax(0, 591px);
    justify-content: space-between;
    align-items: start;
    margin-bottom: 80px;
}

.suite__header-left {
    display: flex;
    flex-direction: column;
}

.suite__header-left .eyebrow {
    margin-bottom: 0;
}

.suite__logo {
    display: block;
    width: 100%;
    max-width: 320px;
    height: auto;
    margin-top: 64px;
}

.suite__title {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 800;
    line-height: 48px;
    color: var(--black);
    max-width: 640px;
    margin-top: 48px;
}

.suite__title-accent {
    color: var(--red);
}

.suite__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 348px;
    max-width: 100%;
    height: 42px;
    margin-top: 30px;
    align-self: flex-start;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.15px;
    text-transform: uppercase;
    color: var(--black);
    background: transparent;
    border: 2px solid var(--black);
    border-radius: var(--radius);
    transition: background 0.2s ease, color 0.2s ease;
}

.suite__cta:hover {
    background: var(--black);
    color: var(--white);
}

.suite__media {
    position: relative;
    width: 100%;
    aspect-ratio: 591 / 312;
    background: rgba(255,255,255,0.08);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
}

.suite__media svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.suite__media svg line {
    stroke: rgba(255,255,255,0.3);
    stroke-width: 1;
    vector-effect: non-scaling-stroke;
}

/* Support Strip */
.suite-support {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 40px 0 48px;
    padding: 24px 32px;
    background: var(--off-white, #ffffff);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
}
.suite-support__badge,
.suite-support__helpcenter {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}
.suite-support__badge svg,
.suite-support__helpcenter svg {
    width: 28px;
    height: 28px;
    color: var(--red);
    flex-shrink: 0;
}
.suite-support__badge-title {
    display: block;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.01em;
}
.suite-support__badge-sub {
    display: block;
    font-size: 0.75rem;
    color: var(--color-black);
    margin-top: 2px;
}
.suite-support__divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
    flex-shrink: 0;
    margin: 0 32px;
}
.suite-support__links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.suite-support__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-black);
    text-decoration: none;
    padding: 7px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.suite-support__link:hover {
    color: var(--red);
    border-color: var(--red);
    background: rgba(225,27,34,0.04);
}
.suite-support__link svg {
    width: 13px;
    height: 13px;
}

@media (max-width: 1024px) {
    .suite-support { flex-direction: column; align-items: flex-start; gap: 20px; }
    .suite-support__divider { width: 100%; height: 1px; margin: 4px 0; }
}

/* Product Cards */

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

.product-card {
    --card-accent: var(--red);
    display: flex;
    flex-direction: column;
}

.product-card--structure { --card-accent: var(--red); }
.product-card--steel     { --card-accent: var(--green); }
.product-card--details   { --card-accent: var(--suite-orange); }
.product-card--bim       { --card-accent: var(--suite-blue); }

.product-card__accent {
    --cut: 32px;
    --visible-gap: 5px;
    position: relative;
    z-index: 2;
    height: 42px;
    display: flex;
    align-items: stretch;
    padding-right: 26px;
    transform: translateY(20px);
}

.product-card__accent-main {
    flex: 1 1 272px;
    background: var(--card-accent);
    clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% 100%, 0 100%);
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.product-card__accent-tag {
    flex-shrink: 0;
    height: 42px;
    background: var(--card-accent);
    margin-left: calc((var(--cut) * -1) + var(--visible-gap));
    clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% 100%, var(--cut) 100%);
}

.product-card__accent-tag--wide   { width: 52px; }
.product-card__accent-tag--narrow { width: 42px; }

.product-card__logo {
    display: block;
    height: 20px;
    width: auto;
}

.product-card__body {
    flex: 1;
    background: var(--white);
    border: 1px solid #DCDDDE;
    border-radius: var(--radius);
    padding: 52px 16px 24px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
    box-shadow: 4px 4px 0 0 rgba(157, 158, 162, 0);
}

.product-card:hover .product-card__body {
    box-shadow: 4px 4px 0 0 var(--gray-400);
}

.product-card__desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--black);
    margin-bottom: 24px;
}

.product-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: var(--black);
    transition: color 0.2s ease;
}

.product-card__link svg {
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-card__link:hover {
    color: var(--card-accent);
}

.product-card__link:hover svg {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .suite__header {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

@media (max-width: 640px) {
    .suite__title {
        font-size: 28px;
        line-height: 36px;
    }

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

    .suite__cta {
        width: 100%;
    }
}

/* ─── Trusted By Section ───────────────────────────────────────────────────── */

.trusted-section {
    position: relative;
    background: var(--dark);
    border-top: 1px solid var(--border);
    border-bottom: none;
    padding: 52px 0 0;
    overflow: hidden;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trusted__inner {
    position: relative;
    z-index: 2;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* trusted-why shared background wrapper */
.trusted-why-wrap {
    background: var(--dark);
    position: relative;
}
.trusted-why-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.trusted-why-wrap .trusted-section,
.trusted-why-wrap .why-section,
.trusted-why-wrap .tst-section {
    background: transparent;
    position: relative;
    z-index: 1;
}

.trusted__content {
    max-width: 460px;
    margin-bottom: 44px;
}

.trusted__content .eyebrow {
    margin-bottom: var(--space-xl);
}

.trusted__tagline {
    font-size: 15px;
    font-weight: 400;
    color: var(--white);
    line-height: 1.7;
}

.trusted__tagline strong {
    color: var(--white);
    font-weight: 700;
}

/* Marquee */

.trusted__marquee {
    position: relative;
    z-index: 2;
    width: 860px;
    max-width: 100%;
    overflow: hidden;
}

.trusted__marquee::before,
.trusted__marquee::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.trusted__marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--dark) 0%, transparent 100%);
}

.trusted__marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--dark) 0%, transparent 100%);
}

.trusted__marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: trusted-marquee 42s linear infinite;
}

.trusted__marquee-track:hover {
    animation-play-state: paused;
}

@keyframes trusted-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.trusted__logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    height: 56px;
    border-right: 1px solid #222;
    flex-shrink: 0;
}

.trusted__logo-item img {
    height: 44px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.trusted__logo-item:hover img {
    opacity: 1;
}

/* Already white/negative logos — skip invert */
.trusted__logo-item img[src*="_negative"] {
    filter: none;
}

@media (max-width: 1024px) {
    .trusted-section {
        /* Horizontal padding comes from .trusted__inner (like desktop). Adding
           it here too double-indented the content past the page's container. */
        padding: 44px 0 40px;
        min-height: auto;
    }
    .trusted__canvas {
        width: 60%;
        opacity: 0.5;
    }
    .trusted__marquee {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .trusted__canvas {
        width: 100%;
        opacity: 0.2;
    }
    .trusted__content {
        max-width: 100%;
        margin-bottom: 32px;
    }
    .trusted__tagline {
        font-size: 14px;
    }
    /* The hard <br> after "PROTA SOFTWARE" gives two clean lines on desktop, but
       on a narrow phone the first half already wraps, so the forced break drops
       "for structural analysis and design" onto its own broken line. Let the
       tagline flow as one paragraph here. */
    .trusted__tagline br {
        display: none;
    }
    .trusted__logo-item {
        padding: 0 24px;
        height: 48px;
    }
    .trusted__logo-item img {
        height: 32px;
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .trusted__eyebrow-text {
        font-size: 9px;
        letter-spacing: 0.1em;
    }
    .trusted__logo-item {
        padding: 0 16px;
    }
    .trusted__logo-item img {
        height: 18px;
        max-width: 80px;
    }
}

/* ─── Why Engineers Choose Prota ───────────────────────────────────────────── */

.why-section {
    background: var(--dark);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 800px;
    overflow: visible;
    position: relative;
}

/* Left panel */

.why__left {
    position: relative;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px 112px calc((100vw - var(--max-w)) / 2 + var(--container-padding));
    overflow: hidden;
}

.why__globe {
    position: absolute;
    top: 50%;
    left: calc((100vw - var(--max-w)) / 2 + var(--container-padding) - 6%);
    transform: translateY(-50%);
    width: 98%;
    max-width: 720px;
    aspect-ratio: 1;
    z-index: 1;
}

.why-globe-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    /* CSS vars forwarded to PresenceGlobe */
    --globe-hq:         #E11B22;
    --globe-branch:     #ff9a3c;
    --globe-reseller:   #aab1bd;
    --globe-ocean:      #0e0f12;
    --globe-land:       #30353f;
    --globe-land-edge:  rgba(120,128,140,0.42);
    --globe-grid:       rgba(150,158,172,0.13);
    --globe-rim:        #c6ccd6;
    --globe-speed:      0.16;
    --globe-speed-slow: 0.16;
}

.why-globe-legend {
    display: flex;
    gap: 20px;
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
    white-space: nowrap;
}
.why-globe-legend.legend-visible {
    opacity: 1;
}
.wgl-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--white);
    white-space: nowrap;
}
.wgl-mark {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    display: inline-grid;
    place-items: center;
}
.wgl-mark::after { content: ''; width: 5px; height: 5px; border-radius: 50%; }
.wgl-hq     { border: 1.5px solid #E11B22; }
.wgl-hq::after     { background: #E11B22; box-shadow: 0 0 5px #E11B22; }
.wgl-branch { border: 1.5px solid #ff9a3c; }
.wgl-branch::after { background: #ff9a3c; }
.wgl-reseller { width: 8px; height: 8px; background: #aab1bd; }
.wgl-reseller::after { display: none; }

.why__stats {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.why__stat-item {
    padding: 28px 0;
    border-bottom: 1px solid var(--red);
    width: 320px;
}

.why__stat-item:last-child {
    border-bottom: none;
}

.why__stat-number {
    font-family: var(--font-display);
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--gray-400);
    margin-bottom: 22px;
    padding-top: 10px;
    opacity: 0;
    transform: translateY(20px);
    animation: why-fade-up 0.7s ease forwards;
}

.why__stat-item:nth-child(1) .why__stat-number { animation-delay: 0.1s; }
.why__stat-item:nth-child(2) .why__stat-number { animation-delay: 0.3s; }
.why__stat-item:nth-child(3) .why__stat-number { animation-delay: 0.5s; }

@keyframes why-fade-up {
    to { opacity: 1; transform: translateY(0); }
}

.why__stat-label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--white);
    text-transform: uppercase;
}

/* Right panel */

.why__right {
    padding: 80px calc((100vw - var(--max-w)) / 2 + var(--container-padding)) 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.why__right .eyebrow {
    margin-bottom: var(--space-xl);
}

.why__heading {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.5vw, 52px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 28px;
}

.why__desc {
    font-size: 15px;
    color: var(--white);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 420px;
}

.why__desc strong {
    color: var(--white);
    font-weight: 700;
}

.why__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 44px;
}

.why__feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.why__check {
    width: 26px;
    height: 26px;
    background: var(--red);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why__feature-text {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.01em;
}

.why__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-width: 280px;
    padding: 16px 40px;
    border: 1.5px solid var(--red);
    background: transparent;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: var(--radius);
    transition: background 0.25s ease, color 0.25s ease;
}

.why__cta:hover {
    background: var(--red);
    color: var(--white);
}

@media (max-width: 1024px) {
    .why-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .why__left {
        min-height: 660px;
        padding: 60px var(--container-padding);
    }
    .why__right {
        padding: 48px var(--container-padding) 60px;
    }
    /* Recenter the globe: the desktop `left` calc goes hugely negative once the
       viewport is narrower than --max-w, throwing it off-screen left. Override
       the real element (the globe renders as a <canvas>, not an <img>). */
    .why__globe {
        left: 50%;
        transform: translate(-50%, -50%);
        width: min(98%, 600px);
    }
}

@media (max-width: 768px) {
    .why__left {
        min-height: 540px;
        padding: 48px var(--container-padding);
    }
    .why__globe {
        width: min(100%, 500px);
    }
    .why__right {
        padding: 40px var(--container-padding) 48px;
    }
    .why__stat-number {
        font-size: 80px;
    }
    .why__cta {
        min-width: auto;
        width: 100%;
    }
}

/* ─── International Coverage Section ──────────────────────────────────────── */

.intl-section {
    background: var(--ultra-light-blue);
    border-bottom: 1px solid var(--gray-200);
}

.intl__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 64px var(--container-padding);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.intl__left {
    display: flex;
    flex-direction: column;
}

.intl__left .eyebrow {
    margin-bottom: var(--space-xl);
}

.intl__heading {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 800;
    line-height: 50px;
    color: var(--black);
    margin-bottom: 28px;
    max-width: 348px;
}

.intl__desc {
    font-size: 14px;
    line-height: 28px;
    color: var(--black);
    max-width: 436px;
    margin-bottom: 48px;
}

.intl__desc strong {
    font-weight: 700;
}

.intl__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.36px;
    text-transform: uppercase;
    text-decoration: none;
    width: 348px;
    max-width: 100%;
    height: 46px;
    border-radius: var(--radius);
    transition: background 0.2s ease;
}

.intl__cta:hover {
    background: var(--red-dark);
    color: var(--white);
}

.intl__right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.intl__item {
    padding: 28px 32px 28px 0;
    border-bottom: 1px solid var(--gray-200);
}

.intl__item:nth-child(odd) {
    padding-right: 40px;
    border-right: 1px solid var(--gray-200);
}

.intl__item:nth-child(even) {
    padding-left: 40px;
    padding-right: 0;
}

.intl__item:first-child,
.intl__item:nth-child(2) {
    padding-top: 0;
}

.intl__item:nth-last-child(-n+2) {
    border-bottom: none;
}

.intl__item-title {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 12px;
}

.intl__item-desc {
    font-size: 10px;
    font-weight: 700;
    line-height: 20px;
    color: var(--black);
    margin-bottom: 16px;
    max-width: 469px;
}

.intl__item-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    color: var(--red);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
}

.intl__item-link:hover {
    opacity: 0.75;
}

@media (max-width: 1024px) {
    .intl__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .intl__inner {
        padding: 40px var(--container-padding);
        gap: 40px;
    }
    .intl__heading {
        font-size: 30px;
        line-height: 40px;
    }
    .intl__cta {
        width: 100%;
    }
}

/* ─── Core Capabilities Section ───────────────────────────────────────────── */

.caps-section {
    background-color: var(--ultra-light-blue);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: none;
    display: flex;
    align-items: center;
    min-height: 326px;
}

.caps__inner {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 64px var(--container-padding);
    display: grid;
    grid-template-columns: 1.4fr auto 1fr;
    align-items: center;
}

.caps__left {
    padding-right: 80px;
}

.caps__left .eyebrow {
    margin-bottom: var(--space-xl);
}

.caps__heading {
    font-family: var(--font-display);
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 800;
    line-height: 1.25;
    color: var(--black);
    white-space: nowrap;
}

.caps__accent {
    color: var(--red);
}

.caps__divider {
    width: 2px;
    height: 200px;
    background: var(--red);
    flex-shrink: 0;
    margin: 0 60px;
}

.caps__right {
    padding-left: 20px;
}

.caps__desc {
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    color: var(--black);
    max-width: 436px;
}

.caps__desc strong {
    font-weight: 700;
}

@media (max-width: 1024px) {
    .caps__inner {
        grid-template-columns: 1fr;
        padding: 48px var(--container-padding);
        gap: 32px;
    }
    .caps__divider {
        width: 60px;
        height: 4px;
        margin: 0;
    }
    .caps__left  { padding-right: 0; }
    .caps__right { padding-left: 0; }
}

@media (max-width: 768px) {
    .caps__inner {
        padding: 40px var(--container-padding);
        gap: 28px;
    }
    .caps__heading {
        font-size: 30px;
        line-height: 42px;
    }
    .caps__divider {
        width: 40px;
    }
}

/* ─── Product Features Section ─────────────────────────────────────────────── */

.feat-section {
    background: var(--ultra-light-blue);
}

.feat__container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 32px;
    padding-bottom: 32px;
}

.feat__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 420px;
}

.feat__img-panel {
    background: var(--ultra-light-blue);
    overflow: hidden;
}

.feat__img-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feat__text-panel {
    position: relative;
    background: var(--ultra-light-blue);
    display: flex;
    align-items: center;
    padding: 48px;
}

.feat__text-panel::before,
.feat__text-panel::after {
    content: '';
    position: absolute;
    left: 80px;
    width: 280px;
    height: 0;
    border-top: 1px solid var(--gray-400);
}

.feat__text-panel::before { top: 0; }
.feat__text-panel::after  { bottom: 0; }

.feat__text-panel--right::before,
.feat__text-panel--right::after {
    left: auto;
    right: 80px;
}

/* Corner brackets */
.feat__bracket {
    position: absolute;
    width: 30px;
    height: 30px;
}

.feat__bracket--tl {
    top: 0; left: 0;
    border-top: 2px solid var(--red);
    border-left: 2px solid var(--red);
}

.feat__bracket--bl {
    bottom: 0; left: 0;
    border-bottom: 2px solid var(--red);
    border-left: 2px solid var(--red);
}

.feat__bracket--tr {
    top: 0; right: 0;
    border-top: 2px solid var(--red);
    border-right: 2px solid var(--red);
}

.feat__bracket--br {
    bottom: 0; right: 0;
    border-bottom: 2px solid var(--red);
    border-right: 2px solid var(--red);
}

.feat__text-inner {
    width: 100%;
    max-width: 440px;
}

.feat__text-panel .eyebrow {
    margin-bottom: var(--space-xl);
}

.feat__heading {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 800;
    line-height: 50px;
    color: var(--black);
    margin-bottom: 24px;
    max-width: 380px;
}

.feat__desc {
    font-size: 14px;
    line-height: 28px;
    color: var(--black);
}

@media (max-width: 1024px) {
    .feat__row,
    .feat__row--reverse {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .feat__row--reverse .feat__img-panel {
        order: -1;
    }
    .feat__img-panel {
        min-height: 320px;
    }
    .feat__text-panel {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .feat__img-panel {
        min-height: 240px;
    }
    .feat__text-panel {
        padding: 40px var(--container-padding);
    }
    .feat__heading {
        font-size: 28px;
        line-height: 38px;
    }
    .feat__text-panel::before,
    .feat__text-panel::after {
        left: 24px;
        width: calc(100% - 48px);
    }
    .feat__text-panel--right::before,
    .feat__text-panel--right::after {
        left: 24px;
        right: auto;
        width: calc(100% - 48px);
    }
}

/* ─── Interoperability Section ─────────────────────────────────────────────── */

.interop-section {
    background: var(--ultra-light-blue);
    border-bottom: 1px solid var(--gray-200);
    overflow: hidden;
    padding-bottom: 60px;
}

.interop__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.interop__header {
    padding-top: 64px;
    margin-bottom: 0;
}

.interop__header .eyebrow {
    margin-bottom: var(--space-xl);
}

.interop__heading {
    font-family: var(--font-display);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    line-height: 50px;
    color: var(--black);
    white-space: nowrap;
}
@media (max-width: 768px) {
    .interop__heading { white-space: normal; }
}

.interop__image-wrap {
    display: flex;
    justify-content: center;
    margin-top: -20px;
}

.interop__image-wrap img {
    width: 926px;
    max-width: 100%;
    height: auto;
    display: block;
}

.interop__cards {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: -20px;
    padding-bottom: 8px;
}

.interop__card {
    background: var(--white);
    border: 1px solid var(--red);
    border-radius: var(--radius);
    width: 348px;
    min-height: 180px;
    padding: 20px 18px;
    flex-shrink: 0;
    box-shadow: 4px 4px 0 0 #E11B22;
}

.interop__card-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 800;
    line-height: 28px;
    color: var(--black);
    margin-bottom: 4px;
}

.interop__card-desc {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 400;
    line-height: 28px;
    color: var(--black);
}

@media (max-width: 1200px) {
    .interop__cards {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .interop__header {
        padding-top: 48px;
    }
    .interop__cards {
        flex-direction: column;
    }
    .interop__card {
        width: 100%;
    }
}

/* ─── Download Section ─────────────────────────────────────────────────────── */

.dl-section {
    background: var(--dark);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 480px;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.dl__left {
    padding: 64px 60px 64px calc((100vw - var(--max-w)) / 2 + var(--container-padding));
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #000;
}

.dl__left .eyebrow {
    margin-bottom: var(--space-xl);
}

.dl__heading {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.8vw, 38px);
    font-weight: 400;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: 16px;
    white-space: nowrap;
}

.dl__heading strong {
    font-weight: 800;
}

.dl__version {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.dl__features {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dl__features li {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--white);
    padding-left: 16px;
    position: relative;
}

.dl__features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--white);
}

.dl__features li strong {
    color: var(--white);
    font-weight: 700;
}

.dl__release-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #555555;
    background: transparent;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 20px;
    margin-bottom: 28px;
    width: fit-content;
    border-radius: var(--radius);
    transition: border-color 0.2s, color 0.2s;
}

.dl__release-btn:hover {
    border-color: var(--white);
}

.dl__cta-row {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: nowrap;
}

.dl__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: var(--radius);
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.dl__btn:hover {
    background: var(--red-dark);
    color: var(--white);
    transform: translateY(-1px);
}

.dl__cta-row .dl__btn:first-child { min-width: 348px; }
.dl__cta-row .dl__btn:last-child  { min-width: 262px; }

.dl__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    transition: color 0.2s;
}

.dl__link:hover {
    color: var(--red);
}

.dl__img-panel {
    position: relative;
    height: 100%;
    min-height: 480px;
    overflow: hidden;
}

.dl__img-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    display: block;
    opacity: 0.85;
}

@media (max-width: 1024px) {
    .dl-section {
        grid-template-columns: 1fr;
    }
    .dl__img-panel {
        min-height: 320px;
        order: -1;
    }
    .dl__left {
        padding: 48px var(--container-padding);
    }
}

@media (max-width: 768px) {
    .dl__left {
        padding: 40px var(--container-padding);
    }
    .dl__cta-row {
        flex-direction: column;
    }
    .dl__btn {
        width: 100%;
        justify-content: center;
    }
}

/* ─── CTA Section ──────────────────────────────────────────────────────────── */

.cta-section {
    position: relative;
    min-height: 456px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--gray-200);
    background-color: var(--ultra-light-blue);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta__content {
    position: relative;
    z-index: 2;
    padding: 64px 60px 64px calc((100vw - var(--max-w)) / 2 + var(--container-padding));
    max-width: calc((100vw - var(--max-w)) / 2 + var(--container-padding) + 720px);
}

.cta__content .eyebrow {
    margin-bottom: var(--space-xl);
}

.cta__heading {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.5vw, 48px);
    font-weight: 800;
    line-height: 60px;
    color: var(--black);
    margin-bottom: 24px;
}

.cta__accent {
    color: var(--red);
}

.cta__desc {
    font-size: 14px;
    line-height: 28px;
    color: var(--black);
    max-width: 413px;
    margin-bottom: 32px;
}

.cta__desc strong {
    font-weight: 700;
}

.cta__btn-row {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.cta__btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.36px;
    text-transform: uppercase;
    text-decoration: none;
    width: 262px;
    height: 46px;
    border-radius: var(--radius);
    transition: background 0.2s, transform 0.2s;
}

.cta__btn-primary:hover {
    background: var(--red-dark);
    color: var(--white);
    transform: translateY(-1px);
}

.cta__btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--dark);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.36px;
    text-transform: uppercase;
    text-decoration: none;
    width: 262px;
    height: 46px;
    border-radius: var(--radius);
    border: 2px solid var(--black);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.cta__btn-outline:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-1px);
}

.cta__trial-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    font-weight: 700;
    color: var(--color-black);
    line-height: 28px;
}

.cta__trial-icon {
    width: 16px;
    height: 16px;
    background: var(--red);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .cta__content {
        padding: 48px var(--container-padding);
        max-width: 100%;
    }
    .cta__btn-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .cta__btn-primary,
    .cta__btn-outline {
        width: 100%;
    }
}

/* ============================================================
   TABS SECTION (Blog / News / Training)
   ============================================================ */

.tabs-section {
    padding: 80px 0;
    background: var(--ultra-light-blue);
}

.tabs-section .container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.tabs-section__header {
    margin-bottom: 40px;
}

.tabs-section__heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tabs-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    border-bottom: 2px solid var(--gray-200);
    margin-bottom: 40px;
}

.tabs-nav__btn {
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-black);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    padding: 12px 20px;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
}

.tabs-nav__btn:hover {
    color: var(--dark);
}

.tabs-nav__btn.is-active {
    color: var(--red);
    border-bottom-color: var(--red);
}

.tabs-panel {
    display: none;
}

.tabs-panel.is-active {
    display: block;
}

.tabs-panel__empty {
    padding: 48px 0;
    color: var(--color-black);
    font-size: 15px;
}

.tabs-section__view-all {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--red);
    text-decoration: none;
    transition: opacity 0.15s;
}

.tabs-section__view-all:hover {
    opacity: 0.75;
}

@media (max-width: 768px) {
    .tabs-section {
        padding: 56px 0;
    }
    .tabs-section__header {
        flex-direction: column;
        align-items: flex-start;
    }
    .tabs-nav {
        overflow-x: auto;
        scrollbar-width: none;
    }
    .tabs-nav::-webkit-scrollbar {
        display: none;
    }
    .tabs-nav__btn {
        white-space: nowrap;
        padding: 12px 14px;
    }
}

/* Globe label styles */
.why__globe .pg-labels { overflow: visible; }
.why__globe .pg-label  { z-index: 10; text-align: center; }
.why__globe .pg-name {
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 600;
    color: #cdd2da;
    letter-spacing: 0.03em;
    text-shadow: 0 1px 6px rgba(0,0,0,0.95), 0 0 12px rgba(0,0,0,0.8);
    display: block;
    white-space: nowrap;
    background: rgba(0,0,0,0.35);
    padding: 2px 6px;
    border-radius: var(--radius);
}
.why__globe .pg-reseller .pg-name { color: #9aa3b2; font-weight: 500; }
.why__globe .pg-hq .pg-name       { color: #E11B22; font-size: 11px; font-weight: 700; }
.why__globe .pg-branch .pg-name   { color: #ffd4a0; }
.why__globe .pg-city               { color: #7a8494; font-weight: 400; }

/* ── Search overlay ──────────────────────────────────────────────────────── */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
}
.search-overlay[hidden] { display: none; }
.search-overlay__bar {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding: 24px 40px;
    background: #111;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.search-overlay__logo {
    flex-shrink: 0;
}
.search-overlay__logo img {
    display: block;
    height: 22px;
    width: auto;
    opacity: 0.9;
}
.search-overlay__form {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 16px;
}
.search-overlay__input {
    flex: 1;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    outline: none;
    padding: 8px 0;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--white);
    background: transparent;
    transition: border-color 0.2s;
}
.search-overlay__input:focus {
    border-bottom-color: #E11B22;
}
.search-overlay__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}
.search-overlay__submit {
    flex-shrink: 0;
    background: #E11B22;
    border: none;
    border-radius: 2px;
    color: var(--white);
    cursor: pointer;
    padding: 10px 24px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s;
}
.search-overlay__submit:hover {
    background: #9F151A;
}
.search-overlay__close {
    flex-shrink: 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    margin-left: auto;
    transition: color 0.2s;
}
.search-overlay__close:hover { color: var(--white); }

.search-overlay__results {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
}
.search-overlay__results[hidden] { display: none; }
.search-results__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 20px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.15s;
}
.search-results__item:hover {
    background: rgba(255, 255, 255, 0.05);
}
.search-results__title {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.search-results__item:hover .search-results__title {
    color: #E11B22;
}
.search-results__type {
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}
.search-results__view-all {
    display: block;
    padding: 16px 20px;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 500;
    color: #E11B22;
    transition: opacity 0.15s;
}
.search-results__view-all:hover { opacity: 0.75; }
.search-results__empty {
    padding: 20px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ── Search form (used on results page via searchform.php) ───────────────── */
.prota-search-form {
    display: flex;
    align-items: stretch;
    max-width: 480px;
}
.prota-search-form__input {
    flex: 1;
    border: 1px solid #DCDDDE;
    border-right: none;
    border-radius: 2px 0 0 2px;
    padding: 12px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--black);
    outline: none;
    transition: border-color 0.2s;
}
.prota-search-form__input:focus {
    border-color: #E11B22;
}
.prota-search-form__btn {
    flex-shrink: 0;
    background: #E11B22;
    color: var(--white);
    border: none;
    border-radius: 0 2px 2px 0;
    padding: 12px 24px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}
.prota-search-form__btn:hover {
    background: #9F151A;
}

@media (max-width: 640px) {
    .search-overlay__bar { padding: 16px 20px; gap: var(--space-md); }
    .search-overlay__logo { display: none; }
    .search-overlay__results { padding: 0 20px; }
}
