:root {
    --public-header-bg: rgba(8, 15, 30, 0.9);
    --public-header-border: rgba(125, 211, 252, 0.32);
    --public-pill-bg: rgba(15, 23, 42, 0.7);
    --public-pill-border: rgba(148, 163, 184, 0.24);
    --public-pill-text: #dbeafe;
    --public-pill-muted: #94a3b8;
    --public-pill-active-start: #2563eb;
    --public-pill-active-end: #1d4ed8;
    --public-header-offset: 5.5rem;
    --public-header-offset-mobile: 4.85rem;
}

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

.has-public-header {
    padding-top: 0 !important;
}

.public-page-offset.section {
    padding-top: calc(40px + var(--public-header-offset));
}

.public-page-offset.content-section {
    padding-top: calc(2rem + var(--public-header-offset));
}

.public-page-title {
    margin: 0 0 1.25rem;
    max-width: 18ch;
    color: #f8fafc;
    font-size: clamp(1.8rem, 3.8vw, 2.85rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.public-page-title--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.public-section-title {
    margin-bottom: 2.5rem;
    max-width: 18ch;
    color: #bfdbfe;
    font-size: clamp(1.75rem, 2.6vw, 3rem);
    font-weight: 800;
    line-height: 1.16;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.public-section-title--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.public-section-title--left {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
}

.public-section-title--dark {
    color: #0f172a;
}

.public-section-title--spacious {
    margin-bottom: 3.5rem;
}

.public-card-title {
    margin: 0 0 0.85rem;
    color: #f8fafc;
    font-size: clamp(1.15rem, 1.6vw, 1.4rem);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.public-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1050;
    padding: 0.8rem 0;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(8, 15, 30, 0.9)),
        var(--public-header-bg);
    border-bottom: 1px solid var(--public-header-border);
    box-shadow: 0 20px 50px rgba(2, 6, 23, 0.28);
    backdrop-filter: blur(16px);
}

.public-header__inner {
    position: relative;
    width: min(72rem, calc(100% - 1.5rem));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.public-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ffffff;
    text-decoration: none;
}

.public-brand:hover {
    color: #ffffff;
}

.public-brand__mark {
    width: 3rem;
    height: 3rem;
    object-fit: contain;
    border-radius: 1rem;
    padding: 0.3rem;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(125, 211, 252, 0.24);
    box-shadow: 0 10px 20px rgba(2, 6, 23, 0.2);
}

.public-brand__text {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.public-brand__title {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.public-brand__subtitle {
    color: var(--public-pill-muted);
    font-size: 0.76rem;
    line-height: 1.2;
    margin-top: 0.15rem;
}

.public-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    min-width: 2.75rem;
    padding: 0.7rem;
    border: 1px solid rgba(125, 211, 252, 0.32);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.76);
    color: #eff6ff;
    font-weight: 700;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.public-nav-toggle:hover {
    background: rgba(30, 41, 59, 0.92);
    border-color: rgba(125, 211, 252, 0.5);
    transform: translateY(-1px);
}

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

.public-nav-toggle__bars {
    display: grid;
    gap: 0.22rem;
    width: 1rem;
}

.public-nav-toggle__bars span {
    display: block;
    width: 100%;
    height: 0.12rem;
    border-radius: 999px;
    background: currentColor;
    transform-origin: center;
    transition: transform 0.24s ease, opacity 0.18s ease;
}

.public-nav-toggle[aria-expanded="true"] .public-nav-toggle__bars span:nth-child(1) {
    transform: translateY(0.34rem) rotate(45deg);
}

.public-nav-toggle[aria-expanded="true"] .public-nav-toggle__bars span:nth-child(2) {
    opacity: 0;
}

.public-nav-toggle[aria-expanded="true"] .public-nav-toggle__bars span:nth-child(3) {
    transform: translateY(-0.34rem) rotate(-45deg);
}

.public-nav-menu {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.public-nav-list {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.public-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.72rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--public-pill-border);
    background: var(--public-pill-bg);
    color: var(--public-pill-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.public-nav-link:hover {
    color: #ffffff;
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(125, 211, 252, 0.46);
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 18px rgba(2, 6, 23, 0.12);
}

.public-nav-link--active,
.public-nav-link[aria-current="page"] {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--public-pill-active-start), var(--public-pill-active-end));
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

.public-nav-link--active:hover,
.public-nav-link[aria-current="page"]:hover {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, var(--public-pill-active-start), var(--public-pill-active-end));
    box-shadow: 0 14px 30px rgba(37, 99, 235, 0.28);
}

.public-lang-switch {
    --lang-switch-padding: 0.28rem;
    --lang-switch-gap: 0.3rem;
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: var(--lang-switch-gap);
    padding: var(--lang-switch-padding);
    border-radius: 999px;
    border: 1px solid var(--public-pill-border);
    background: rgba(15, 23, 42, 0.76);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    isolation: isolate;
    overflow: hidden;
}

.public-lang-switch::before {
    content: "";
    position: absolute;
    top: var(--lang-switch-padding);
    bottom: var(--lang-switch-padding);
    left: var(--lang-switch-padding);
    width: calc((100% - (var(--lang-switch-padding) * 2) - var(--lang-switch-gap)) / 2);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--public-pill-active-start), var(--public-pill-active-end));
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.26);
    transform: translateX(0);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease;
    z-index: 0;
}

.public-lang-switch[data-active-lang="en"]::before {
    transform: translateX(calc(100% + var(--lang-switch-gap)));
}

.public-lang-switch .lang-btn {
    position: relative;
    z-index: 1;
    border: 0;
    background: transparent;
    color: #cbd5e1;
    border-radius: 999px;
    padding: 0.56rem 0.8rem;
    min-width: 2.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: color 0.24s ease, transform 0.2s ease;
}

.public-lang-switch .lang-btn:hover {
    color: #ffffff;
    transform: translateY(-1px);
}

.public-lang-switch .lang-btn.active {
    color: #ffffff;
    background: transparent;
    text-decoration: none;
}

.custom-select {
    position: relative;
    width: 100%;
}

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

.custom-select__trigger {
    width: 100%;
    min-height: 3.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(125, 211, 252, 0.28);
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.74);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.custom-select__trigger:hover {
    border-color: rgba(125, 211, 252, 0.48);
    background: rgba(15, 23, 42, 0.88);
    transform: translateY(-1px);
}

.custom-select__trigger:focus-visible {
    outline: none;
    border-color: rgba(96, 165, 250, 0.74);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.custom-select__trigger[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.custom-select__trigger.is-placeholder .custom-select__trigger-label {
    color: #94a3b8;
}

.custom-select__trigger-label {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.custom-select__chevron {
    flex: 0 0 auto;
    display: inline-grid;
    place-items: center;
    width: 1rem;
    height: 1rem;
    color: #93c5fd;
    transition: transform 0.24s ease, color 0.2s ease;
}

.custom-select__chevron svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.custom-select.is-open .custom-select__chevron {
    transform: rotate(180deg);
    color: #dbeafe;
}

.custom-select__panel {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    z-index: 60;
    padding: 0 0.4rem;
    border: 1px solid rgba(125, 211, 252, 0);
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.97);
    box-shadow: 0 0 0 rgba(2, 6, 23, 0);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.15rem) scaleY(0.9);
    transform-origin: top center;
    transition:
        max-height 0.44s cubic-bezier(0.22, 1, 0.36, 1),
        padding 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.24s ease 0.14s,
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        visibility 0s linear 0.44s;
    max-height: 0;
    overflow: hidden;
}

.custom-select.is-open .custom-select__panel {
    max-height: 16rem;
    padding: 0.4rem;
    border-color: rgba(125, 211, 252, 0.26);
    box-shadow: 0 22px 44px rgba(2, 6, 23, 0.32);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scaleY(1);
    transition:
        max-height 0.44s cubic-bezier(0.22, 1, 0.36, 1),
        padding 0.38s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.26s ease,
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        visibility 0s linear 0s;
    overflow-y: auto;
}

.custom-select__panel > * {
    opacity: 0;
    transform: translateY(-0.35rem);
    transition:
        opacity 0.18s ease,
        transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.custom-select.is-open .custom-select__panel > * {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.08s;
}

.custom-select__option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.8rem 0.85rem;
    border: 0;
    border-radius: 0.8rem;
    background: transparent;
    color: #dbeafe;
    font-size: 0.94rem;
    line-height: 1.45;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.custom-select__option:hover,
.custom-select__option:focus-visible {
    outline: none;
    background: rgba(30, 41, 59, 0.92);
    color: #ffffff;
}

.custom-select__option.is-selected {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.9), rgba(29, 78, 216, 0.92));
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}

.custom-select__option:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}

.custom-select__option-label {
    min-width: 0;
    flex: 1 1 auto;
}

.custom-select__option-check {
    flex: 0 0 auto;
    color: #dbeafe;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.custom-select__option.is-selected .custom-select__option-check {
    opacity: 1;
    transform: scale(1);
}

.custom-select--sm .custom-select__trigger {
    min-height: 2.75rem;
    padding: 0.78rem 0.95rem;
    border-radius: 0.75rem;
}

.custom-select--sm .custom-select__panel {
    border-radius: 0.9rem;
}

.custom-select--sm .custom-select__option {
    padding: 0.72rem 0.78rem;
    border-radius: 0.72rem;
}

.mobile-call-button {
    position: fixed;
    right: 1rem;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    z-index: 1040;
    display: none;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 1px solid rgba(125, 211, 252, 0.22);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(14px);
    color: #93c5fd;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(2, 6, 23, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.mobile-call-button:hover {
    color: #bfdbfe;
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(2, 6, 23, 0.26);
}

.mobile-call-button__icon {
    display: inline-grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.16);
    line-height: 1;
}

.mobile-call-button__icon svg {
    width: 0.95rem;
    height: 0.95rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cookie-banner-active .mobile-call-button,
body.public-nav-open .mobile-call-button {
    opacity: 0;
    pointer-events: none;
    transform: translateY(0.75rem);
}

@media (max-width: 900px) {
    .public-page-offset.section {
        padding-top: calc(60px + var(--public-header-offset-mobile));
    }

    .public-page-offset.content-section {
        padding-top: calc(0.5rem + var(--public-header-offset-mobile));
    }

    body.public-nav-open {
        overflow: hidden;
    }

    .public-header__inner {
        width: min(100%, calc(100% - 1rem));
        gap: 0.75rem;
    }

    .public-header {
        padding: 0.65rem 0;
    }

    .public-brand__subtitle {
        display: none;
    }

    .public-brand__mark {
        width: 2.6rem;
        height: 2.6rem;
        border-radius: 0.9rem;
    }

    .public-brand__title {
        font-size: 0.96rem;
    }

    .public-nav-toggle {
        display: inline-flex;
        min-height: 2.6rem;
        min-width: 2.6rem;
        padding: 0.68rem;
    }

    .public-nav-menu {
        position: absolute;
        inset: calc(100% - 1px) calc(50% - 50vw) auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0.9rem;
        padding: 0.8rem 0.9rem 1rem;
        max-height: calc(100vh - 5.75rem);
        overflow-y: auto;
        border-radius: 0 0 1.35rem 1.35rem;
        border: 1px solid rgba(125, 211, 252, 0.32);
        border-top: 0;
        border-left: 0;
        border-right: 0;
        background:
            linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(8, 15, 30, 0.98));
        box-shadow: 0 24px 60px rgba(2, 6, 23, 0.42);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-0.85rem) scaleY(0.97);
        transform-origin: top center;
        transition:
            opacity 0.24s ease,
            transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0.3s;
    }

    .public-nav-menu.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scaleY(1);
        transition:
            opacity 0.24s ease,
            transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0s linear 0s;
    }

    .public-nav-menu[hidden] {
        display: none !important;
    }

    .public-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    .public-nav-link {
        width: 100%;
        justify-content: space-between;
        padding: 0.95rem 1rem;
        border-radius: 1rem;
        background: rgba(15, 23, 42, 0.9);
        border-color: rgba(125, 211, 252, 0.24);
    }

    .public-nav-link::after {
        content: "";
        width: 0.58rem;
        height: 0.58rem;
        border-top: 2px solid currentColor;
        border-right: 2px solid currentColor;
        transform: rotate(45deg);
        opacity: 0.65;
        flex: 0 0 auto;
    }

    .public-nav-link--active::after,
    .public-nav-link[aria-current="page"]::after {
        opacity: 1;
    }

    .public-lang-switch {
        width: 100%;
        --lang-switch-padding: 0.35rem;
        justify-content: stretch;
        padding: var(--lang-switch-padding);
        border-radius: 1rem;
        border-color: rgba(125, 211, 252, 0.26);
        background: rgba(15, 23, 42, 0.9);
    }

    .public-lang-switch .lang-btn {
        flex: 1 1 0;
        padding: 0.75rem 0.8rem;
    }

    .mobile-call-button {
        display: inline-flex;
    }

    .custom-select__panel {
        top: calc(100% + 0.45rem);
        max-height: 14rem;
    }

    .custom-select__option {
        padding: 0.75rem 0.8rem;
    }
}

.welcome-container {
  gap: 0.5rem;
  display: flex;
  flex-direction: column;
}
