:root {
    --primary-color: #0865a7; /* Updated Blue */
    --primary-dark: #064b7d;
    --secondary-color: #fca311;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --radius: 8px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.nk_komplex_page {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
}
.nk_hero__title {
font-family: 'Inter', sans-serif;
}



.nk_container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
font-family: 'Inter', sans-serif;
}

.nk_section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.nk_section-title--light {
    color: white;
}

/* Buttons */
.nk_btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.nk_btn--primary {
    background-color: var(--primary-color);
    color: white;
}

.nk_btn--primary:hover {
    background-color: var(--primary-dark);
}

.nk_btn--secondary {
    background-color: white;
    color: var(--primary-color);
}

.nk_btn--secondary:hover {
    background-color: #f0f0f0;
}

.nk_btn--outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.nk_btn--outline:hover {
    background-color: var(--primary-color);
    color: white;
}

.nk_btn--outline-light {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.nk_btn--outline-light:hover {
    background-color: white;
    color: var(--primary-color);
}

.nk_btn--full {
    width: 100%;
}

/* Hero Section */
.nk_hero {
    padding: 100px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
    /* Removed height: 100vh; to fit content */
    display: flex;
    align-items: center;
}
.nk_hero {
    background: #f5f5f5;
    box-shadow: 0 0 0 100vw #f5f5f5;
    clip-path: inset(0 -100vw);
}
.nk_example {
    background: #f5f5f5;
    box-shadow: 0 0 0 100vw #f8f9fa;
    clip-path: inset(0 -100vw);
}



.nk_hero__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

@media (min-width: 992px) {
    .nk_hero__container {
        flex-direction: row;
        justify-content: space-between;
        gap: 4rem;
    }
}

.nk_hero__content-left {
    flex: 1;
    text-align: left; /* Align text to left as requested "Текст слева" */
    max-width: 600px;
}

.nk_hero__title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 800;
}

@media (max-width: 768px) {
    .nk_hero__title {
        font-size: 2.2rem;
        text-align: center;
    }
    .nk_hero__content-left {
        text-align: center;
    }
}

.nk_hero__text-lead {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.nk_hero__text-sub {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.nk_hero__features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nk_hero__features-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
}

.nk_hero__cta-btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* Slideshow Right */
.nk_hero__content-right {
    flex: 1;
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
}

.nk_hero__slideshow {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background: white;
}

.nk_hero__slide {
    display: none;
    width: 100%;
    height: 100%;
    animation: fade 1.5s;
overflow: hidden;
}

.nk_hero__slide.nk_active {
    display: block;
}

.nk_hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.nk_hero__slideshow-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.nk_dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.nk_dot.nk_active, .nk_dot:hover {
    background-color: var(--primary-color);
}

@keyframes fade {
    from {opacity: .4} 
    to {opacity: 1}
}

/* Request Form Section */
.nk_request-form-section {
    padding: var(--spacing-lg) 0;
    background-color: white;
    border-top: 1px solid #eee;
}

.nk_request-form-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.nk_request-form {
    background: #fff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    text-align: center;
}

.nk_form__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .nk_form__grid {
        grid-template-columns: repeat(4, 1fr); /* Inline form on desktop */
        align-items: start;
    }
}

.nk_request-form .nk_section-title {
    margin-bottom: 0.5rem;
}

.nk_request-form .nk_form__subtitle {
    margin-bottom: 0;
    color: var(--text-light);
}
/* Form */
.nk_form {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.nk_form__title {
    margin-bottom: 1.5rem;
    text-align: center;
}

.nk_form__group {
    margin-bottom: 1rem;
}

.nk_form__input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}

.nk_form__input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.nk_form__policy {
    font-size: 0.8rem;
    color: #999;
    margin-top: 1rem;
    text-align: center;
}

/* Advantages Section */
.nk_advantages {
    padding: var(--spacing-lg) 0;
    background-color: white;
}

.nk_advantages__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nk_advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .nk_advantages__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.nk_advantage-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: transform 0.3s ease;
    height: 100%;
}

.nk_advantage-card:hover {
    transform: translateY(-5px);
}

.nk_advantage-card__icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.nk_advantage-card__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.nk_advantage-card__text {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Example Section */
.nk_example {
    padding: var(--spacing-lg) 0;
    background-color: var(--bg-light);
}

.nk_example__intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.1rem;
    color: var(--text-light);
}

.nk_process-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 992px) {
    .nk_process-flow {
        flex-direction: row;
        align-items: center;
        justify-content: center;
    }
}

.nk_process-step {
    flex: 1;
    max-width: 350px;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    padding-bottom: 1.5rem;
    height: 100%; /* Ensure steps take full height if parent stretches, though align-items center prevents stretch */
}

.nk_process-step__image {
    position: relative;
    height: 300px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.nk_process-step__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nk_process-step__title {
    font-size: 1.2rem;
    color: var(--primary-color);
    padding: 0 1rem;
}

.nk_process-step__desc {
    font-size: 0.9rem;
    color: var(--text-light);
    padding: 0 1rem;
}

.nk_process-connector {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removed fixed height so it centers naturally */
}

@media (max-width: 991px) {
    .nk_process-connector {
        height: auto;
        transform: rotate(90deg); /* Or just vertical stacking */
    }
}

/* CTA Section */
.nk_cta-section {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.nk_cta-box {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.nk_cta-box__text {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    text-align: justify;
}

.nk_cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: var(--radius);
}

@media (min-width: 768px) {
    .nk_cta-actions {
        flex-direction: row;
        justify-content: space-around;
        align-items: stretch;
    }
}

.nk_cta-action-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.nk_cta-action-item__desc {
    font-weight: 500;
}

.nk_cta-action-divider {
    display: flex;
    align-items: center;
    font-weight: bold;
    opacity: 0.7;
}

/* Footer (optional styles if footer is re-added later, safe to keep) */
.nk_footer {
    background-color: #222;
    color: #eee;
    padding: 3rem 0;
}

.nk_footer__container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.nk_footer__text {
    color: #888;
    margin-top: 0.5rem;
}

.nk_footer__contact {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.nk_cta-section {
    position: relative;
    z-index: 1;
    background: transparent;
}

.nk_cta-section::before {
    content: "";
    position: absolute;
    inset: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    z-index: -1;
    pointer-events: none;
}

.nk_hero__description a:hover {
color: #f9f9f9;
}

.nk_quiz-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Optional pattern overlay */
.nk_quiz-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
    pointer-events: none;
}

.nk_quiz-promo {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.nk_quiz-promo__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.nk_quiz-promo__text {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 1rem;
}

.nk_quiz-promo__btn {
    padding: 1.2rem 3.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    background-color: white;
    color: var(--primary-color);
    border-radius: 50px; /* Pill shape */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
}

.nk_quiz-promo__btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    background-color: #f8f9fa;
}

@media (max-width: 768px) {
    .nk_quiz-section {
        padding: 4rem 0;
    }
    
    .nk_quiz-promo__title {
        font-size: 1.8rem;
    }
    
    .nk_quiz-promo__text {
        font-size: 1.1rem;
    }
    
    .nk_quiz-promo__btn {
        width: 100%;
        max-width: 300px;
    }
}



.nk_cta-section--alt {
    background: #f8f9fa; /* Light gray background */
    color: var(--text-dark);
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
    padding: var(--spacing-lg) 0;
}

.nk_cta-alt-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 992px) {
    .nk_cta-alt-layout {
        grid-template-columns: 1.2fr 1fr;
    }
}

.nk_cta-alt-info {
    text-align: left;
}

.nk_cta-alt-badge {
    display: inline-block;
    background: rgba(220, 38, 38, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.nk_cta-alt-info .nk_section-title {
    text-align: left;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 2.2rem;
}

.nk_cta-alt-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #444;
}

.nk_cta-alt-card {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary-color);
    position: relative;
    text-align: left;
    transition: transform 0.3s ease;
}

.nk_cta-alt-card:hover {
    transform: translateY(-5px);
}

.nk_cta-alt-card__icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    background: rgba(38, 132, 220, 0.05);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.nk_cta-alt-card__title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #222;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.nk_cta-alt-card__desc {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.5;
    text-align: left; /* Keep it left aligned for card layout */
}

.nk_cta-alt-card__btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem;
    justify-content: center;
}

.nk_cta-section--alt-dark {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: var(--spacing-lg) 0;
}

.nk_cta-section--alt-dark .nk_cta-alt-info p {
    color: rgba(255, 255, 255, 0.9);
}

.nk_cta-section--alt-dark .nk_cta-alt-badge--light {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

/* Footer (optional styles if footer is re-added later, safe to keep) */
.nk_footer {
    background-color: #222;
    color: #eee;
    padding: 3rem 0;
}

.nk_footer__container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.nk_footer__text {
    color: #888;
    margin-top: 0.5rem;
}

.nk_footer__contact {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}



.nk_tight-wrap {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1rem;
}
.nk_tight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}
.nk_example-tight-center .nk_process-card {
    background: transparent;
    box-shadow: none;
    padding-bottom: 0.75rem;
    box-sizing: border-box;
    overflow: hidden;
}
.nk_example-tight-center .nk_process-step__image {
    height: auto;
    aspect-ratio: 4 / 3;
}
.nk_example-tight-center .nk_process-step__image img {
    object-fit: contain;
    padding: 0.75rem;
    width: 100%;
    height: 100%;
}
.nk_example-tight-center .nk_process-card__title {
    padding: 0 0.75rem;
    text-align: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}
.nk_example-tight-center .nk_process-card__desc {
    padding: 0 0.75rem 0.75rem;
    text-align: center;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}
.nk_tight-plus {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(38, 132, 220, 0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    z-index: 2;
}
.nk_tight-plus--1 { left: 25%; }
.nk_tight-plus--2 { left: 50%; }
.nk_tight-plus--3 { left: 75%; }
@media (max-width: 991px) {
    .nk_tight-plus { display: none; }
    .nk_tight-grid { grid-template-columns: 1fr; }
    .nk_example-tight-center .nk_process-step__image { height: auto; }
    .nk_tight-grid .nk_process-card + .nk_process-card::before {
        content: "+";
        display: block;
        width: 100%;
        text-align: center;
        color: var(--primary-color);
        font-weight: 800;
        font-size: 1.4rem;
        margin: 0.5rem 0;
    }
}
.nk_example-row4 .nk_process-card,
.nk_example-four .nk_process-card,
.nk_example-tight-center .nk_process-card {
    display: flex;
    flex-direction: column;
}
.nk_example-row4 .nk_process-card__title,
.nk_example-four .nk_process-card__title,
.nk_example-tight-center .nk_process-card__title {
    margin-top: 0.5rem;
    min-height: 2.5em;
}
.nk_example-row4 .nk_process-card__desc,
.nk_example-four .nk_process-card__desc,
.nk_example-tight-center .nk_process-card__desc {
    min-height: 3.5em;
}
