﻿:root {
    --bg: #f4f2ea;
    --bg-soft: #fffaf0;
    --ink: #12212f;
    --ink-soft: #385067;
    --line: #c9d0d4;
    --brand: #ff5a36;
    --brand-dark: #d83e1f;
    --accent: #0f8f8a;
    --panel: #ffffff;
    --shadow: 0 18px 40px rgba(19, 36, 49, 0.12);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.92) 0, rgba(255, 255, 255, 0.32) 15%, transparent 35%),
        radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.85) 0, rgba(255, 255, 255, 0.22) 14%, transparent 32%),
        radial-gradient(circle at 18% 82%, rgba(167, 223, 255, 0.34) 0, rgba(167, 223, 255, 0.16) 18%, transparent 38%),
        radial-gradient(circle at 78% 72%, rgba(111, 229, 216, 0.28) 0, rgba(111, 229, 216, 0.12) 18%, transparent 34%),
        linear-gradient(135deg, rgba(246, 250, 255, 0.98) 0%, rgba(234, 244, 251, 0.95) 32%, rgba(245, 251, 247, 0.96) 66%, rgba(255, 248, 241, 0.95) 100%);
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

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

.orb {
    position: fixed;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    z-index: -1;
    filter: blur(70px);
    opacity: 0.6;
}

.orb-left {
    top: -90px;
    left: -90px;
    background: rgba(255, 255, 255, 0.42);
}

.orb-right {
    right: -90px;
    bottom: -100px;
    background: rgba(152, 224, 236, 0.3);
}

.topbar {
    position: relative;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    grid-template-areas: "brand logo right";
    align-items: center;
    gap: 24px;
    padding: 28px 0;
}

.brand {
    grid-area: brand;
    font-family: "Unbounded", "Segoe UI", sans-serif;
    font-size: clamp(18px, 2.2vw, 25px);
    font-weight: 700;
    letter-spacing: 0.01em;
    white-space: nowrap;
    justify-self: start;
}

.brand span {
    color: var(--brand);
}

.header-logo-wrap {
    grid-area: logo;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
}

.header-logo {
    width: var(--header-logo-width, 84px);
    max-width: 150px;
    min-width: 44px;
    height: auto;
    display: block;
}

.header-right {
    grid-area: right;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 24px;
    justify-self: stretch;
}

.topnav-shell {
    display: block;
    justify-self: center;
}

.topnav {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.topnav a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.topnav a:hover {
    border-color: rgba(18, 33, 47, 0.34);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(18, 33, 47, 0.22);
    background: rgba(255, 255, 255, 0.95);
    cursor: pointer;
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
    box-shadow: 0 8px 20px rgba(17, 36, 52, 0.12);
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    border-radius: 99px;
    background: #18344a;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.header-right.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.header-right.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.header-right.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

.header-contact-block {
    text-align: right;
    display: grid;
    gap: 5px;
    margin-top: 0;
    justify-items: end;
}

.header-phone {
    text-decoration: none;
    color: var(--ink);
    font-weight: 800;
    font-size: 20px;
    line-height: 1;
}

.header-socials-wrap {
    display: grid;
    gap: 4px;
    justify-items: end;
}

.header-socials-wrap > span {
    font-size: 12px;
    color: var(--ink-soft);
}

.social-links {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.social-link {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(86, 107, 125, 0.38);
    background: rgba(255, 255, 255, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #294055;
    font-weight: 700;
    font-size: 12px;
    overflow: hidden;
}

.social-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    background: linear-gradient(90deg, var(--brand) 0%, #ff8152 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 800;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(255, 90, 54, 0.28);
    filter: saturate(1.08);
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.hero {
    display: grid;
    grid-template-columns: 1.25fr 0.8fr;
    gap: 26px;
    align-items: stretch;
    margin: 20px auto 8px;
}

.hero-content,
.hero-panel {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(201, 208, 212, 0.8);
    border-radius: 22px;
    box-shadow: var(--shadow);
}

.hero-content {
    padding: clamp(24px, 4vw, 42px);
}

.hero-panel {
    padding: clamp(22px, 3vw, 28px);
    display: grid;
    gap: 12px;
}

.badge,
.eyebrow {
    margin: 0;
    display: inline-block;
    border: 1px solid var(--eyebrow-border-color, rgba(18, 33, 47, 0.18));
    border-radius: 999px;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--eyebrow-text-color, var(--ink-soft));
    background: var(--eyebrow-bg-color, transparent);
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    font-weight: 800;
    line-height: 1.15;
}

h1 {
    margin-top: 16px;
    font-size: clamp(30px, 4.9vw, 56px);
}

h2 {
    font-size: clamp(24px, 3vw, 38px);
}

h3 {
    font-size: 22px;
}

.hero-main-heading {
    margin-top: 16px;
}

.hero-subheading {
    margin-top: 12px;
    font-size: clamp(22px, 3.8vw, 44px);
    line-height: 1.12;
}

.lead {
    margin: 18px 0 0;
    font-size: clamp(17px, 1.8vw, 21px);
    color: var(--ink-soft);
    max-width: 60ch;
}

.hero-media {
    margin: 18px 0 14px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(18, 33, 47, 0.12);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(237, 244, 247, 0.95));
    box-shadow: 0 16px 28px rgba(20, 39, 56, 0.08);
}

.hero-media.hero-media-has-ratio {
    aspect-ratio: var(--hero-media-aspect-ratio);
}

.hero-media-visual {
    display: block;
    width: 100%;
}

.hero-media.hero-media-has-ratio .hero-media-visual {
    height: 100%;
}

.hero-media-video {
    height: clamp(240px, 32vw, 420px);
    object-fit: cover;
    object-position: center;
}

.hero-media-image {
    height: clamp(280px, 38vw, 620px);
    object-fit: cover;
    object-position: center top;
}

.hero-media.hero-media-has-ratio .hero-media-video,
.hero-media.hero-media-has-ratio .hero-media-image {
    height: 100%;
}

.hero-media.fade-up {
    animation: heroMediaFadeUp 0.8s ease both;
}

.hero-media.zoom-in {
    animation: heroMediaZoom 0.8s ease both;
}

.hero-media.slide-in {
    animation: heroMediaSlide 0.85s ease both;
}

.hero-media.float-in {
    animation: heroMediaFloat 1s ease both;
}

.hero-media-static {
    animation: none;
}

.cta-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 30px 0 26px;
}

.stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding: 0;
    margin: 0;
}

.stats li {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.75);
}

.stats strong {
    display: block;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 4px;
}

.stats span {
    color: var(--ink-soft);
    font-size: 13px;
}

.hero-panel h2 {
    margin-bottom: 14px;
    font-size: clamp(20px, 2.4vw, 30px);
}

.hero-lead-description {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.5;
    font-size: 15px;
}

.hero-form-wrap {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.88);
    min-height: 220px;
}

.section {
    margin: 72px auto 0;
}

.editable-section {
    border-radius: 22px;
    padding: clamp(16px, 2.2vw, 24px);
    border: 1px solid rgba(18, 33, 47, 0.08);
}

.section-head {
    margin-bottom: 22px;
}

.section-head h2 {
    margin-top: 14px;
}

.section-text {
    margin: 12px 0 0;
    color: var(--ink-soft);
    max-width: 70ch;
    line-height: 1.5;
}

.ticker-wrap {
    border-top: 1px solid rgba(18, 33, 47, 0.09);
    border-bottom: 1px solid rgba(18, 33, 47, 0.09);
    background: rgba(255, 255, 255, 0.35);
    overflow: hidden;
    margin-top: 24px;
    padding: 10px 0 0;
}

.ticker {
    display: flex;
    width: max-content;
    gap: 34px;
    padding: 12px 0;
    animation: ticker var(--ticker-duration, 24s) linear infinite;
    animation-direction: var(--ticker-direction, normal);
}

.ticker span {
    font-family: "Unbounded", "Segoe UI", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

@keyframes ticker {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.experience-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.experience-card {
    border: 1px solid rgba(146, 162, 173, 0.45);
    border-radius: 20px;
    padding: clamp(16px, 2.4vw, 22px);
    background: rgba(255, 255, 255, 0.78);
    display: grid;
    gap: 12px;
    align-content: start;
}

.benefits-title {
    margin: 0;
    font-size: clamp(24px, 2.4vw, 34px);
}

.experience-image {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(128, 145, 160, 0.45);
    position: relative;
}

.experience-image img {
    width: 100%;
    height: auto;
    object-fit: unset;
    object-position: unset;
    background: transparent;
    display: block;
}

.experience-image figcaption {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 10px;
    margin: 0;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(8, 20, 31, 0.66);
    color: #fff;
    font-size: 13px;
    line-height: 1.3;
}

.experience-cta-card h3 {
    font-size: clamp(20px, 2vw, 28px);
}

.experience-cta-card p {
    margin: 0;
    color: #3f5568;
    line-height: 1.45;
    font-size: 15px;
}

.experience-cta-image {
    width: 100%;
    height: auto;
    object-fit: unset;
    object-position: unset;
    background: transparent;
    border-radius: 12px;
    border: 1px solid rgba(18, 33, 47, 0.16);
}

.experience-cta-text {
    font-weight: 600;
    color: #20425e;
}

.benefits-table {
    border: 1px solid rgba(174, 174, 174, 0.45);
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.7);
}

.benefit-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #d7d7d7;
}

.benefit-row:last-child {
    border-bottom: 0;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 14px;
}

.benefit-item span {
    color: #ff4c20;
    font-weight: 800;
    font-size: 20px;
    line-height: 1;
}

.benefit-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

.popup-open {
    border: 0;
    min-height: 48px;
}

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

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 18px rgba(18, 33, 47, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 24px rgba(18, 33, 47, 0.11);
}

.card h3 {
    font-size: 20px;
}

.card p {
    margin: 12px 0 10px;
    color: var(--ink-soft);
    line-height: 1.5;
}

.card span:not(.program-card-title-label):not(.card-cta-label) {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0d5f6e;
    font-weight: 700;
}

.program-card {
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    perspective: 1400px;
}

.program-card-toggle {
    width: 100%;
    min-height: var(--program-card-min-height, 300px);
    border: 0;
    background: transparent;
    padding: 0;
    text-align: left;
    cursor: pointer;
    color: inherit;
    font: inherit;
    display: block;
}

.program-card-inner {
    position: relative;
    display: block;
    width: 100%;
    min-height: var(--program-card-min-height, 300px);
    transition: transform 0.7s ease;
    transform-style: preserve-3d;
}

.program-card.is-flipped .program-card-inner {
    transform: rotateY(180deg);
}

.program-card-face {
    position: absolute;
    inset: 0;
    display: block;
    padding: var(--program-card-padding, 18px);
    border-radius: var(--program-card-radius, 16px);
    background: var(--program-card-bg, var(--panel));
    border: 1px solid var(--program-card-border, var(--line));
    box-shadow: 0 10px 18px rgba(18, 33, 47, 0.06);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    color: var(--program-card-text, var(--ink));
}

.program-card-front-content,
.program-card-back-content {
    display: grid;
    gap: 10px;
    min-height: 100%;
    align-content: start;
}

.program-card-front-content {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.program-card-front {
    transform: rotateY(0deg);
    padding: 0;
    overflow: hidden;
}

.program-card-front::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 28%, rgba(18, 33, 47, 0.06) 100%);
    pointer-events: none;
    z-index: 1;
}

.program-card-back {
    transform: rotateY(180deg);
    background:
        radial-gradient(circle at top right, rgba(255, 130, 84, 0.12), transparent 38%),
        linear-gradient(155deg, var(--program-card-back-bg, #fffaf1) 0%, var(--program-card-back-bg, #fffaf1) 100%);
}

.program-card-title-label {
    display: inline-block;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    margin-bottom: var(--program-card-label-gap, 8px);
    background: var(--program-card-label-bg, #f4a142);
    color: var(--program-card-label-text, #385067);
    font-size: var(--program-card-label-size, 12px);
    font-weight: 800;
    line-height: 1.15;
}

.program-card-label-left .program-card-front-content > .program-card-title-label,
.program-card-label-left .program-card-front-content > h3 {
    margin-left: var(--program-card-label-side-offset, 18px);
    margin-right: auto;
}

.program-card-label-center .program-card-front-content > .program-card-title-label,
.program-card-label-center .program-card-front-content > h3 {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.program-card-label-right .program-card-front-content > .program-card-title-label,
.program-card-label-right .program-card-front-content > h3 {
    margin-left: auto;
    margin-right: var(--program-card-label-side-offset, 18px);
    text-align: right;
}

.program-card-label-left .program-card-back-content > .program-card-title-label {
    justify-self: start;
}

.program-card-label-center .program-card-back-content > .program-card-title-label {
    justify-self: center;
    text-align: center;
}

.program-card-label-right .program-card-back-content > .program-card-title-label {
    justify-self: end;
    margin-right: var(--program-card-label-side-offset, 18px);
    text-align: right;
}

.program-card h3 {
    font-size: var(--program-card-title-size, 18px);
    line-height: 1.18;
    color: var(--program-card-text, var(--ink));
}

.program-card-subtitle {
    position: relative;
    z-index: 2;
    margin: -4px 0 12px;
    font-size: var(--program-card-subtitle-size, 14px);
    line-height: 1.35;
    color: color-mix(in srgb, var(--program-card-text, var(--ink)) 78%, white 22%);
}

.program-card-media {
    display: block;
    width: 100%;
    min-height: 0;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(18, 33, 47, 0.1);
    background: #edf3f6;
}

.program-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.program-card-front-content > .program-card-title-label,
.program-card-front-content > h3 {
    position: relative;
    z-index: 2;
    margin-top: var(--program-card-padding, 18px);
    margin-bottom: 12px;
}

.program-card-front-content > .program-card-subtitle {
    margin-left: var(--program-card-padding, 18px);
    margin-right: var(--program-card-padding, 18px);
    text-shadow: 0 2px 10px rgba(9, 19, 29, 0.18);
}

.program-card-front .program-card-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.program-card-front .program-card-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
}

.program-card-front-content > span:not(.program-card-media):not(.program-card-title-label) {
    position: absolute;
    left: var(--program-card-padding, 18px);
    right: var(--program-card-padding, 18px);
    bottom: var(--program-card-padding, 18px);
    z-index: 2;
}

.program-card-back p {
    margin: 0;
    color: color-mix(in srgb, var(--program-card-text, var(--ink)) 78%, white 22%);
    font-size: var(--program-card-description-size, 15px);
    line-height: 1.55;
}

.program-card span:not(.program-card-title-label) {
    color: color-mix(in srgb, var(--program-card-text, var(--ink)) 72%, var(--accent) 28%);
}

.card-cta {
    display: grid;
    gap: 12px;
    align-content: space-between;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 34%),
        linear-gradient(150deg, var(--programs-cta-bg, #15384b) 0%, color-mix(in srgb, var(--programs-cta-bg, #15384b) 88%, #0f8f8a 12%) 100%);
    border-color: rgba(10, 38, 53, 0.2);
    color: var(--programs-cta-title-color, #fff);
    min-height: 100%;
}

.card-cta:hover {
    box-shadow: 0 18px 28px rgba(15, 53, 76, 0.2);
}

.card-cta .card-cta-label {
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: var(--programs-cta-badge-bg, rgba(255, 255, 255, 0.14));
    border: 1px solid var(--programs-cta-badge-border, rgba(255, 255, 255, 0.2));
    color: var(--programs-cta-badge-text, #fff);
    letter-spacing: 0.08em;
}

.card-cta h3 {
    color: var(--programs-cta-title-color, #fff);
    font-size: var(--programs-cta-title-size, 22px);
    margin: 0;
}

.card-cta p {
    color: var(--programs-cta-text-color, rgba(243, 249, 252, 0.92));
    font-size: var(--programs-cta-text-size, 15px);
    margin: 0 0 4px;
}

.card-cta-button {
    width: var(--programs-cta-button-width, 100%);
    justify-self: start;
    background: var(--programs-cta-button-bg, #fff);
    color: var(--programs-cta-button-text, #143145);
    border-radius: var(--programs-cta-button-radius, 16px);
    font-size: var(--programs-cta-button-size, 16px);
    box-shadow: none;
}

.card-cta-button:hover {
    box-shadow: 0 12px 22px rgba(6, 19, 28, 0.16);
}

@keyframes heroMediaFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroMediaZoom {
    from {
        opacity: 0;
        transform: scale(0.94);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes heroMediaSlide {
    from {
        opacity: 0;
        transform: translateX(28px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroMediaFloat {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.98);
    }
    60% {
        opacity: 1;
        transform: translateY(-4px) scale(1);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    border: 1px solid #99a4b0;
    background: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.chip-with-tooltip {
    position: relative;
}

.chip-with-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translateX(-50%) translateY(6px);
    min-width: max-content;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(18, 33, 47, 0.18);
    background: rgba(16, 30, 43, 0.95);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 40;
    box-shadow: 0 12px 24px rgba(4, 11, 17, 0.28);
}

.chip-with-tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.country-flag {
    width: 1.1em;
    height: 1.1em;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(18, 33, 47, 0.2);
}

.formats .format-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.format-card,
.format-form-card {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 20px rgba(18, 33, 47, 0.08);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
}

.format-card h3,
.format-form-card h3 {
    font-size: 21px;
}

.format-desc,
.format-form-card p {
    margin: 10px 0 12px;
    color: var(--ink-soft);
    line-height: 1.45;
}

.format-card ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 7px;
}

.format-content-blocks {
    display: grid;
    gap: 12px;
}

.format-content-block {
    padding: var(--format-block-padding-y, 14px) var(--format-block-padding-x, 16px);
    border-radius: var(--format-block-radius, 16px);
    border: 1px solid var(--format-block-border, rgba(18, 33, 47, 0.12));
    background: var(--format-block-bg, rgba(255, 255, 255, 0.72));
    color: var(--format-block-text, var(--ink));
}

.format-content-intro {
    margin: 0;
    font-size: var(--format-block-intro-size, 16px);
    line-height: 1.45;
    font-weight: 700;
    color: inherit;
}

.format-content-list {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.format-content-list li {
    position: relative;
    padding-left: 26px;
    font-size: var(--format-block-bullet-size, 15px);
    line-height: 1.45;
    color: inherit;
}

.format-content-list li::before {
    content: attr(data-bullet-symbol);
    position: absolute;
    top: 0;
    left: 0;
    color: var(--format-block-bullet-color, #1f9d55);
    font-weight: 800;
    line-height: 1.2;
}

.format-card small {
    display: block;
    margin-top: 12px;
    color: #215e57;
    font-weight: 700;
}

.format-form-note {
    margin: 14px 0 10px;
    color: var(--ink-soft);
    line-height: 1.45;
}

.format-actions {
    display: grid;
    gap: 10px;
}

.format-actions-sticky {
    margin-top: auto;
}

.format-card .popup-open {
    margin-top: 0;
}

.gallery-carousel,
.reviews-carousel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
}

.gallery-track,
.reviews-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 6px;
}

.gallery-track::-webkit-scrollbar,
.reviews-track::-webkit-scrollbar {
    height: 8px;
}

.gallery-track::-webkit-scrollbar-thumb,
.reviews-track::-webkit-scrollbar-thumb {
    background: rgba(18, 33, 47, 0.28);
    border-radius: 999px;
}

.gallery-nav,
.reviews-nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(18, 33, 47, 0.2);
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gallery-item,
.review-card {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(82, 99, 111, 0.36);
    flex: 0 0 min(360px, 82vw);
    scroll-snap-align: start;
    background: #fff;
}

.gallery-item {
    min-height: 220px;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-item figcaption {
    position: absolute;
    inset: auto 0 0 0;
    display: grid;
    gap: 3px;
    padding: 12px;
    background: linear-gradient(0deg, rgba(9, 19, 29, 0.83), rgba(9, 19, 29, 0.08));
    color: #fff;
}

.gallery-item figcaption span {
    font-size: 13px;
    opacity: 0.88;
}

.review-card {
    padding: 14px;
    display: grid;
    gap: 10px;
}

.review-card h3 {
    font-size: 18px;
}

.review-text {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.45;
}

.review-text > *:first-child {
    margin-top: 0;
}

.review-text > *:last-child {
    margin-bottom: 0;
}

.review-image,
.review-video {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(18, 33, 47, 0.16);
    display: block;
}

.review-video-frame {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(18, 33, 47, 0.16);
}

.review-video-frame iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: 0;
}

.review-author {
    margin: 0;
    font-weight: 700;
    font-size: 14px;
}

.review-author-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-author-avatar {
    width: var(--review-avatar-size, 52px);
    height: var(--review-avatar-size, 52px);
    border-radius: 999px;
    object-fit: cover;
    border: 1px solid rgba(18, 33, 47, 0.14);
    background: #fff;
    flex: 0 0 auto;
}

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

.faq-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.86);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: var(--ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    font-weight: 800;
}

.faq-toggle {
    font-size: 22px;
    line-height: 1;
    color: var(--brand-dark);
    transition: transform 0.2s ease;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.faq-answer p {
    margin: 0;
    padding: 0 16px 14px;
    color: var(--ink-soft);
    line-height: 1.5;
}

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

.adv-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.adv-list li {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.86);
    position: relative;
    padding: 14px 14px 14px 44px;
}

.adv-list li::before {
    content: "✓";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(180deg, #0f8f8a, #0b6f6b);
    font-size: 13px;
    font-weight: 800;
}

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

.step {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    background: #fff;
}

.step h3 {
    font-size: 18px;
}

.step p {
    color: var(--ink-soft);
    margin: 12px 0 0;
    line-height: 1.5;
}

.cta-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 22px 24px;
    border-radius: 26px;
    border: 1px solid var(--spotlight-panel-border, rgba(255, 255, 255, 0.58));
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08)),
        var(--spotlight-panel-bg, rgba(255, 255, 255, 0.46));
    box-shadow: 0 20px 42px rgba(18, 33, 47, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.cta-strip-copy h2 {
    margin: 8px 0 8px;
    color: var(--spotlight-title-color, var(--ink));
    font-size: var(--spotlight-title-size, 26px);
}

.cta-strip-copy .section-text {
    margin: 0;
    color: var(--spotlight-description-color, var(--ink-soft));
    font-size: var(--spotlight-description-size, 15px);
    line-height: 1.5;
}

.cta-strip-button {
    width: var(--spotlight-button-width, auto);
    background: var(--spotlight-button-bg, #ff5a36);
    color: var(--spotlight-button-text, #fff);
    border: 1px solid var(--spotlight-button-border, transparent);
    border-radius: var(--spotlight-button-radius, 16px);
    font-size: var(--spotlight-button-size, 16px);
    white-space: nowrap;
}

.contacts-center {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    display: grid;
    gap: 16px;
}

.contacts-center h2 {
    margin: 0;
    font-size: var(--contacts-title-size, clamp(34px, 4vw, 56px));
    line-height: 1;
    color: var(--contacts-title-color, var(--ink));
}

.contacts-intro {
    margin: 0 auto;
    color: var(--contacts-intro-color, #21364a);
    font-size: var(--contacts-intro-size, 35px);
    line-height: 1.28;
    max-width: 680px;
}

.contacts-lines {
    display: grid;
    gap: 6px;
    margin-top: 6px;
}

.contacts-lines p {
    margin: 0;
    color: var(--contacts-line-color, #12212f);
    font-size: var(--contacts-line-size, 18px);
    line-height: 1.35;
}

.contacts-lines a {
    color: inherit;
    text-decoration: none;
}

.contacts-social-links {
    justify-content: center;
    margin-top: 4px;
}

.footer {
    margin: 46px auto 30px;
    padding-top: 18px;
    border-top: 1px solid rgba(18, 33, 47, 0.12);
    color: #526679;
    font-size: 14px;
    text-align: center;
}

.footer-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
}

.footer-logo {
    width: var(--footer-logo-width, 100px);
    max-width: 180px;
    min-width: 40px;
    height: auto;
    display: block;
}

.gift-line {
    margin: 4px 0 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6e4500;
    font-size: 15px;
    font-weight: 700;
}

.gift-icon {
    width: 28px;
    height: 28px;
    display: block;
}

.js-fullscreen-image {
    cursor: zoom-in;
}

.tg-float,
.to-top {
    position: fixed;
    right: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1200;
}

.tg-float {
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(95, 132, 161, 0.45);
    border-radius: 999px;
    width: 54px;
    height: 54px;
    padding: 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 28px rgba(15, 43, 66, 0.16);
}

.tg-float img {
    width: 30px;
    height: 30px;
}

.to-top {
    bottom: 102px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(95, 132, 161, 0.45);
    background: rgba(255, 255, 255, 0.96);
    color: #0d2f45;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(15, 43, 66, 0.15);
}

.tg-float.visible,
.to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.popup-modal {
    position: fixed;
    inset: 0;
    z-index: 1700;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s ease;
}

.popup-modal.visible {
    opacity: 1;
    visibility: visible;
}

.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 15, 23, 0.6);
}

.popup-dialog {
    position: relative;
    z-index: 1;
    width: min(760px, calc(100% - 32px));
    max-height: calc(100vh - 38px);
    margin: 20px auto;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(18, 33, 47, 0.2);
    box-shadow: 0 24px 55px rgba(9, 20, 29, 0.4);
    transform: translateY(12px) scale(0.98);
    transition: transform 0.22s ease;
    overflow: auto;
	height: 80%
}

.popup-modal.visible .popup-dialog {
    transform: translateY(0) scale(1);
}

.popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(18, 33, 47, 0.24);
    background: #fff;
    color: #1e3345;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.popup-body {
    padding: 44px 16px 16px;
}

.popup-body-programs-cta .b24-form .b24-form-field-radio .b24-form-control-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popup-body-programs-cta .b24-form .b24-form-field-radio .b24-form-control {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #d9dee7;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.popup-body-programs-cta .b24-form .b24-form-field-radio .b24-form-control:hover {
    border-color: #3d8bfd;
    background: #f7faff;
    box-shadow: 0 6px 18px rgba(61, 139, 253, 0.08);
}

.popup-body-programs-cta .b24-form .b24-form-field-radio .b24-form-control input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.popup-body-programs-cta .b24-form .b24-form-field-radio .b24-form-control .b24-form-control-desc {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    line-height: 1.4;
    color: #1f2a37;
    font-weight: 500;
    width: 100%;
}

.popup-body-programs-cta .b24-form .b24-form-field-radio .b24-form-control .b24-form-control-desc::before {
    content: "";
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 2px solid #b9c3d0;
    border-radius: 50%;
    background: #fff;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.popup-body-programs-cta .b24-form .b24-form-field-radio .b24-form-control .b24-form-control-desc::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3d8bfd;
    transform: translateY(-50%) scale(0);
    transition: transform 0.2s ease;
}

.popup-body-programs-cta .b24-form .b24-form-field-radio .b24-form-control.b24-form-control-checked {
    border-color: #3d8bfd;
    background: #eef5ff;
    box-shadow: 0 8px 20px rgba(61, 139, 253, 0.12);
}

.popup-body-programs-cta .b24-form .b24-form-field-radio .b24-form-control.b24-form-control-checked .b24-form-control-desc::before {
    border-color: #3d8bfd;
    background: #fff;
}

.popup-body-programs-cta .b24-form .b24-form-field-radio .b24-form-control.b24-form-control-checked .b24-form-control-desc::after {
    transform: translateY(-50%) scale(1);
}

.popup-body-programs-cta .b24-form .b24-form-field-radio .b24-form-control:focus-within {
    outline: 2px solid rgba(61, 139, 253, 0.25);
    outline-offset: 2px;
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1600;
    background: rgba(10, 18, 27, 0.92);
    display: grid;
    place-items: center;
    padding: 18px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.image-lightbox.visible {
    opacity: 1;
    visibility: visible;
}

.image-lightbox img {
    max-width: min(92vw, 1600px);
    max-height: 82vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.42);
}

.image-lightbox-caption {
    margin: 12px 0 0;
    color: #ecf2f8;
    font-size: 15px;
    text-align: center;
}

.image-lightbox-close {
    position: fixed;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.44);
    background: rgba(22, 35, 49, 0.9);
    color: #fff;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 1366px) {
    .menu-toggle {
        display: inline-flex;
    }

    .topnav-shell {
        position: absolute;
        top: 54px;
        right: 0;
        width: min(340px, calc(100vw - 36px));
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(18, 33, 47, 0.14);
        border-radius: 14px;
        box-shadow: 0 20px 42px rgba(15, 35, 54, 0.2);
        backdrop-filter: blur(6px);
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transform: translateY(-6px);
        pointer-events: none;
        transition: max-height 0.35s ease, opacity 0.28s ease, transform 0.28s ease;
        z-index: 50;
    }

    .header-right.menu-open .topnav-shell {
        max-height: 480px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .topnav {
        display: grid;
        gap: 0;
        justify-content: stretch;
    }

    .topnav a {
        padding: 12px 14px;
        border-bottom: 1px solid rgba(18, 33, 47, 0.09);
        font-size: 15px;
    }

    .topnav a:last-child {
        border-bottom: 0;
    }

    .header-contact-block {
        margin-top: 16px;
    }
}

@media (min-width: 1367px) {
    .header-right {
        position: relative;
    }

    .topnav-shell {
        position: static;
        transform: none;
        width: 100%;
    }

    .topnav {
        justify-content: center;
    }
}

@media (max-width: 980px) {
    .topbar {
        grid-template-columns: 1fr auto;
        grid-template-areas:
            "brand right"
            "logo right";
        align-items: start;
        gap: 12px;
    }

    .header-logo-wrap {
        justify-self: start;
    }

    .header-right {
        grid-template-columns: 1fr;
        align-items: end;
        justify-self: end;
    }

    .header-contact-block {
        text-align: right;
    }
}

@media (max-width: 900px) {
    .experience-layout,
    .split {
        grid-template-columns: 1fr;
    }

    .cta-strip {
        grid-template-columns: 1fr;
        justify-items: start;
    }

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

    .formats .format-grid,
    .format-forms-grid {
        grid-template-columns: 1fr;
    }

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

    .benefit-row {
        grid-template-columns: 1fr;
    }

    .benefit-item-empty {
        display: none;
    }
}

@media (max-width: 820px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: clamp(20px, 4.4vw, 30px);
    }

    h1 {
        font-size: clamp(28px, 8vw, 52px);
        line-height: 1.04;
    }

    .hero-media-video {
        height: clamp(220px, 56vw, 380px);
    }

    .hero-media-image {
        height: clamp(220px, 62vw, 420px);
    }
}

@media (max-width: 700px) {
    .topbar {
        grid-template-columns: 1fr;
        grid-template-areas:
            "brand"
            "logo"
            "right";
        justify-items: center;
        text-align: center;
    }

    .brand,
    .header-logo-wrap,
    .header-right {
        justify-self: center;
    }

    .header-contact-block,
    .header-socials-wrap {
        justify-items: center;
        text-align: center;
    }

    .header-right {
        width: 100%;
        justify-items: center;
    }

    .topnav-shell {
        right: 50%;
        transform: translate(50%, -6px);
    }

    .header-right.menu-open .topnav-shell {
        transform: translate(50%, 0);
    }

    .stats,
    .cards,
    .roadmap {
        grid-template-columns: 1fr;
    }

    .gallery-carousel,
    .reviews-carousel {
        grid-template-columns: 1fr;
    }

    .gallery-nav,
    .reviews-nav {
        display: none;
    }

    .section {
        margin-top: 56px;
    }

    .contacts-center h2 {
        font-size: clamp(28px, 8vw, 40px);
    }

    .contacts-intro {
        font-size: 23px;
    }

    .contacts-lines p {
        font-size: 17px;
    }

    .tg-float {
        right: 12px;
    }

    .to-top {
        right: 12px;
        bottom: 108px;
    }
}

@media (max-width: 768px) {
    .popup-body-programs-cta .b24-form .b24-form-field-radio .b24-form-control {
        padding: 14px 15px;
        border-radius: 12px;
    }

    .popup-body-programs-cta .b24-form .b24-form-field-radio .b24-form-control .b24-form-control-desc {
        font-size: 15px;
    }
}

.custom-page-block {
    padding: 0;
    overflow: visible;
}

.custom-page-block-panel {
    display: grid;
    gap: 16px;
    align-items: start;
    justify-items: start;
    align-content: start;
    padding: var(--custom-block-padding-y, 24px) var(--custom-block-padding-x, 28px);
    background: var(--custom-block-bg, #ffffff);
    border: 1px solid var(--custom-block-border, rgba(18, 33, 47, 0.12));
    border-radius: var(--custom-block-radius, 28px);
    box-shadow: 0 16px 44px rgba(18, 33, 47, 0.08);
    width: var(--custom-block-panel-width, 100%);
    max-width: 100%;
    min-height: var(--custom-block-panel-min-height, auto);
    margin: 0 auto;
}

.custom-page-block-panel-split {
    gap: 24px;
}

.custom-page-block-lead {
    display: grid;
    gap: 12px;
}

.custom-page-block-align-center {
    justify-items: center;
    text-align: center;
    align-content: center;
}

.custom-page-block-align-right {
    justify-items: end;
    text-align: right;
    align-content: center;
}

.custom-page-block-eyebrow {
    color: var(--custom-block-eyebrow-text, #385067);
    background: var(--custom-block-eyebrow-bg, #f4a142);
    border-color: transparent;
    justify-self: start;
    text-align: left;
    margin-right: auto;
}

.custom-page-block-title {
    margin: 0;
    color: var(--custom-block-title-color, #12212f);
    font-size: var(--custom-block-title-size, 30px);
}

.custom-page-block-text,
.custom-page-block-text p,
.custom-page-block-text li {
    margin: 0;
    color: var(--custom-block-text-color, #4b6478);
    font-size: var(--custom-block-text-size, 17px);
}

.custom-page-block-text p + p {
    margin-top: 12px;
}

.custom-page-block-button {
    justify-content: center;
    min-width: 220px;
    background: var(--custom-block-button-bg, #ff5b39);
    color: var(--custom-block-button-text, #ffffff);
    border: 1px solid var(--custom-block-button-border, transparent);
    border-radius: var(--custom-block-button-radius, 999px);
    font-size: var(--custom-block-button-size, 16px);
}

.custom-page-block-button:hover,
.custom-page-block-button:focus-visible {
    color: var(--custom-block-button-text, #ffffff);
}

.custom-page-block-pdf_button .custom-page-block-panel {
    max-width: 820px;
    margin: 0 auto;
}

.custom-page-block-form {
    width: 100%;
}

.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 1200;
    opacity: 0;
    transform: translateY(18px);
    pointer-events: none;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.cookie-banner.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.cookie-banner-inner {
    width: min(1040px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 18px 22px;
    border-radius: 22px;
    border: 1px solid rgba(18, 33, 47, 0.12);
    background: var(--cookie-banner-bg, rgba(255, 255, 255, 0.94));
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 46px rgba(18, 33, 47, 0.18);
}

.cookie-banner-copy {
    display: grid;
    gap: 6px;
    color: var(--cookie-banner-text, #12212f);
}

.cookie-banner-copy strong {
    font-size: 17px;
    line-height: 1.2;
}

.cookie-banner-copy p {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
}

.cookie-banner-button {
    min-width: 164px;
    background: var(--cookie-banner-button-bg, #ff5b39);
    color: var(--cookie-banner-button-text, #ffffff);
}

.cookie-banner-button:hover,
.cookie-banner-button:focus-visible {
    color: var(--cookie-banner-button-text, #ffffff);
}

.custom-hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 24px;
    align-items: stretch;
}

.custom-hero-split-swapped .custom-hero-split-left {
    order: 2;
}

.custom-hero-split-swapped .custom-hero-split-right {
    order: 1;
}

.custom-hero-split-col {
    display: grid;
    gap: 16px;
    align-content: start;
    min-width: 0;
}

.custom-hero-split-right {
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(18, 33, 47, 0.1);
    border-radius: calc(var(--custom-block-radius, 28px) - 8px);
    padding: clamp(18px, 2.2vw, 24px);
}

.custom-hero-split-h1 {
    margin: 0;
    color: var(--custom-block-title-color, #12212f);
    font-size: clamp(30px, 4vw, var(--custom-block-title-size, 48px));
}

.custom-hero-split-side-title {
    margin: 0;
    color: var(--custom-block-title-color, #12212f);
    font-size: max(20px, calc(var(--custom-block-title-size, 30px) * 0.72));
}

.custom-hero-split-media-wrap {
    margin: 0;
    display: grid;
    gap: 12px;
}

.custom-hero-split-media {
    display: block;
    width: 100%;
    min-height: 260px;
    max-height: 560px;
    border-radius: calc(var(--custom-block-radius, 28px) - 8px);
    border: 1px solid rgba(18, 33, 47, 0.1);
    background: rgba(245, 248, 250, 0.92);
    object-fit: cover;
    object-position: center;
    overflow: hidden;
}

.custom-hero-split-caption,
.custom-hero-split-caption p,
.custom-hero-split-note,
.custom-hero-split-note p {
    margin: 0;
    color: var(--custom-block-text-color, #4b6478);
    font-size: var(--custom-block-text-size, 17px);
}

.custom-hero-split-note p + p,
.custom-hero-split-caption p + p {
    margin-top: 10px;
}

.error-page-shell {
    min-height: calc(100vh - 230px);
    display: grid;
    align-items: center;
    margin-top: 12px;
    margin-bottom: 30px;
}

.error-page-card {
    padding: clamp(28px, 4vw, 44px);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(201, 208, 212, 0.8);
    border-radius: 26px;
    box-shadow: var(--shadow);
    max-width: 1240px;
    margin: 0 auto;
}

.error-page-eyebrow {
    margin-bottom: 18px;
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.error-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 24px;
    align-items: stretch;
}

.error-page-copy {
    display: grid;
    gap: 16px;
    align-content: center;
    justify-items: start;
}

.error-page-code {
    font-family: "Unbounded", "Segoe UI", sans-serif;
    font-size: clamp(72px, 11vw, 160px);
    line-height: 0.95;
    color: #ff5a36;
}

.error-page-title {
    margin: 0;
    font-size: clamp(34px, 4.6vw, 62px);
    line-height: 1.05;
}

.error-page-text {
    margin: 0;
    max-width: 58ch;
    color: var(--ink-soft);
    font-size: 18px;
    line-height: 1.65;
}

.error-page-actions {
    margin: 8px 0 0;
}

.error-page-panel {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.24), transparent 26%),
        linear-gradient(145deg, #173447 0%, #245975 48%, #0f8f8a 100%);
    color: #fff;
    min-height: 100%;
}

.error-page-orbit {
    position: absolute;
    right: -60px;
    top: -50px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.24) 0%, rgba(255,255,255,0.04) 55%, transparent 70%);
    filter: blur(2px);
}

.error-page-panel-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
    padding: 28px;
}

.error-page-panel-inner h2 {
    margin: 0;
    font-size: 26px;
}

.error-page-list {
    margin: 0;
    padding: 0 0 0 20px;
    display: grid;
    gap: 10px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.55;
}

@media (max-width: 900px) {
    .custom-hero-split {
        grid-template-columns: 1fr;
    }

    .custom-hero-split-swapped .custom-hero-split-left,
    .custom-hero-split-swapped .custom-hero-split-right {
        order: initial;
    }

    .custom-hero-split-media {
        min-height: 220px;
    }

    .cookie-banner-inner {
        grid-template-columns: 1fr;
    }

    .cookie-banner-button {
        width: 100%;
    }

    .error-page-grid {
        grid-template-columns: 1fr;
    }

    .error-page-copy {
        justify-items: center;
        text-align: center;
    }

    .error-page-actions {
        justify-content: center;
    }
}
