:root {
    /* Palette extracted from JSON */
    --green-deep: #08664B;
    --green-pale-bg: #DAE8E4;
    --green-light-text: #CFFFE3;
    --yellow-accent: #EEDA72;
    --text-main: #4D4D4D;
    --text-black: #000000;
    --white: #FFFFFF;
    
    --radius-xl: 30px; /* Exact radius from JSON */
    --radius-btn: 1000px; /* Pill shape */
    
    --container-w: 1240px;
    --font-family: 'Montserrat', -apple-system, sans-serif; /* Fallback for e-Ukraine */
}

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

.screening-page {
    font-family: var(--font-family);
    color: var(--text-main);
    background-color: #fff;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
}

.screening-page .container {
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 20px;
}

.screening-page h1, .screening-page h2, .screening-page h3, .screening-page h4, .screening-page b { color: var(--text-black); }

.screening-page .section-spacer { margin-bottom: 80px; }

/* --- Header --- */
.screening-page .header2 { padding: 20px 0;margin-bottom:15px; }
.screening-page .header-wrap { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 24px; 
}

.screening-page .logo-group { 
    display: flex; 
    align-items: center; 
    gap: 45px; 
    flex: 1;
}

.screening-page .logo-item {
    display: flex;
    align-items: center;
    height: 60px;
}

.screening-page .logo-item img {
    max-height: 100%;
    height: auto;
    width: auto;
    max-width: 200px;
}

.screening-page .logo-moz img {
    max-height: 48px;
}

.screening-page .logo-screening img {
    max-height: 52px;
}

.screening-page .logo-smartlab img {
    max-height: 40px;
}

.screening-page .logo-diya {
    display: flex;
    align-items: center;
}

.screening-page .logo-diya img {
    max-height: 44px;
    background: #000;
    border-radius: 12px;
}

.screening-page .header-phones { 
    text-align: right; 
    display: flex; 
    gap: 40px; 
    align-items: center;
}

.screening-page .phone-block { 
    display: flex; 
    flex-direction: column; 
    gap: 4px;
}

.screening-page .phone-block small { 
    font-weight: 400; 
    font-size: 14px; 
    color: var(--text-main); 
    white-space: nowrap;
}

.screening-page .phone-block a { 
    font-weight: 700; 
    font-size: 24px; 
    color: var(--text-black); 
    text-decoration: none; 
    white-space: nowrap;
}

/* --- Hero Section --- */
.screening-page .hero-box {
    background-color: var(--green-deep);
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Gradient overlay to help text readability on mobile if needed, or matched to design */
.screening-page .hero-content {
    width: 50%;
    margin-left: 50%;
    padding: 40px 60px;
    z-index: 2;
    position: relative;
    border-left: 4px solid #EEDA72;
}

.screening-page .hero-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.screening-page .hero-title {
    font-size: 44px;
    font-weight: 400;
    color: var(--green-light-text);
    line-height: 1.1;
    margin-bottom: 20px;
}

.screening-page .hero-subtitle {
    font-size: 40px;
    font-weight: 700;
    color: var(--green-light-text);
    line-height: 1.1;
    margin-bottom: 40px;
}

.screening-page .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 425px;
}

.screening-page .btn2 {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    padding: 20px 32px;
    border-radius: var(--radius-btn);
    text-decoration: none;
    font-weight: 500;
    font-size: 18px;
    transition: transform 0.2s;
}
.screening-page .btn2:hover { transform: scale(1.02); }

.screening-page .btn-yellow {
    background-color: var(--yellow-accent);
    color: var(--text-black);
}

.screening-page .btn-white {
    background-color: var(--white);
    color: var(--text-black);
}

.screening-page .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.screening-page .btn-icon img { 
    width: 100%; 
    height: 100%; 
    object-fit: contain;
}

.screening-page .hero-disclaimer,
.screening-page .hero-disclaimer b {
    margin-top: 40px;
    font-size: 12px;
    color: var(--green-light-text);
    opacity: 0.8;
    max-width: 500px;
}

/* --- Section Titles --- */
.screening-page .block-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.screening-page .block-desc {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 40px;
    color: var(--text-main);
}

/* --- Info Grid (What is screening) --- */
.screening-page .info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.screening-page .info-card {
    background-color: var(--green-pale-bg);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    min-height: 520px;
    position: relative;
}

.screening-page .card-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.screening-page .card-text {
    font-size: 16px;
    line-height: 1.5;
    color:#4D4D4D;
}

.screening-page .card-icon-box {
    margin-top: auto;
    width: 70px;
    height: 70px;
    background-color: var(--green-deep);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screening-page .card-icon-box img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* --- Steps Section --- */
.screening-page .steps-wrapper {
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: var(--radius-xl);
    padding: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.screening-page .step-row {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: flex-start;
}

.screening-page .step-row:last-of-type {
    margin-bottom: 0;
}

.screening-page .step-badge {
    width: 63px;
    height: 63px;
    border-radius: 14px;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
    flex-shrink: 0;
}

.screening-page .step-badge.active {
    background-color: var(--green-deep);
    color: #FFFFFF;
    border-color: var(--green-deep);
}

.screening-page .step-info h4 { 
    font-size: 20px; 
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-black);
}

.screening-page .step-info p { 
    font-size: 16px;
    color: var(--text-main);
    line-height: 1.5;
}

.screening-page .btn-center { display: flex; justify-content: center; margin-top: 40px; }
.screening-page .btn-simple-yellow {
    background: var(--yellow-accent);
    color: #000;
    padding: 20px 60px;
    border-radius: 10px; /* From JSON bottom button */
    font-weight: 400;
    font-size: 24px;
    text-decoration: none;
    display: inline-block;
}

/* --- Benefits (Snake) --- */
.screening-page .benefits-section {
    background: #DAE8E4;
    border-radius: 0;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.screening-page .benefits-section::before {
    content: '';
    position: absolute;
    left: -40px;
    bottom: 0;
    width: 350px;
    height: 100vh;
    background-image: url('/img/screening/bg_line_2.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    opacity: 1;
    z-index: 1;
}

.screening-page .benefits-section::after {
    content: '';
    position: absolute;
    right: -40px;
    bottom: 0;
    width: 350px;
    height: 100vh;
    background-image: url('/img/screening/bg_line_1.svg');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    opacity: 1;
    z-index: 1;
}

.screening-page .benefits-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 20px;
}

.screening-page .benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 800px;
    margin: 0 auto;
}

.screening-page .benefit-item {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 20px 0;
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 20px;
    width: 100%;
    color: #4D4D4D;
    margin-left: 0 !important;
}

.screening-page .benefit-num {
    font-weight: 700;
    font-size: 24px;
    color: #4D4D4D;
    min-width: 63px;
    width: 63px;
    height: 63px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    border-radius: 14px;
    flex-shrink: 0;
}

.screening-page .benefit-item.active .benefit-num { 
    background-color: #08664B;
    color: #FFFFFF;
    border-color: #08664B;
}

/* --- Addresses --- */
.screening-page .addr-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.screening-page .addr-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 24px;
    font-size: 16px;
    line-height: 1.5;
    min-height: 100px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.screening-page .addr-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.screening-page .addr-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.screening-page .addr-text {
    flex: 1;
    color: #4D4D4D;
}

.map-placeholder {
    width: 100%;
    min-height: 400px;
    background: #E5E5E5;
    border-radius: var(--radius-xl);
    margin-bottom: 40px;
}

/* --- FAQ --- */
.screening-page .faq-block {
    background-color: var(--green-pale-bg);
    border-radius: 20px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.screening-page .faq-question {
    padding: 28px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    user-select: none;
}

.screening-page .faq-question:hover {
    background-color: rgba(8, 102, 75, 0.05);
}

.screening-page .faq-question h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: var(--text-black);
    flex: 1;
    line-height: 1.3;
}

.screening-page .faq-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.screening-page .faq-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.screening-page .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 30px;
}

.screening-page .faq-block.active .faq-answer {
    max-height: 800px;
    padding: 0 30px 28px 30px;
}

.screening-page .faq-answer p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    margin: 0;
}

/* --- Help Section --- */
.screening-page .help-box {
    background-color: var(--green-deep);
    border-radius: var(--radius-xl);
    color: var(--green-light-text);
    display: flex;
    align-items: center;
    overflow: hidden;
    min-height: 600px;
    position: relative;
}

.screening-page .help-left {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.screening-page .help-right {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    margin-left: 50%;
    border-left: 4px solid #EEDA72;
}

.screening-page .help-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--green-light-text);
    margin-bottom: 40px;
    line-height: 1.2;
}

.screening-page .help-contact { margin-bottom: 30px; }
.screening-page .help-contact span { display: block; font-size: 19px; font-weight: 300; margin-bottom: 5px; }
.screening-page .help-contact a { font-size: 35px; font-weight: 700; color: var(--yellow-accent); text-decoration: none; }

/* --- Partners --- */
.screening-page .partners-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.screening-page .partner-logo {
    border: 2px solid var(--green-pale-bg);
    border-radius: var(--radius-xl);
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: #FFFFFF;
}
.screening-page .partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* --- Final Footer --- */
.screening-page .footer-final {
    background: #FFFFFF;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.screening-page .footer-final-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.screening-page .footer-logos {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
}

.screening-page .footer-logo-item {
    display: flex;
    align-items: center;
    height: 50px;
}

.screening-page .footer-logo-item img {
    max-height: 100%;
    height: auto;
    width: auto;
    max-width: 150px;
}

.screening-page .footer-contacts {
    display: flex;
    gap: 40px;
    align-items: center;
}

.screening-page .footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.screening-page .footer-contact-item span {
    font-size: 12px;
    color: var(--text-main);
}

.screening-page .footer-contact-item a {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-black);
    text-decoration: none;
}

.screening-page .footer-credits {
    text-align: center;
    font-size: 11px;
    color: var(--text-main);
    padding-top: 20px;
    border-top: 1px solid #E5E5E5;
}

.screening-page .mobile { display: none; }

.screening-page li, .screening-page ul {
    list-style-type: disc;
}

#screening.login::before {
    display: none;
}
#screening.login::after {
    display: none;
}
#screening.fancybox__content>.f-button.is-close-btn {
    color: var(--green-deep) !important;
}
#screening .f-button svg {
    stroke: var(--green-deep) !important;
}
#screening .login__title::after {
    background-color: var(--green-deep) !important;
}
#screening .login__button {
    background-color: var(--yellow-accent) !important;
    color: var(--text-black) !important;
    border-radius: var(--radius-btn);
}
#screening .login__button:hover {
    border-color: var(--yellow-accent) !important;
}
#screening .login__item label, #screening .login__item .label {
    border-color: var(--green-pale-bg) !important;
}

/* --- Mobile --- */
@media (max-width: 1024px) {
    .screening-page .hero-box, .screening-page .help-box { flex-direction: column-reverse; min-height: auto; }
    .screening-page .hero-content, .screening-page .help-left { width: 100%; margin-left: 0; padding: 20px; }
    .screening-page .hero-content { border-left: none; }
    .screening-page .hero-img, .screening-page .help-right { position: relative; border-left: none; margin-left:unset; width: 113%; height: 340px; }
    .screening-page .hero-img {border-top: 4px solid #EEDA72;}
    
    .screening-page .info-grid { grid-template-columns: 1fr 1fr; }
    .screening-page .addr-grid { grid-template-columns: 1fr 1fr; }
    .screening-page .map-placeholder { min-height: 300px; }
    
    .screening-page .logo-diya { margin-left: 0; }
    .screening-page .header-wrap { gap: 10px; }
    
    .screening-page .partners-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .screening-page .desctop { display: none; }
    .screening-page .mobile { display: block; }
    .screening-page .header2 { margin-bottom: 0px; }
    .screening-page .header-wrap { justify-content: center; }
    .screening-page .logo-group { flex-wrap: wrap; justify-content: center; gap: 20px; row-gap:10px; }
    .screening-page .logo-diya { margin-left: 0; }
    .screening-page .info-card { min-height: auto; }
    .screening-page .card-icon-box { margin-top: 20px; }
    .screening-page .section-spacer { margin-bottom: 60px; }
    .screening-page .btn-simple-yellow {text-align: center;}
    
    .screening-page .hero-title, .screening-page .help-title { font-size: 32px; }
    .screening-page .hero-subtitle { font-size: 24px; }
    
    .screening-page .info-grid { grid-template-columns: 1fr; }
    .screening-page .addr-grid { grid-template-columns: 1fr; }
    .screening-page .addr-card { padding: 16px; font-size: 14px; }
    .screening-page .map-placeholder { min-height: 250px; }
    
    .screening-page .step-row { flex-direction: column; gap: 10px; }
    .screening-page .steps-wrapper { padding: 20px; }
    
    .screening-page .benefits-section { padding: 40px 0; }
    .screening-page .benefits-section::before,
    .screening-page .benefits-section::after { display: none; }
    .screening-page .benefit-item { padding: 15px 0; font-size: 16px; gap: 15px; }
    .screening-page .benefit-num { min-width: 50px; width: 50px; height: 50px; font-size: 20px; }
    
    .screening-page .faq-question { padding: 20px; }
    .screening-page .faq-question h3 { font-size: 16px; font-weight: 700; }
    .screening-page .faq-icon { width: 20px; height: 20px; }
    .screening-page .faq-answer { padding: 0 20px; }
    .screening-page .faq-block.active .faq-answer { padding: 0 20px 20px 20px; }
    .screening-page .faq-answer p { font-size: 14px; }
    
    .screening-page .partners-row { grid-template-columns: repeat(2, 1fr); gap: 15px; }
    .screening-page .partner-logo { height: 100px; padding: 16px; }
    
    .screening-page .footer-final-content { flex-direction: column; text-align: center; }
    .screening-page .footer-logos { flex-wrap: wrap; justify-content: center; gap: 20px; }
    .screening-page .footer-contacts { flex-direction: column; gap: 20px; }
    .screening-page .footer-contact-item { align-items: center; }
}