@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&family=IBM+Plex+Sans:wght@400;500;600&display=swap');

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

:root {
    --bg: #eef3fb;
    --bg-strong: #ffffff;
    --bg-soft: #e1eaf7;
    --line: #cfd8e6;
    --line-strong: #b5c5dc;

    --text: #0b1220;
    --text-muted: #2b3c54;
    --text-soft: #586c86;

    --brand: #245cff;
    --brand-strong: #14328a;
    --brand-ice: #7cc4ff;
    --accent: #f2a33a;

    --radius-md: 18px;
    --radius-lg: 28px;

    --shadow-sm: 0 12px 28px rgba(10, 24, 48, 0.08);
    --shadow-md: 0 26px 62px rgba(10, 24, 48, 0.12);

    --container: 1200px;
    --ease: 220ms ease;
    --ease-smooth: 360ms cubic-bezier(0.22, 1, 0.36, 1);
    --header-edge: 12px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    background: var(--bg);
    width: 100%;
    overscroll-behavior-x: none;
}

body.body {
    font-family: 'IBM Plex Sans', 'Segoe UI', sans-serif;
    color: var(--text);
    background:
        radial-gradient(980px 520px at 92% -10%, rgba(36, 92, 255, 0.16), transparent 70%),
        radial-gradient(820px 520px at -10% 18%, rgba(16, 30, 56, 0.1), transparent 80%),
        linear-gradient(180deg, #f7f9fd 0%, #eef3fb 55%, #e7eef9 100%);
    background-color: var(--bg);
    line-height: 1.62;
    overflow-x: hidden;
    width: 100%;
    overscroll-behavior-x: none;
    touch-action: pan-y;
    scroll-behavior: smooth;
}

.page-cosmos {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    color: rgba(35, 68, 106, 0.32);
}

.page-cosmos-item {
    position: absolute;
    width: clamp(20px, 2vw, 32px);
    height: clamp(20px, 2vw, 32px);
    opacity: 0.72;
}

.page-cosmos-item--rocket {
    width: clamp(24px, 2.2vw, 36px);
    height: clamp(24px, 2.2vw, 36px);
}

.page-cosmos-item--a { left: 3%; top: 9%; animation: cosmosDriftA 13s ease-in-out infinite; }
.page-cosmos-item--b { right: 5%; top: 18%; animation: cosmosDriftB 14s ease-in-out infinite; }
.page-cosmos-item--c { left: 8%; top: 38%; animation: cosmosDriftA 11s ease-in-out infinite; }
.page-cosmos-item--d { right: 4%; top: 53%; animation: cosmosDriftC 16s ease-in-out infinite; }
.page-cosmos-item--e { left: 12%; top: 68%; animation: cosmosDriftB 12s ease-in-out infinite; }
.page-cosmos-item--f { right: 8%; top: 79%; animation: cosmosDriftA 13s ease-in-out infinite; }
.page-cosmos-item--g { left: 5%; top: 90%; animation: cosmosDriftC 17s ease-in-out infinite; }

@keyframes cosmosDriftA {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
    50% { transform: translate3d(0, -10px, 0) rotate(8deg); }
}

@keyframes cosmosDriftB {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(6deg); }
    50% { transform: translate3d(-8px, -12px, 0) rotate(-6deg); }
}

@keyframes cosmosDriftC {
    0%, 100% { transform: translate3d(0, 0, 0) rotate(-8deg); }
    50% { transform: translate3d(6px, -9px, 0) rotate(8deg); }
}

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

::selection {
    background: rgba(15, 91, 216, 0.18);
}

.header {
    position: fixed;
    top: 14px;
    left: var(--header-edge);
    right: var(--header-edge);
    left: calc(var(--header-edge) + env(safe-area-inset-left, 0px));
    right: calc(var(--header-edge) + env(safe-area-inset-right, 0px));
    height: 72px;
    z-index: 1000;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    box-shadow: 0 12px 42px rgba(10, 20, 34, 0.14);
}

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.header-logo-link {
    display: flex;
    align-items: center;
    transition: transform var(--ease-smooth), filter var(--ease-smooth);
}

.header-logo {
    width: auto;
    height: 54px;
    display: block;
}

.header-logo-link:hover,
.header-logo-link:focus-visible {
    transform: translateY(-1px) scale(1.01);
    filter: drop-shadow(0 8px 18px rgba(15, 91, 216, 0.18));
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.header-nav-link {
    font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color var(--ease-smooth), transform var(--ease-smooth);
}

.header-nav-link:hover,
.header-nav-link:focus-visible {
    color: var(--text);
    transform: translateY(-1px);
}

.header-menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    border-radius: 16px;
    padding: 10px 12px;
    cursor: pointer;
    transition: transform var(--ease-smooth), box-shadow var(--ease-smooth), background var(--ease-smooth);
}

.header-menu-toggle:hover,
.header-menu-toggle:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(17, 32, 51, 0.12);
}

.header-menu-icon {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
}

.header-menu-icon span {
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: transform var(--ease-smooth), opacity var(--ease-smooth);
}

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

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

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

.lang-form {
    display: inline-flex;
    gap: 8px;
    background: #f2f6fb;
    padding: 6px;
    border-radius: 999px;
    border: 1px solid var(--line);
}

.lang-btn {
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-soft);
    padding: 6px 12px;
    border-radius: 999px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background var(--ease-smooth), border-color var(--ease-smooth), color var(--ease-smooth), transform var(--ease-smooth), box-shadow var(--ease-smooth);
}

.lang-btn:hover,
.lang-btn:focus-visible {
    background: #ffffff;
    border-color: var(--line);
    color: var(--text);
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(17, 32, 51, 0.1);
}

.section {
    max-width: var(--container);
    margin: 0 auto;
    padding: clamp(64px, 6.4vw, 92px) 28px;
    padding: clamp(64px, 6.4vw, 92px) calc(28px + env(safe-area-inset-right, 0px)) clamp(64px, 6.4vw, 92px) calc(28px + env(safe-area-inset-left, 0px));
    position: relative;
    overflow: visible;
    scroll-margin-top: 110px;
}

.section > * {
    position: relative;
    z-index: 1;
}

.section:first-of-type {
    padding-top: clamp(110px, 9vw, 148px);
}

.section--divided {
    border-top: 1px solid rgba(145, 168, 198, 0.32);
}

/* Scroll reveal for full sections */
.reveal-ready .reveal-section {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 740ms ease-out,
        transform 740ms ease-out;
    will-change: opacity, transform;
}

.reveal-ready .reveal-section.reveal-from-left {
    transform: translateY(40px);
}

.reveal-ready .reveal-section.reveal-from-right {
    transform: translateY(40px);
}

.reveal-ready .reveal-section.reveal-from-bottom {
    transform: translateY(40px);
}

.reveal-ready .reveal-section.revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.section-title {
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: clamp(1.8rem, 1.35rem + 1.2vw, 2.5rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text);
}

.section::before {
    content: '';
    position: absolute;
    width: 260px;
    height: 260px;
    right: -80px;
    top: 22px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(15, 91, 216, 0.12) 0%, rgba(15, 91, 216, 0) 70%);
    opacity: 0;
    transform: scale(0.78);
    transition: opacity 600ms ease, transform 600ms ease;
    pointer-events: none;
    z-index: 0;
}

.section.section-in-view::before {
    opacity: 1;
    transform: scale(1);
}

.section--cosmic::after {
    content: '';
    position: absolute;
    inset: 24px 0 24px;
    background:
        radial-gradient(circle at 12% 20%, rgba(36, 92, 255, 0.12), transparent 40%),
        radial-gradient(circle at 86% 18%, rgba(242, 163, 58, 0.14), transparent 45%),
        radial-gradient(circle at 20% 80%, rgba(36, 92, 255, 0.12), transparent 45%),
        radial-gradient(circle at 80% 78%, rgba(124, 196, 255, 0.14), transparent 45%);
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

.section-cosmos {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.cosmo-star,
.cosmo-planet {
    position: absolute;
    color: rgba(69, 101, 137, 0.42);
    opacity: 0.82;
}

.cosmo-star {
    width: clamp(16px, 1.8vw, 24px);
    height: clamp(16px, 1.8vw, 24px);
    animation: cosmoTwinkle 5.5s ease-in-out infinite;
}

.cosmo-planet {
    width: clamp(22px, 2.2vw, 34px);
    height: clamp(22px, 2.2vw, 34px);
    animation: cosmoOrbit 8s ease-in-out infinite;
}

@keyframes cosmoOrbit {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(10deg); }
}

@keyframes cosmoTwinkle {
    0%, 100% { transform: scale(1) translateY(0); opacity: 0.7; }
    50% { transform: scale(1.12) translateY(-4px); opacity: 1; }
}

.section-ornament {
    display: flex;
    justify-content: center;
    color: rgba(15, 91, 216, 0.64);
    margin: -12px auto 22px;
    pointer-events: none;
}

.section-ornament-svg {
    width: 180px;
    height: 24px;
    animation: ornamentDrift 6s ease-in-out infinite;
}

@keyframes ornamentDrift {
    0%, 100% { transform: translateY(0); opacity: 0.74; }
    50% { transform: translateY(-4px); opacity: 1; }
}

.hero {
    position: relative;
    text-align: center;
    padding-bottom: 70px;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    top: 120px;
    bottom: 90px;
    width: clamp(120px, 18vw, 240px);
    border-radius: 999px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
}

.hero::before {
    left: -10%;
    background: radial-gradient(circle, rgba(26, 92, 255, 0.22), transparent 70%);
}

.hero::after {
    right: -10%;
    background: radial-gradient(circle, rgba(100, 181, 255, 0.18), transparent 70%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(230, 240, 255, 0.9));
    border: 1px solid rgba(36, 92, 255, 0.14);
    border-radius: 34px;
    box-shadow: var(--shadow-md);
    padding: 44px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-inner--business-card {
    max-width: 560px;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.hero-inner--business-card::before,
.hero-inner--business-card::after {
    display: none;
}

.business-card-section .business-card-wrap {
    display: flex;
    justify-content: center;
}

.business-card-section .card--business {
    max-width: 520px;
    width: 100%;
}

.business-card-section {
    padding-top: 86px;
    padding-bottom: 92px;
}

.business-card-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: 28px;
    align-items: center;
}

.business-card-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.business-side-card {
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(232, 240, 255, 0.92));
    border: 1px solid rgba(36, 92, 255, 0.18);
    border-radius: 24px;
    padding: 22px 22px 18px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.business-side-card::after {
    content: '';
    position: absolute;
    inset: auto -40% -45% -40%;
    height: 160px;
    background: radial-gradient(circle, rgba(36, 92, 255, 0.18), transparent 70%);
    opacity: 0.6;
}

.side-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-strong);
    background: rgba(36, 92, 255, 0.08);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.side-title {
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: 1.3rem;
    line-height: 1.2;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.side-text {
    color: var(--text-muted);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.side-list {
    list-style: none;
    display: grid;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.side-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.side-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(242, 163, 58, 0.2);
}

.business-side-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.stat-card {
    background: #ffffff;
    border: 1px solid rgba(36, 92, 255, 0.16);
    border-radius: 18px;
    padding: 14px 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.stat-number {
    display: block;
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-strong);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-soft);
}

.side-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.side-note {
    font-size: 0.88rem;
    color: var(--text-soft);
    margin-top: 4px;
}

.hero-inner::before,
.hero-inner::after {
    content: '';
    position: absolute;
    top: 18px;
    bottom: 18px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(13, 49, 143, 0), rgba(13, 49, 143, 0.55), rgba(13, 49, 143, 0));
    opacity: 0.6;
    pointer-events: none;
}

.hero-inner::before {
    left: 18px;
}

.hero-inner::after {
    right: 18px;
}

.hero-inner > * {
    position: relative;
    z-index: 1;
}

.card {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(228, 239, 255, 0.92));
    border: 1px solid rgba(36, 92, 255, 0.18);
    border-radius: var(--radius-lg);
    box-shadow:
        0 24px 60px rgba(16, 36, 63, 0.14),
        0 8px 22px rgba(16, 36, 63, 0.08);
    overflow: hidden;
    text-align: left;
    transition: transform 280ms ease, box-shadow 280ms ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 28px 70px rgba(16, 36, 63, 0.18),
        0 10px 26px rgba(16, 36, 63, 0.12);
}

.card::before,
.card::after {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(13, 49, 143, 0), rgba(13, 49, 143, 0.45), rgba(13, 49, 143, 0));
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.card::before {
    left: 16px;
}

.card::after {
    right: 16px;
}

.card > * {
    position: relative;
    z-index: 1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 22px 16px;
}

.card-logo {
    height: 60px;
    width: auto;
    display: block;
    filter: drop-shadow(0 6px 14px rgba(13, 49, 143, 0.14));
}

.card-logo-text {
    display: flex;
    flex-direction: column;
}

.card-logo-name {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text);
    line-height: 1.15;
}

.card-logo-sub {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-soft);
    margin-top: 3px;
}

.card-hero {
    padding: 2px 22px 20px;
}

.card-hero-title {
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: clamp(24px, 5.6vw, 36px);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--text);
}

.card-hero-title span {
    display: block;
    font-size: clamp(18px, 4vw, 26px);
    font-weight: 700;
    color: var(--text-soft);
    margin-top: 3px;
}

.card-ornament {
    display: flex;
    justify-content: flex-start;
    margin-top: 18px;
    color: rgba(15, 91, 216, 0.6);
}

.card-ornament svg {
    width: 160px;
    height: 20px;
    animation: ornamentDrift 6s ease-in-out infinite;
}

.services-grid {
    margin: 0 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

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

.services-row + .services-row {
    border-top: 1px solid var(--line);
}

.service-item {
    padding: 18px 18px;
    background: var(--bg-strong);
    transition: border-color var(--ease-smooth), background var(--ease-smooth), transform var(--ease-smooth);
    cursor: default;
    position: relative;
    border-top: 3px solid transparent;
}

.service-item:hover {
    border-top-color: var(--brand);
    background: #f4f9ff;
    transform: translateY(-2px);
}

.service-item + .service-item {
    border-left: 1px solid var(--line);
}

.service-name {
    font-family: 'Manrope', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.service-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 12.5px;
}

.service-label {
    color: var(--text-soft);
}

.service-value {
    color: var(--text-muted);
    font-weight: 600;
}

.card-domain {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 18px 22px 4px;
    font-size: 13px;
    color: var(--text-soft);
    letter-spacing: 0.02em;
}

.card-domain svg {
    color: var(--brand);
    flex-shrink: 0;
}

.wa-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 18px 22px 22px;
    padding: 14px 20px;
    background: #25d366;
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: background var(--ease), transform var(--ease-smooth), box-shadow var(--ease-smooth);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.28);
}

.wa-btn:hover {
    background: #1aad52;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(37, 211, 102, 0.36);
}

.wa-btn-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-btn-text {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.01em;
}

.wa-btn-arrow {
    width: 22px;
    height: 22px;
    color: white;
    flex-shrink: 0;
}

.decoratives {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.decorative {
    position: absolute;
    width: clamp(24px, 2.6vw, 38px);
    height: clamp(24px, 2.6vw, 38px);
    color: #365277;
    opacity: 0.68;
    filter: drop-shadow(0 8px 16px rgba(10, 24, 48, 0.2));
}

.decorative-rocket:nth-child(1) {
    top: 10%;
    left: 6%;
    animation: decorFloatA 6s ease-in-out infinite;
}

.decorative-rocket:nth-child(2) {
    top: 30%;
    left: 72%;
    animation: decorFloatB 7s ease-in-out infinite;
}

.decorative-saturn:nth-child(3) {
    top: 60%;
    left: 10%;
    animation: decorFloatA 8s ease-in-out infinite;
}

.decorative-saturn:nth-child(4) {
    top: 20%;
    left: 80%;
    animation: decorFloatB 7s ease-in-out infinite;
}

.decorative-planet:nth-child(5) {
    top: 40%;
    left: 40%;
    animation: decorFloatA 7s ease-in-out infinite;
}

.decorative-planet:nth-child(6) {
    top: 70%;
    left: 60%;
    animation: decorFloatB 8s ease-in-out infinite;
}

.decorative-star:nth-child(7) {
    top: 5%;
    left: 50%;
    animation: decorFloatA 6.5s ease-in-out infinite;
}

.decorative-star:nth-child(8) {
    top: 25%;
    left: 30%;
    animation: decorFloatB 6.8s ease-in-out infinite;
}

.decorative-star:nth-child(9) {
    top: 50%;
    left: 20%;
    animation: decorFloatA 7.2s ease-in-out infinite;
}

.decorative-star:nth-child(10) {
    top: 80%;
    left: 75%;
    animation: decorFloatB 8.2s ease-in-out infinite;
}

.decorative-rocket:nth-child(11) {
    top: 85%;
    left: 42%;
    animation: decorFloatA 7.8s ease-in-out infinite;
}

@keyframes decorFloatA {
    0%,
    100% { transform: translateY(0) rotate(-6deg); }
    50% { transform: translateY(-9px) rotate(6deg); }
}

@keyframes decorFloatB {
    0%,
    100% { transform: translateY(0) rotate(8deg); }
    50% { transform: translateY(-12px) rotate(-3deg); }
}

.hero-accent {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.hero-accent-svg {
    position: absolute;
    width: var(--rocket-size, 34px);
    height: var(--rocket-size, 34px);
    color: rgba(10, 18, 30, 0.5);
    transform-origin: center center;
    filter: drop-shadow(0 5px 11px rgba(10, 35, 77, 0.24));
}

.hero-accent-svg--light {
    color: rgba(26, 92, 255, 0.38);
}

.hero-accent-glow {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: rgba(15, 91, 216, 0.28);
    filter: blur(9px);
    transform: translate3d(-120px, -120px, 0);
    opacity: 0.62;
}

.hero-kicker {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(36, 92, 255, 0.08);
    color: var(--brand-strong);
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
}

.hero-logo {
    display: block;
    margin: 0 auto 8px;
    height: 116px;
    width: auto;
    filter: drop-shadow(0 14px 26px rgba(13, 49, 143, 0.18));
}

.hero-title {
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: clamp(2rem, 1.45rem + 2.2vw, 3.35rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 18px;
    color: var(--text);
}

.hero-lead {
    color: var(--text-muted);
    font-size: clamp(1.02rem, 0.97rem + 0.38vw, 1.26rem);
    max-width: 760px;
    margin: 0 auto 14px;
}

.hero-text {
    color: var(--text-soft);
    max-width: 760px;
    margin: 0 auto 30px;
}

.hero-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    text-align: center;
    margin-bottom: 30px;
}

.hero-point {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(36, 92, 255, 0.16);
    border-radius: var(--radius-md);
    padding: 18px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform var(--ease-smooth), box-shadow var(--ease-smooth), border-color var(--ease-smooth);
}

.hero-point:hover {
    transform: translateY(-4px);
    border-color: rgba(36, 92, 255, 0.32);
    box-shadow: var(--shadow-md);
}

.hero-point-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    margin-bottom: 10px;
}

.hero-point-title {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.hero-point-text {
    font-size: 0.87rem;
    line-height: 1.5;
    color: var(--text-soft);
    margin: 0 auto;
}

.btn {
    appearance: none;
    border: 1px solid rgba(36, 92, 255, 0.35);
    border-radius: 999px;
    padding: 12px 24px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, #2e6bff 0%, #1a4ee6 55%, #14328a 100%);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 16px 32px rgba(20, 50, 130, 0.24);
    transition: transform var(--ease-smooth), box-shadow var(--ease-smooth), background var(--ease-smooth), border-color var(--ease-smooth);
}

.btn:hover {
    background: linear-gradient(135deg, #1f57f0 0%, #163da6 55%, #10286f 100%);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 20px 38px rgba(16, 42, 110, 0.3);
}

.btn:focus-visible {
    outline: 2px solid rgba(36, 92, 255, 0.4);
    outline-offset: 2px;
}

.btn-cta {
    border-color: rgba(36, 92, 255, 0.35);
}

.btn-ghost {
    background: rgba(36, 92, 255, 0.08);
    color: var(--brand-strong);
    border-color: rgba(36, 92, 255, 0.22);
}

.btn-ghost:hover {
    background: rgba(36, 92, 255, 0.16);
    color: var(--brand-strong);
}

.about,
.specialists {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.7));
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1.2fr);
    gap: 22px;
}

.section--centered .about-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
}

.about-content--card,
.about-formats--card,
.achievement-card,
.specialist-card,
.cta-block,
.it-club-content {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(236, 244, 255, 0.9));
    border: 1px solid rgba(36, 92, 255, 0.12);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.about-content--card::before,
.about-formats--card::before,
.achievement-card::before,
.specialist-card::before,
.cta-block::before,
.it-club-content::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(36, 92, 255, 0.0), rgba(36, 92, 255, 0.55), rgba(242, 163, 58, 0.55), rgba(36, 92, 255, 0.0));
    opacity: 0.9;
    pointer-events: none;
}

.about-content--card,
.about-formats--card {
    padding: 24px;
}

.section--centered .about-content--card,
.section--centered .about-formats--card {
    max-width: 860px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.98), rgba(232, 240, 255, 0.92));
    border-color: rgba(36, 92, 255, 0.2);
}

.section--centered .about-lead,
.section--centered .about-text {
    text-align: center;
}

.about-lead,
.about-text,
.it-club-text,
.cta-text {
    color: var(--text-muted);
}

.about-formats-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 700;
}

.about-formats-icon {
    color: var(--brand);
}

.about-formats-list,
.achievement-list,
.footer-links {
    list-style: none;
}

.section--centered .about-formats-list {
    max-width: 720px;
    margin: 12px auto 0;
}

.about-formats-list li,
.achievement-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.section--centered .about-formats-list li {
    padding-left: 0;
    text-align: center;
}

.about-formats-list li::before,
.achievement-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand);
}

.section--centered .about-formats-list li::before {
    position: static;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
    transform: translateY(-1px);
}

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

.achievement-card {
    padding: 24px;
    transition: transform var(--ease-smooth), box-shadow var(--ease-smooth), border-color var(--ease-smooth);
}

.achievement-card:hover {
    transform: translateY(-3px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
}

.achievement-card--accent {
    border-top: 3px solid var(--brand);
}

.achievement-card-icon {
    display: inline-flex;
    color: var(--brand);
    margin-bottom: 10px;
}

.achievement-card-title {
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: 1.06rem;
    line-height: 1.3;
    margin-bottom: 8px;
}

.achievement-meta {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.achievement-number {
    font-family: 'Manrope', sans-serif;
    color: var(--brand-strong);
    font-size: 1.4rem;
    font-weight: 800;
}

.gallery-scroll {
    position: relative;
    overflow-x: auto;
    padding-bottom: 12px;
    margin: 0 -10px;
    scroll-behavior: smooth;
    padding: 18px 10px 18px;
    border-radius: 28px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(230, 240, 255, 0.82));
    border: 1px solid rgba(36, 92, 255, 0.18);
    box-shadow: 0 22px 60px rgba(12, 30, 60, 0.12);
    mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.gallery-scroll::before,
.gallery-scroll::after {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    width: 48px;
    pointer-events: none;
    z-index: 2;
}

.gallery-scroll::before {
    left: 0;
    background: linear-gradient(90deg, rgba(238, 243, 251, 0.95), rgba(238, 243, 251, 0));
}

.gallery-scroll::after {
    right: 0;
    background: linear-gradient(270deg, rgba(238, 243, 251, 0.95), rgba(238, 243, 251, 0));
}

.gallery-scroll::-webkit-scrollbar {
    height: 8px;
}

.gallery-scroll::-webkit-scrollbar-track {
    background: rgba(15, 91, 216, 0.08);
    border-radius: 999px;
}

.gallery-scroll::-webkit-scrollbar-thumb {
    background: rgba(36, 92, 255, 0.35);
    border-radius: 999px;
}

.gallery-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: clamp(280px, 36vw, 520px);
    gap: 18px;
    padding: 6px 10px 10px;
    align-items: stretch;
    width: max-content;
}

.gallery-card {
    background: #ffffff;
    border-radius: 22px;
    border: 2px solid rgba(36, 92, 255, 0.22);
    box-shadow:
        0 18px 40px rgba(10, 24, 48, 0.16),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    overflow: hidden;
    transition: transform var(--ease-smooth), box-shadow var(--ease-smooth), border-color var(--ease-smooth);
    position: relative;
}

.gallery-card::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    pointer-events: none;
    z-index: 1;
}

.gallery-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.08) 100%);
    opacity: 0.9;
    pointer-events: none;
    z-index: 1;
}

.gallery-card:hover {
    transform: translateY(-2px);
    border-color: rgba(36, 92, 255, 0.48);
    box-shadow:
        0 22px 54px rgba(10, 24, 48, 0.2),
        inset 0 0 0 1px rgba(255, 255, 255, 0.75);
}

.gallery-photo {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    filter: saturate(1.03) contrast(1.02);
    transform: scale(1.01);
}

@media (max-width: 900px) {
    .gallery-track {
        grid-auto-columns: clamp(220px, 70vw, 360px);
    }
}

@media (max-width: 640px) {
    .gallery-track {
        grid-auto-columns: min(84vw, 360px);
    }
}

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

.specialist-card {
    padding: 20px 14px;
    text-align: center;
    transition: transform var(--ease-smooth), box-shadow var(--ease-smooth), border-color var(--ease-smooth);
}

.specialist-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: var(--shadow-md);
}

.specialist-photo {
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 12px;
    border: 3px solid var(--bg-soft);
}

.specialist-name {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.specialist-role,
.specialist-result {
    font-size: 0.85rem;
    color: var(--text-soft);
}

.it-club-content {
    max-width: 860px;
    margin: 0 auto;
    padding: 28px;
}

.cta-block {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
    padding: 30px;
    background:
        radial-gradient(160% 130% at 85% 0%, rgba(15, 91, 216, 0.12), transparent 70%),
        #ffffff;
}

.cta-inner {
    max-width: 620px;
    margin: 0 auto;
}

.cta-block--minimal {
    position: relative;
    text-align: left;
    padding: 32px;
    border-color: rgba(26, 92, 255, 0.18);
    background:
        linear-gradient(140deg, rgba(255, 255, 255, 0.98), rgba(236, 244, 255, 0.92));
    box-shadow: 0 18px 44px rgba(10, 24, 48, 0.12);
}

.cta-block--minimal::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(26, 92, 255, 0.12);
    pointer-events: none;
}

.cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-strong);
    background: rgba(26, 92, 255, 0.08);
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.cta-title {
    font-family: 'Space Grotesk', 'Manrope', sans-serif;
    font-size: clamp(1.6rem, 1.1rem + 1.4vw, 2.4rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 14px;
}

.cta-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.cta-actions--center {
    align-items: center;
}

.section--centered .cta-actions {
    align-items: center;
    margin-top: 24px;
    gap: 12px;
}

.cta-note {
    font-size: 0.86rem;
    color: var(--text-soft);
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 23, 39, 0.52);
    z-index: 2000;
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.modal-overlay.show {
    display: flex;
}

.modal {
    width: min(540px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: 0 30px 70px rgba(7, 25, 49, 0.35);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
}

.modal-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.28rem;
    font-weight: 700;
}

.modal-close {
    border: 1px solid var(--line);
    background: #f8fbff;
    color: var(--text-soft);
    border-radius: 10px;
    width: 34px;
    height: 34px;
    font-size: 1.12rem;
    line-height: 1;
    cursor: pointer;
}

.modal-body {
    padding: 22px 24px 24px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-soft);
    pointer-events: none;
}

.input-wrap .input,
.form .input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fdfefe;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    padding: 12px 12px 12px 40px;
    transition: border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

.input-wrap .input--textarea,
.form .input--textarea {
    min-height: 110px;
    resize: vertical;
    padding-top: 12px;
}

.input-wrap:has(.input--textarea) .input-icon {
    top: 14px;
    transform: none;
}

.form .input:focus {
    outline: none;
    border-color: rgba(15, 91, 216, 0.5);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(15, 91, 216, 0.1);
}

.btn-submit {
    margin-top: 4px;
}

.footer {
    margin-top: 42px;
    border-top: 1px solid rgba(163, 182, 204, 0.4);
    background: #e8f0fb;
    padding: 54px 24px 28px;
    position: relative;
    overflow: hidden;
}

.footer-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    color: rgba(15, 91, 216, 0.46);
}

.footer-grid {
    position: absolute;
    width: min(320px, 40vw);
    height: auto;
    left: 3%;
    bottom: -8px;
    opacity: 0.2;
}

.footer-wave {
    position: absolute;
    width: min(360px, 42vw);
    height: auto;
    right: 8%;
    top: -8px;
    opacity: 0.24;
    animation: footerWave 9s ease-in-out infinite;
}

.footer-orb {
    position: absolute;
    width: 48px;
    height: 48px;
    opacity: 0.42;
}

.footer-orb--one {
    right: 14%;
    bottom: 68px;
    animation: footerOrbitA 7s ease-in-out infinite;
}

.footer-orb--two {
    left: 38%;
    bottom: 36px;
    animation: footerOrbitB 8s ease-in-out infinite;
}

@keyframes footerWave {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-14px); }
}

@keyframes footerOrbitA {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.06); }
}

@keyframes footerOrbitB {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(8deg); }
}

.footer-main {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
    gap: 28px;
    position: relative;
    z-index: 1;
}

.footer-logo {
    height: 44px;
    width: auto;
}

.footer-heading {
    font-family: 'Manrope', sans-serif;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: var(--text-soft);
}

.footer-block p,
.footer-links li,
.footer a {
    color: var(--text-muted);
    font-size: 0.93rem;
    margin-bottom: 6px;
}

.footer a:hover {
    color: var(--brand-strong);
}

/* Main block reveal (HEADER / HERO / sections / footer) */
.motion-ready .reveal-panel {
    opacity: 0;
    transform: translate3d(var(--reveal-x, 0), var(--reveal-y, 28px), 0) scale(0.985);
    transition:
        opacity 840ms cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 840ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}

.motion-ready .reveal-panel.reveal-panel--header {
    --reveal-x: 0;
    --reveal-y: -16px;
}

.motion-ready .reveal-panel.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.motion-ready .reveal-panel.reveal-from-left {
    --reveal-x: -56px;
    --reveal-y: 0;
}

.motion-ready .reveal-panel.reveal-from-right {
    --reveal-x: 56px;
    --reveal-y: 0;
}

.motion-ready .reveal-panel.reveal-from-bottom {
    --reveal-x: 0;
    --reveal-y: 42px;
}

.footer-bottom {
    max-width: var(--container);
    margin: 20px auto 0;
    padding-top: 16px;
    border-top: 1px solid rgba(163, 182, 204, 0.45);
    color: var(--text-soft);
    text-align: center;
    font-size: 0.86rem;
    position: relative;
    z-index: 1;
}

/* Entrance animation */
.motion-ready .hero-inner,
.motion-ready .section-title,
.motion-ready .about-content--card,
.motion-ready .about-formats--card,
.motion-ready .hero-point,
.motion-ready .achievement-card,
.motion-ready .specialist-card,
.motion-ready .it-club-content,
.motion-ready .cta-block,
.motion-ready .footer-block {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 560ms ease, transform 560ms ease;
}

.motion-ready .section-ornament {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.motion-ready .is-visible {
    opacity: 1;
    transform: translateY(0);
}

.motion-ready .hero-inner {
    transition-delay: 80ms;
}

.error-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.error-shell {
    width: min(720px, 100%);
}

.error-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 28px;
    box-shadow: var(--shadow-md);
    padding: 42px 34px;
    text-align: center;
}

.error-code {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(3rem, 2.2rem + 2.6vw, 5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--brand-strong);
    margin-bottom: 16px;
}

.error-title {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
    margin-bottom: 12px;
}

.error-description,
.error-hint {
    max-width: 560px;
    margin: 0 auto;
    color: var(--text-muted);
}

.error-hint {
    margin-top: 8px;
}

.error-actions {
    margin-top: 24px;
}

@media (max-width: 1080px) {
    .hero-points,
    .achievements-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .business-card-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 900px) {
    :root {
        --header-edge: 10px;
    }

    .header {
        top: 10px;
        left: var(--header-edge);
        right: var(--header-edge);
        left: calc(var(--header-edge) + env(safe-area-inset-left, 0px));
        right: calc(var(--header-edge) + env(safe-area-inset-right, 0px));
        height: auto;
        padding: 6px 0 6px;
    }

    .header-inner {
        padding: 6px 14px 6px;
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas:
            "logo lang menu"
            "nav nav nav";
        align-items: center;
        gap: 10px 12px;
    }

    .header-logo-link {
        grid-area: logo;
    }

    .header-menu-toggle {
        display: inline-flex;
        grid-area: menu;
        align-items: center;
        justify-content: center;
        justify-self: end;
        margin-left: 0;
    }

    .lang-form {
        grid-area: lang;
        width: auto;
        justify-content: center;
        margin-top: 0;
        margin-left: 0;
        justify-self: center;
        padding: 4px;
        gap: 0;
    }

    .header-nav {
        grid-area: nav;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 0;
        padding-top: 0;
        max-height: 0;
        overflow: hidden;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-4px);
        pointer-events: none;
        transition: max-height 260ms ease, opacity 160ms ease, transform 200ms ease, padding-top 160ms ease;
    }

    .header-nav-link {
        font-size: 0.86rem;
        padding: 10px 12px;
        border-radius: 14px;
        text-align: center;
        background: rgba(242, 246, 251, 0.9);
        border: 1px solid rgba(10, 20, 34, 0.08);
    }

    .lang-btn {
        border-radius: 0;
    }

    .lang-btn + .lang-btn {
        border-left: 1px solid var(--line);
    }

    .lang-btn:first-child {
        border-top-left-radius: 999px;
        border-bottom-left-radius: 999px;
    }

    .lang-btn:last-child {
        border-top-right-radius: 999px;
        border-bottom-right-radius: 999px;
    }

    .header--nav-open .header-nav {
        max-height: 320px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        visibility: visible;
        margin-top: 6px;
        padding-top: 2px;
    }

    .section {
        padding: 74px 16px;
        padding: 74px calc(16px + env(safe-area-inset-right, 0px)) 74px calc(16px + env(safe-area-inset-left, 0px));
    }

    .section:first-of-type {
        padding-top: 130px;
    }

    .hero-inner {
        padding: 30px 20px;
        border-radius: 24px;
    }

    .about-grid,
    .footer-main {
        grid-template-columns: 1fr;
    }

    .cta-block,
    .it-club-content {
        padding: 24px;
    }
}

@media (max-width: 640px) {
    .hero-points,
    .achievements-grid,
    .specialists-grid {
        grid-template-columns: 1fr;
    }

    .lang-form {
        gap: 4px;
        padding: 4px;
    }

    .lang-btn {
        padding: 5px 9px;
        font-size: 0.72rem;
    }

    .modal {
        border-radius: 18px;
    }

    .error-card {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .section-ornament {
        margin-bottom: 18px;
    }

    .section-ornament-svg {
        width: 150px;
    }

    .footer-grid {
        width: 220px;
        left: -8%;
    }

    .footer-wave {
        width: 220px;
        right: -12%;
    }

    .footer-orb {
        width: 40px;
        height: 40px;
    }

    .card-header {
        padding: 22px 20px 16px;
    }

    .card-hero {
        padding: 4px 20px 20px;
    }

    .services-grid {
        margin: 0 20px;
    }

    .service-item {
        padding: 18px 14px;
    }

    .card-domain {
        padding: 18px 20px 4px;
    }

    .wa-btn {
        margin: 16px 20px 22px;
        padding: 14px 18px;
    }

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

    .service-item + .service-item {
        border-left: none;
        border-top: 1px solid var(--line);
    }
}

@media (min-width: 641px) {
    .hero-accent,
    .asteroid-field,
    .asteroids-controls,
    .cursor-rocket,
    .rocket-laser-layer {
        display: none !important;
    }
}

.rocket-laser-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

body.space-effects-off .cursor-rocket,
body.space-effects-off .asteroid-field,
body.space-effects-off .rocket-laser-layer {
    display: none !important;
}

.cursor-rocket {
    position: fixed;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    opacity: 0;
    pointer-events: none;
    z-index: 900;
    color: var(--brand);
    transform-origin: 50% 50%;
    transition: opacity 180ms ease;
    will-change: transform;
}

.cursor-rocket--visible {
    opacity: 1;
}

.cursor-rocket--charging {
    filter: drop-shadow(0 0 18px rgba(70, 180, 255, 0.32)) drop-shadow(0 0 34px rgba(15, 91, 216, 0.22));
}

.cursor-rocket--charging .cursor-rocket-flame {
    animation-duration: 180ms;
}

.cursor-rocket-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.cursor-rocket-flame {
    transform-box: fill-box;
    transform-origin: center;
    animation: cursorFlame 320ms cubic-bezier(0.22, 1, 0.36, 1) infinite;
    mix-blend-mode: screen;
    filter: blur(0.3px) drop-shadow(0 0 10px rgba(100, 181, 255, 0.35));
}

.cursor-rocket-flame--inner {
    opacity: 0.95;
    animation: cursorFlameInner 240ms ease-in-out infinite;
    filter: blur(0.15px) drop-shadow(0 0 12px rgba(255, 255, 255, 0.35));
}

@keyframes cursorFlame {
    0% { opacity: 0.62; transform: translateX(-1px) scaleX(0.86) scaleY(0.92) rotate(-2deg); }
    40% { opacity: 1; transform: translateX(1px) scaleX(1.08) scaleY(1.18) rotate(2deg); }
    70% { opacity: 0.78; transform: translateX(-0.6px) scaleX(0.94) scaleY(1.05) rotate(-1deg); }
    100% { opacity: 0.96; transform: translateX(0.8px) scaleX(1.12) scaleY(1.22) rotate(2deg); }
}

@keyframes cursorFlameInner {
    0% { opacity: 0.75; transform: translateX(0.6px) scaleX(0.8) scaleY(0.86) rotate(1deg); }
    50% { opacity: 1; transform: translateX(-0.4px) scaleX(1.04) scaleY(1.1) rotate(-1deg); }
    100% { opacity: 0.88; transform: translateX(0.5px) scaleX(0.92) scaleY(1.02) rotate(1deg); }
}

.asteroid-field {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.asteroid {
    position: absolute;
    width: var(--ast-size, 26px);
    height: var(--ast-size, 26px);
    border-radius: var(--ast-br, 999px);
    opacity: 0.9;
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 42%),
        radial-gradient(circle at var(--cr1x, 38%) var(--cr1y, 40%), rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0) calc(var(--cr1s, 16%) + 6%)),
        radial-gradient(circle at var(--cr1x, 38%) var(--cr1y, 40%), rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) calc(var(--cr1s, 16%) + 10%)),
        radial-gradient(circle at var(--cr2x, 62%) var(--cr2y, 58%), rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0) calc(var(--cr2s, 12%) + 6%)),
        radial-gradient(circle at var(--cr3x, 72%) var(--cr3y, 30%), rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0) calc(var(--cr3s, 10%) + 6%)),
        radial-gradient(circle at var(--cr4x, 28%) var(--cr4y, 72%), rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0) calc(var(--cr4s, 0%) + 6%)),
        radial-gradient(circle at 62% 70%, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0) 55%),
        radial-gradient(circle at 36% 46%, var(--ast-base, #b8b2a9), var(--ast-mid, #9b948b) 62%, var(--ast-shade, #6c665f) 100%);
    border: 2px solid rgba(34, 34, 34, 0.55);
    box-shadow:
        0 18px 40px rgba(8, 12, 20, 0.22),
        inset 0 2px 12px rgba(255, 255, 255, 0.14),
        inset 0 -12px 18px rgba(0, 0, 0, 0.18);
    transform: rotate(var(--ast-rot, 0deg));
    will-change: transform;
}

.asteroid::after {
    content: "";
    position: absolute;
    inset: 8% 10%;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 35%, rgba(255, 255, 255, 0.2), rgba(0, 0, 0, 0) 62%);
    opacity: 0.85;
}

.asteroids-controls {
    position: fixed;
    right: 18px;
    bottom: 18px;
    right: calc(18px + env(safe-area-inset-right, 0px));
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 950;
}

.asteroids-controls-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(195, 209, 228, 0.9);
    box-shadow: 0 14px 34px rgba(10, 20, 34, 0.12);
    backdrop-filter: blur(12px);
    font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
    font-weight: 700;
    color: var(--text-muted);
}

.asteroids-controls-hint {
    font-size: 0.78rem;
    font-weight: 700;
    opacity: 0.88;
}

.asteroids-controls-count {
    min-width: 1.6em;
    text-align: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(26, 92, 255, 0.12);
    color: var(--brand-strong);
}

.asteroids-controls-btn {
    appearance: none;
    border: 1px solid rgba(195, 209, 228, 0.9);
    background: linear-gradient(135deg, rgba(26, 92, 255, 0.95), rgba(100, 181, 255, 0.95));
    color: #ffffff;
    padding: 12px 16px;
    border-radius: 999px;
    font-family: 'Manrope', 'IBM Plex Sans', sans-serif;
    font-weight: 800;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 18px 46px rgba(15, 91, 216, 0.28);
    transition: transform var(--ease-smooth), box-shadow var(--ease-smooth), filter var(--ease-smooth);
    user-select: none;
}

.asteroids-controls-btn--ghost {
    background: rgba(255, 255, 255, 0.88);
    color: var(--text-muted);
    border: 1px solid rgba(195, 209, 228, 0.95);
    box-shadow: 0 14px 34px rgba(10, 20, 34, 0.1);
}

.asteroids-controls-btn--ghost:hover,
.asteroids-controls-btn--ghost:focus-visible {
    filter: none !important;
    box-shadow: 0 18px 40px rgba(10, 20, 34, 0.12) !important;
}

.asteroids-controls-btn:hover,
.asteroids-controls-btn:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.02);
    box-shadow: 0 22px 54px rgba(15, 91, 216, 0.33);
}

.asteroids-controls-btn:active {
    transform: translateY(0);
    box-shadow: 0 16px 40px rgba(15, 91, 216, 0.24);
}

.asteroid-explosion {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.95), rgba(80, 210, 255, 0.65) 35%, rgba(15, 91, 216, 0.25) 60%, rgba(0, 0, 0, 0) 72%);
    transform: translate3d(-50%, -50%, 0) scale(0.4);
    animation: asteroidBoom 520ms ease-out forwards;
    pointer-events: none;
    filter: drop-shadow(0 0 14px rgba(80, 210, 255, 0.55));
}

@keyframes asteroidBoom {
    0% { opacity: 0; transform: translate3d(-50%, -50%, 0) scale(0.25); }
    15% { opacity: 1; }
    100% { opacity: 0; transform: translate3d(-50%, -50%, 0) scale(2.8); }
}

.rocket-laser {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--laser-length, 220px);
    height: var(--laser-height, 3px);
    background: linear-gradient(90deg, rgba(70, 180, 255, 0.15), rgba(80, 210, 255, 0.95), rgba(255, 255, 255, 0.95));
    border-radius: 999px;
    box-shadow:
        0 0 10px rgba(80, 210, 255, 0.5),
        0 0 20px rgba(15, 91, 216, 0.24);
    transform-origin: left center;
    animation: laserBlast var(--laser-duration, 620ms) ease-out forwards;
}

.rocket-laser--charged {
    background: linear-gradient(90deg, rgba(140, 230, 255, 0.18), rgba(225, 250, 255, 0.98), rgba(255, 255, 255, 1));
    box-shadow:
        0 0 14px rgba(225, 250, 255, 0.78),
        0 0 26px rgba(80, 210, 255, 0.62),
        0 0 46px rgba(15, 91, 216, 0.25);
}

@keyframes laserBlast {
    0% {
        opacity: 0;
        transform: translate3d(var(--laser-x, -100px), var(--laser-y, -100px), 0)
            rotate(var(--laser-angle, 0deg))
            translateX(0)
            scaleX(0.2);
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--laser-x, -100px), var(--laser-y, -100px), 0)
            rotate(var(--laser-angle, 0deg))
            translateX(var(--laser-travel, 360px))
            scaleX(1);
    }
}
