:root {
    --cms-bg: #ffffff;
    --cms-surface: #f6f8fb;
    --cms-text: #18202f;
    --cms-muted: #647083;
    --cms-primary: #0f766e;
    --cms-secondary: #2563eb;
    --cms-accent: #e11d48;
    --cms-on-primary: var(--cms-bg);
    --cms-border: rgba(24,32,47,0.12);
    --cms-radius: 8px;
    --cms-shadow: 0 10px 35px rgba(15, 23, 42, 0.10);
    --cms-font: Arial, Helvetica, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--cms-bg);
    color: var(--cms-text);
    font-family: var(--cms-font);
    line-height: 1.5;
}

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

a:hover,
a:focus {
    color: var(--cms-primary);
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.cms-v7-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.cms-v7-main {
    flex: 1;
}

.cms-v7-container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.cms-v7-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--cms-border);
    background: color-mix(in srgb, var(--cms-bg) 92%, transparent);
    backdrop-filter: blur(14px);
}

.cms-v7-nav-inner {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cms-v7-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--cms-text);
    font-weight: 700;
}

.cms-v7-brand:hover,
.cms-v7-brand:focus {
    color: var(--cms-text);
    text-decoration: none;
}

.cms-v7-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: var(--cms-radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cms-text);
    color: var(--cms-bg);
    overflow: hidden;
}

.cms-v7-brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cms-v7-nav-toggle {
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cms-border);
    border-radius: var(--cms-radius);
    background: transparent;
    color: var(--cms-text);
    cursor: pointer;
    padding: 0;
}

.cms-v7-nav-toggle:hover,
.cms-v7-nav-toggle:focus {
    background: var(--cms-surface);
    outline: none;
}

.cms-v7-nav-links {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.cms-v7-nav-item {
    position: relative;
}

.cms-v7-nav-links a,
.cms-v7-nav-menu-button {
    color: var(--cms-muted);
    font-size: 14px;
}

.cms-v7-nav-links a:hover,
.cms-v7-nav-links a:focus,
.cms-v7-nav-menu-button:hover,
.cms-v7-nav-menu-button:focus {
    color: var(--cms-text);
    text-decoration: none;
}

.cms-v7-nav-link,
.cms-v7-nav-menu-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
}

.cms-v7-nav-menu-button {
    gap: 6px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.cms-v7-nav-caret {
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
}

.cms-v7-nav-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 190px;
    border: 1px solid var(--cms-border);
    border-radius: var(--cms-radius);
    background: var(--cms-bg);
    box-shadow: var(--cms-shadow);
    padding: 8px;
    display: none;
}

.cms-v7-nav-item.open .cms-v7-nav-menu,
.cms-v7-nav-item:hover .cms-v7-nav-menu {
    display: block;
}

.cms-v7-nav-menu a {
    display: block;
    padding: 9px 10px;
    border-radius: var(--cms-radius);
    color: var(--cms-text);
}

.cms-v7-nav-menu a:hover {
    background: var(--cms-surface);
}

.cms-v7-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: var(--cms-radius);
    border: 1px solid var(--cms-primary);
    background: var(--cms-primary);
    color: var(--cms-on-primary);
    cursor: pointer;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.cms-v7-button:visited {
    color: var(--cms-on-primary);
}

.cms-v7-button:hover,
.cms-v7-button:focus {
    border-color: color-mix(in srgb, var(--cms-primary) 84%, var(--cms-text));
    background: color-mix(in srgb, var(--cms-primary) 88%, var(--cms-text));
    color: var(--cms-on-primary);
    text-decoration: none;
    outline: none;
}

.cms-v7-button:focus-visible {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--cms-primary) 28%, transparent);
}

.cms-v7-button.secondary {
    border-color: var(--cms-border);
    background: transparent;
    color: var(--cms-text);
}

.cms-v7-button.secondary:visited {
    color: var(--cms-text);
}

.cms-v7-button.secondary:hover,
.cms-v7-button.secondary:focus {
    border-color: var(--cms-primary);
    background: color-mix(in srgb, var(--cms-primary) 10%, var(--cms-bg));
    color: var(--cms-primary);
}

.cms-v7-nav-links .cms-v7-button,
.cms-v7-nav-links .cms-v7-button:visited,
.cms-v7-nav-links .cms-v7-button:hover,
.cms-v7-nav-links .cms-v7-button:focus {
    color: var(--cms-on-primary);
}

.cms-v7-nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cms-v7-nav-action {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--cms-radius);
    background: transparent;
    color: var(--cms-muted);
    cursor: pointer;
    padding: 0;
}

.cms-v7-nav-action:hover,
.cms-v7-nav-action:focus {
    background: var(--cms-surface);
    color: var(--cms-text);
    outline: none;
}

.cms-v7-notification-bar {
    position: fixed;
    top: 76px;
    right: 16px;
    z-index: 60;
    width: min(328px, calc(100vw - 32px));
    max-height: calc(100vh - 104px);
    overflow-y: auto;
    border: 1px solid var(--cms-border);
    border-radius: var(--cms-radius);
    background: var(--cms-bg);
    box-shadow: var(--cms-shadow);
}

.cms-v7-notification-list {
    display: flex;
    flex-direction: column;
}

.cms-v7-notification-item + .cms-v7-notification-item {
    border-top: 1px solid var(--cms-border);
}

.cms-v7-notification-link {
    width: 100%;
    display: block;
    border: 0;
    background: transparent;
    color: var(--cms-text);
    cursor: pointer;
    padding: 12px 14px;
    text-align: left;
}

.cms-v7-notification-link:hover,
.cms-v7-notification-link:focus {
    background: var(--cms-surface);
    outline: none;
}

.cms-v7-notification-state {
    padding: 14px;
    color: var(--cms-muted);
    font-size: 14px;
}

#notifyappwindow .modal-body {
    min-height: 120px;
}

@media (min-width: 1152px) {
    .cms-v7-notification-bar {
        right: calc((100vw - 1120px) / 2);
    }
}

.cms-v7-page {
    animation: cms-v7-fade 180ms ease-out;
}

.cms-v7-animate-none {
    animation: none;
}

.cms-v7-animate-fade {
    animation: cms-v7-fade 420ms ease-out both;
}

.cms-v7-animate-fade-up {
    animation: cms-v7-fade-up 520ms ease-out both;
}

.cms-v7-animate-slide-left {
    animation: cms-v7-slide-left 520ms ease-out both;
}

.cms-v7-animate-slide-right {
    animation: cms-v7-slide-right 520ms ease-out both;
}

.cms-v7-animate-zoom {
    animation: cms-v7-zoom 520ms ease-out both;
}

.cms-v7-animate-pop {
    animation: cms-v7-pop 560ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cms-v7-section {
    padding: 64px 0;
}

.cms-v7-hero {
    min-height: 76vh;
    display: flex;
    align-items: center;
    background: var(--cms-surface);
}

.cms-v7-hero-carousel {
    position: relative;
    overflow: hidden;
    padding: 0;
}

.cms-v7-hero-track {
    position: relative;
    width: 100%;
    min-height: 76vh;
}

.cms-v7-hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateX(0) scale(1);
    transition: opacity 520ms ease, transform 520ms ease;
}

.cms-v7-hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.cms-v7-hero-carousel-slide .cms-v7-hero-slide {
    transform: translateX(28px);
}

.cms-v7-hero-carousel-slide .cms-v7-hero-slide.active {
    transform: translateX(0);
}

.cms-v7-hero-carousel-zoom .cms-v7-hero-slide {
    transform: scale(0.96);
}

.cms-v7-hero-carousel-zoom .cms-v7-hero-slide.active {
    transform: scale(1);
}

.cms-v7-hero-controls {
    position: absolute;
    left: 50%;
    bottom: 24px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(-50%);
}

.cms-v7-hero-controls button {
    width: 36px;
    height: 36px;
    border: 1px solid var(--cms-border);
    border-radius: 50%;
    background: color-mix(in srgb, var(--cms-bg) 88%, transparent);
    color: var(--cms-text);
    cursor: pointer;
    font-weight: 700;
}

.cms-v7-hero-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.cms-v7-hero-dots button {
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;
    padding: 0;
    border-color: var(--cms-primary);
    background: transparent;
}

.cms-v7-hero-dots button.active {
    background: var(--cms-primary);
}

.cms-v7-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 36px;
    align-items: center;
}

.cms-v7-eyebrow {
    color: var(--cms-primary);
    font-weight: 700;
    margin: 0 0 12px;
    text-transform: uppercase;
    font-size: 13px;
}

.cms-v7-hero h1,
.cms-v7-section h2 {
    margin: 0 0 16px;
    line-height: 1.08;
}

.cms-v7-hero h1 {
    font-size: 54px;
}

.cms-v7-section h2 {
    font-size: 34px;
}

.cms-v7-lead {
    color: var(--cms-muted);
    font-size: 18px;
    max-width: 680px;
}

.cms-v7-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.cms-v7-media {
    min-height: 360px;
    border-radius: var(--cms-radius);
    background: linear-gradient(135deg, color-mix(in srgb, var(--cms-primary) 75%, white), color-mix(in srgb, var(--cms-secondary) 72%, white));
    box-shadow: var(--cms-shadow);
    overflow: hidden;
}

.cms-v7-media img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    display: block;
}

.cms-v7-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.cms-v7-card {
    border: 1px solid var(--cms-border);
    border-radius: var(--cms-radius);
    padding: 22px;
    background: var(--cms-bg);
}

.cms-v7-card h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

.cms-v7-card p,
.cms-v7-copy {
    color: var(--cms-muted);
}

.cms-v7-split {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 34px;
    align-items: center;
}

.cms-v7-cta {
    padding: 44px;
    border-radius: var(--cms-radius);
    background: var(--cms-text);
    color: var(--cms-bg);
}

.cms-v7-cta p {
    color: color-mix(in srgb, var(--cms-bg) 78%, transparent);
}

.cms-v7-footer {
    border-top: 1px solid var(--cms-border);
    padding: 36px 0;
    background: var(--cms-surface);
}

.cms-v7-footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
}

.cms-v7-footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--cms-muted);
    font-size: 14px;
}

.cms-v7-theme-changer {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 70;
}

.cms-v7-theme-toggle {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--cms-border);
    border-radius: 50%;
    background: var(--cms-bg);
    color: var(--cms-text);
    box-shadow: var(--cms-shadow);
    cursor: pointer;
}

.cms-v7-theme-panel {
    position: absolute;
    right: 0;
    bottom: 54px;
    width: 240px;
    border: 1px solid var(--cms-border);
    border-radius: var(--cms-radius);
    background: var(--cms-bg);
    box-shadow: var(--cms-shadow);
    padding: 10px;
}

.cms-v7-theme-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border: 0;
    border-radius: var(--cms-radius);
    background: transparent;
    color: var(--cms-text);
    cursor: pointer;
    text-align: left;
}

.cms-v7-theme-option:hover,
.cms-v7-theme-option.active {
    background: var(--cms-surface);
}

.cms-v7-swatch {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--cms-border);
    background: linear-gradient(135deg, var(--swatch-a), var(--swatch-b));
    flex: 0 0 auto;
}

.cms-v7-empty,
.cms-v7-error,
.cms-v7-loading {
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--cms-muted);
}

@keyframes cms-v7-fade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cms-v7-fade-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cms-v7-slide-left {
    from {
        opacity: 0;
        transform: translateX(28px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes cms-v7-slide-right {
    from {
        opacity: 0;
        transform: translateX(-28px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes cms-v7-zoom {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes cms-v7-pop {
    0% {
        opacity: 0;
        transform: scale(0.94) translateY(12px);
    }
    70% {
        opacity: 1;
        transform: scale(1.01) translateY(0);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 760px) {
    .cms-v7-footer-grid {
        align-items: flex-start;
        flex-direction: column;
    }

    .cms-v7-nav-inner {
        min-height: 60px;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 0;
    }

    .cms-v7-brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .cms-v7-brand > span:last-child {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .cms-v7-nav-toggle {
        display: inline-flex;
    }

    .cms-v7-nav-links {
        align-items: flex-start;
        flex-direction: column;
        display: none;
        gap: 4px;
        width: 100%;
        margin-top: 2px;
        padding: 8px 0 4px;
        border-top: 1px solid var(--cms-border);
    }

    .cms-v7-nav-links.open {
        display: flex;
    }

    .cms-v7-nav-item,
    .cms-v7-nav-link,
    .cms-v7-nav-menu-button {
        width: 100%;
    }

    .cms-v7-nav-link,
    .cms-v7-nav-menu-button {
        justify-content: space-between;
    }

    .cms-v7-nav-menu {
        position: static;
        min-width: 100%;
        margin: 0 0 6px;
        box-shadow: none;
    }

    .cms-v7-nav-links > .cms-v7-button {
        width: 100%;
    }

    .cms-v7-nav-actions {
        justify-content: flex-end;
        width: 100%;
        padding-top: 4px;
    }

    .cms-v7-notification-bar {
        top: 76px;
        left: 16px;
        right: 16px;
        width: auto;
        max-height: calc(100vh - 108px);
    }

    .cms-v7-hero-grid,
    .cms-v7-split,
    .cms-v7-card-grid {
        grid-template-columns: 1fr;
    }

    .cms-v7-hero {
        min-height: auto;
        padding: 38px 0;
    }

    .cms-v7-hero-carousel {
        padding: 0;
    }

    .cms-v7-hero-track {
        min-height: 620px;
    }

    .cms-v7-hero-slide {
        align-items: flex-start;
        padding: 38px 0 84px;
    }

    .cms-v7-section {
        padding: 42px 0;
    }

    .cms-v7-hero h1 {
        font-size: 38px;
    }
}
