
/* manrope-regular - cyrillic */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/manrope-v20-cyrillic-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* playfair-display-regular - cyrillic */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/playfair-display-v40-cyrillic-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


:root {
    --blue: #2155c4;
    --blue-mid: #2f6ef5;
    --blue-light: #eef3ff;
    --text: #0f1117;
    --text-muted: #5a6070;
    --border: #e4e6ec;
    --bg: #f7f8fc;
    --white: #ffffff;
    --dark-bg: #08091a;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --danger: #e33d4e;
    --ok: #1fa971;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', -apple-system, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 40px;
}

h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 18px;
    color: var(--text);
}

h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    color: var(--text);
}

p {
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.8;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    letter-spacing: 0.01em;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: #ffffff;
    color: #0f1117;
    padding: 13px 24px;
    border-radius: 6px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

.btn-primary:hover {
    background: #f0f0f0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}

.btn-white {
    background: transparent;
    color: rgba(255,255,255,0.8);
    padding: 13px 24px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.25);
}

.btn-white:hover {
    color: rgba(255,255,255,0.95);
    border-color: rgba(255,255,255,0.45);
    background: rgba(255,255,255,0.06);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 14.5px;
    border-radius: 7px;
}

header {
    padding: 18px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    transition: all 0.3s var(--ease);
}

header.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 20px rgba(0,0,0,0.04);
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s;
}

header.scrolled .logo { color: var(--text); }

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.04em;
    transition: color 0.3s;
}

header.scrolled .header-tagline { color: var(--text-muted); }

.header-btn {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 5px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.88);
    border: 1px solid rgba(255,255,255,0.16);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: all 0.2s;
}

.header-btn:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.28);
    color: #fff;
}

header.scrolled .header-btn {
    background: #0f1117;
    color: #fff;
    border-color: #0f1117;
}

header.scrolled .header-btn:hover {
    background: #1e2230;
    border-color: #1e2230;
}

.hero {
    min-height: 100vh;
    background: var(--dark-bg);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 34px 34px;
}

.hero-light {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 52% 48% at 50% 36%,
        rgba(30, 80, 220, 0.22) 0%,
        rgba(8, 9, 26, 0.0) 52%,
        rgba(8, 9, 26, 0.82) 100%
    );
}

.hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse 85% 75% at 50% 50%,
        transparent 25%,
        rgba(8,9,26,0.6) 100%
    );
}

.hero-glow {
    position: absolute;
    width: 560px;
    height: 280px;
    left: 50%;
    top: 35%;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse at center, rgba(47,110,245,0.14) 0%, transparent 70%);
    filter: blur(28px);
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 110px 0 90px;
    text-align: center;
    width: 100%;
}

.hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(34px, 5vw, 52px);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 .accent {
    background: linear-gradient(135deg, #93c5fd 0%, #60a5fa 40%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.48);
    max-width: 460px;
    margin: 0 auto 40px;
    line-height: 1.75;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 72px;
}

.hero-stats {
    display: inline-grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
}

.hero-stat {
    padding: 20px 34px;
    background: rgba(255,255,255,0.025);
    transition: background 0.2s;
}

.hero-stat:hover { background: rgba(255,255,255,0.06); }

.stat-value {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 10.5px;
    color: rgba(255,255,255,0.32);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.scroll-hint {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 10;
}

.scroll-line {
    width: 1px;
    height: 34px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.25), transparent);
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--blue);
    margin-bottom: 12px;
}

.section-tag::before {
    content: '';
    width: 16px;
    height: 1.5px;
    background: var(--blue);
}

.about-section {
    padding: 110px 0 80px;
    background: var(--bg);
}

.about-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-bottom: 64px;
}

.about-text p { margin-bottom: 16px; }
.about-text p:last-child { margin-bottom: 0; }

.photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 12px;
}

.photo-cell {
    border-radius: 14px;
    overflow: hidden;
    background: var(--border);
    position: relative;
}

.photo-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s var(--ease);
}

.photo-cell:hover img { transform: scale(1.04); }
.photo-cell.wide { grid-column: span 2; height: 220px; }
.photo-cell.small { height: 220px; }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
}

.card {
    background: var(--white);
    padding: 32px 26px;
    border-right: 1px solid var(--border);
    transition: background 0.2s;
}

.card:last-child { border-right: none; }
.card:hover { background: var(--bg); }

.card-num {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #c3d5fd;
    letter-spacing: 0.05em;
    line-height: 1;
    margin-bottom: 20px;
}

.why-section {
    padding: 100px 0;
    background: var(--white);
}

.why-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: end;
    margin-bottom: 52px;
}

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

.why-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 24px;
    transition: border-color 0.2s, background 0.2s;
}

.why-item:hover {
    border-color: #c3d5fd;
    background: #fafbff;
}

.why-num {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #b0b8cc;
    margin-bottom: 20px;
}

.why-big {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 10px;
}

.why-item p {
    font-size: 13.5px;
    line-height: 1.7;
}

.process-section {
    padding: 100px 0;
    background: var(--bg);
}

.process-header {
    text-align: center;
    max-width: 520px;
    margin: 0 auto 64px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
}

.process-connector {
    position: absolute;
    top: 20px;
    left: calc(12.5% + 20px);
    right: calc(12.5% + 20px);
    height: 1px;
    background: linear-gradient(90deg, #c3d5fd, #e0e9ff);
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.step-num {
    width: 40px;
    height: 40px;
    border: 1px solid #c3d5fd;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 6px var(--bg);
    transition: all 0.2s;
}

.process-step:hover .step-num {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
}

.step-title {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.step-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.65;
}

.faq-section {
    padding: 100px 0;
    background: var(--white);
}

.faq-top {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 44px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-toggle {
    width: 18px;
    height: 18px;
    position: relative;
    flex: 0 0 18px;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    background: var(--blue);
    transform: translate(-50%, -50%);
    transition: transform 0.2s;
}

.faq-toggle::before { width: 12px; height: 2px; }
.faq-toggle::after { width: 2px; height: 12px; }

.faq-item details[open] .faq-toggle::after {
    transform: translate(-50%, -50%) scaleY(0);
}

.faq-answer {
    padding: 0 20px 18px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.75;
}

.form-section {
    padding: 100px 0;
    background: var(--bg);
}

.form-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.form-left,
.form-right {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 34px 30px;
}

.form-perks {
    margin-top: 24px;
    display: grid;
    gap: 14px;
}

.form-perk {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 14px;
}

.perk-line {
    width: 20px;
    height: 2px;
    background: var(--blue);
    flex: 0 0 20px;
}

.oz-form {
    display: grid;
    gap: 14px;
}

.input-group {
    display: grid;
    gap: 7px;
}

.input-label {
    font-size: 13px;
    font-weight: 700;
    color: #3d4352;
}

input {
    width: 100%;
    border: 1px solid #d6dae4;
    border-radius: 10px;
    background: #fff;
    padding: 12px 14px;
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus {
    border-color: #8db2ff;
    box-shadow: 0 0 0 3px rgba(47,110,245,0.12);
}

.oz-input-error,
input.oz-input-error {
    border-color: var(--danger) !important;
    box-shadow: 0 0 0 3px rgba(227,61,78,0.14) !important;
}

.form-submit {
    margin-top: 6px;
    border: none;
    border-radius: 11px;
    background: #111827;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 18px;
    cursor: pointer;
    transition: background 0.2s;
}

.form-submit:hover { background: #1e293b; }
.form-submit:disabled { opacity: 0.6; cursor: wait; }

.external-apply-card {
    display: grid;
    gap: 14px;
    min-height: 100%;
    align-content: center;
}

.external-apply-card h3 {
    margin-bottom: 0;
}

.external-apply-card p {
    margin-bottom: 4px;
}

.external-apply-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    text-align: center;
}

.oz-error {
    min-height: 18px;
    font-size: 12px;
    color: var(--danger);
    line-height: 1.4;
}

.agreement {
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

.agreement a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.oz-form-status {
    min-height: 22px;
    font-size: 14px;
    font-weight: 600;
}

.oz-form-status.ok { color: var(--ok); }
.oz-form-status.bad { color: var(--danger); }

footer {
    position: relative;
    background: #08091a;
    color: rgba(255,255,255,0.84);
    overflow: hidden;
}

.footer-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.5;
}

.footer-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(47,110,245,0.15), transparent 55%);
}

.footer-inner {
    position: relative;
    z-index: 2;
    padding: 54px 40px 28px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 28px;
}

.footer-logo {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.footer-right-label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 10px;
}

.footer-disclaimer {
    font-size: 13.5px;
    line-height: 1.75;
    color: rgba(255,255,255,0.65);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    font-size: 12px;
    color: rgba(255,255,255,0.64);
}

.footer-telegram-button {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(135deg, #2aabee 0%, #2155c4 100%);
    box-shadow: 0 14px 28px rgba(33,85,196,0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.footer-telegram-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(33,85,196,0.34);
    filter: brightness(1.05);
}

.footer-telegram-button svg {
    width: 22px;
    height: 22px;
}

.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .container { padding: 0 24px; }
    .about-top,
    .why-header,
    .form-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 0;
    }

    .process-connector { display: none; }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }

    .header-right { gap: 12px; }
    .header-tagline { display: none; }

    .hero { min-height: 92vh; }
    .hero-content { padding: 96px 0 70px; }
    .hero h1 { font-size: clamp(30px, 8vw, 42px); }
    .hero-desc { font-size: 15px; }

    .hero-stats {
        grid-template-columns: 1fr;
        width: min(100%, 360px);
    }

    .hero-stat { padding: 16px 20px; }

    .about-section,
    .why-section,
    .process-section,
    .faq-section,
    .form-section {
        padding: 72px 0;
    }

    .photo-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .photo-cell.wide,
    .photo-cell.small {
        grid-column: auto;
        height: 220px;
    }

    .cards-grid,
    .why-grid,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .faq-item summary {
        font-size: 14px;
        padding: 14px 14px;
    }

    .faq-answer {
        padding: 0 14px 14px;
        font-size: 13px;
    }

    .form-left,
    .form-right {
        padding: 22px 16px;
    }

    .footer-inner { padding: 40px 16px 18px; }
    .footer-top,
    .footer-bottom {
        grid-template-columns: 1fr;
        display: grid;
    }

    .footer-telegram-button {
        margin: 4px 0;
    }



}
.footer-bottom a {
    text-decoration: none;   /* убрать подчеркивание */
    color: #1e6cff;          /* синий цвет */
}

/* Performance: skip rendering offscreen sections on first paint */
.about-section, .why-section, .process-section, .faq-section, .form-section {
  content-visibility: auto;
  contain-intrinsic-size: 800px;
}
