/* Minimal replacement for the global reset formerly supplied by builder CSS. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}
/* Стилі компонентів сайту. */
[class*="blog-post__meta"],
[class*="post-header__meta"],
[class*="reading-time"],
[class*="author-block"] {
    display: none !important;
}

.clean-page-wrapper {
    max-width: 1224px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    box-sizing: border-box;
}

.clean-page-wrapper .page-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 30px;
    color: #1e293b;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
}

.contacts-grid {
    display: grid;
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.contacts-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.contact-card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    overflow-wrap: anywhere;
}

.contact-card h3 {
    margin-top: 0;
    margin-bottom: 14px;
    font-size: 1.25rem;
    color: #0f172a;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 8px;
}

.contact-card p {
    margin: 6px 0;
    color: #334155;
    line-height: 1.5;
}

.contact-card a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 600;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-card.emergency {
    border-left: 4px solid #e11d48;
    background: #fff1f2;
}

.contact-card.emergency h3 {
    color: #9f1239;
    border-bottom-color: #fecdd3;
}

.schedule-box {
    background: #f8fafc;
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 14px;
    border: 1px solid #e2e8f0;
    font-size: 0.92rem;
}

.schedule-box p {
    margin: 4px 0;
}

.sub-label {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.note {
    font-size: 0.85rem !important;
    color: #64748b !important;
    font-style: italic;
}

@media screen and (max-width: 860px) {
    .contacts-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .contacts-page {
        width: 100%;
        min-width: 0;
    }
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 32px 0 16px;
    color: #0f172a;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.6;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 12px;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.doc-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 16px;
    text-decoration: none !important;
    color: #0f172a !important;
    transition: border-color .2s, box-shadow .2s;
}

.doc-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.1);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

.leader-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.leader-card h3 {
    margin: 0 0 6px 0;
    font-size: 1.2rem;
    color: #0f172a;
}

.leader-role {
    font-weight: 700;
    color: #e11d48;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

@media screen and (max-width: 768px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}

.hero-banner {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e293b url('/images/1720601607252-YX4b4wwJbyfl0xVK.jpg') center/cover no-repeat;
    color: #ffffff;
    padding: 60px 20px;
    box-sizing: border-box;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.hero-socials {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
}

.hero-social-btn {
    color: #fde047;
    transition: transform .2s, color .2s;
}

.hero-social-btn:hover {
    transform: scale(1.15);
    color: #ffffff;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
    color: #f8fafc;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #e2e8f0;
    max-width: 720px;
    margin: 0 auto 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 26px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 6px;
    transition: background .2s, transform .1s;
}

.btn-primary {
    background: #e11d48;
    color: #ffffff !important;
}

.btn-primary:hover {
    background: #be123c;
}

.btn-dark {
    background: #0f172a;
    color: #ffffff !important;
    border: 1px solid #334155;
}

.btn-dark:hover {
    background: #1e293b;
}

.home-about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    padding: 40px 0;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 40px;
}

.clean-feature-list {
    list-style: none;
    padding: 0;
    margin: 16px 0;
}

.clean-feature-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: #334155;
    line-height: 1.5;
}

.clean-feature-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #e11d48;
    font-weight: 700;
}

.home-brand-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.home-news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.all-news-link {
    font-weight: 700;
    color: #0284c7;
    text-decoration: none;
}

.all-news-link:hover {
    text-decoration: underline;
}

.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.news-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform .2s, box-shadow .2s;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.news-card-thumb {
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #f1f5f9;
}

.news-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-card-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-date {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 6px;
}

.news-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 10px;
}

.news-card-title a {
    color: #0f172a;
    text-decoration: none;
}

.news-card-title a:hover {
    color: #e11d48;
}

.news-card-summary {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
    margin-top: auto;
}

.pagination-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin: 30px 0 50px;
}

.page-link {
    padding: 8px 16px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #0f172a !important;
    text-decoration: none;
    font-weight: 600;
}

.page-link:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

.page-current {
    color: #64748b;
    font-size: 0.95rem;
}

@media screen and (max-width: 860px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .home-about-grid {
        grid-template-columns: 1fr;
    }

    .home-news-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

.news-single {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.news-single-header {
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 16px;
}

.news-single-header .page-title {
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1.3;
    color: #0f172a;
    margin-bottom: 12px;
    border-bottom: none;
    padding-bottom: 0;
}

.news-single-meta {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
}

.news-single-content {
    font-size: 1.1rem;
    line-height: 1.75;
    color: #334155;
}

.news-single-content p {
    margin: 0 0 16px 0;
}

.news-single-content h2,
.news-single-content h3,
.news-single-content h4,
.news-single-content h5,
.news-single-content h6 {
    color: #0f172a;
    margin: 28px 0 14px 0;
    font-weight: 700;
    line-height: 1.35;
}

.news-single-content ul,
.news-single-content ol {
    margin: 0 0 20px 24px;
    padding: 0;
}

.news-single-content li {
    margin-bottom: 8px;
}

.news-single-content a {
    color: #0284c7;
    text-decoration: underline;
    font-weight: 600;
}

.news-single-content a:hover {
    color: #0369a1;
}

.news-single-content .video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin: 28px 0;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.news-single-content .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.news-back-link {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.news-single-content {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #1e293b;
}

.news-single-content p {
    font-size: 1.15rem;
    line-height: 1.75;
    margin: 0 0 16px 0;
    color: #334155;
}

.news-single-content h1 {
    font-size: 1.85rem;
    font-weight: 800;
    margin: 30px 0 14px;
    color: #0f172a;
}

.news-single-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 26px 0 12px;
    color: #0f172a;
}

.news-single-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 22px 0 10px;
    color: #0f172a;
}

.news-single-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 20px 0 10px;
    color: #0f172a;
}

.news-single-content h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 18px 0 8px;
    color: #0f172a;
}

.news-single-content h6 {
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 18px 0 8px;
    color: #0f172a;
}

.news-single-content a {
    font-size: inherit;
    color: #0284c7;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.news-single-content a:hover {
    color: #0369a1;
}

.news-single-content img {
    max-width: 100%;
    width: auto;
    max-height: 650px;
    height: auto;
    display: inline-block;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.vacancies-container {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 36px;
    align-items: start;
    margin-top: 20px;
}

.vacancies-main {
    font-size: 1.15rem;
    line-height: 1.75;
    color: #334155;
}

.vacancies-main p {
    margin-bottom: 16px;
}

.vacancies-main h1,
.vacancies-main h2,
.vacancies-main h3,
.vacancies-main h4 {
    color: #0f172a;
    margin: 24px 0 12px;
    font-weight: 700;
}

.vacancies-sidebar {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 20px;
}

.vacancies-sidebar .sidebar-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px 0;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
}

.resume-samples {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.resume-sample-item {
    display: block;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

.resume-sample-item:hover {
    transform: translateY(-2px);
}

.resume-sample-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.resume-zoom-hint {
    display: block;
    text-align: center;
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 6px;
}

@media screen and (max-width: 860px) {
    .vacancies-container {
        grid-template-columns: 1fr;
    }

    .vacancies-sidebar {
        position: static;
        margin-top: 32px;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 28px 0 50px;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f1f5f9;
    aspect-ratio: 4 / 3;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: block;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

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

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

.gallery-card-zoom {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
}

.gallery-card:hover .gallery-card-zoom {
    opacity: 1;
}

.looker-embed-wrapper {
    width: 100%;
    margin: 28px 0 40px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.looker-embed-wrapper iframe {
    width: 100%;
    height: 920px;
    border: 0;
    display: block;
}

@media screen and (max-width: 900px) {
    .looker-embed-wrapper iframe {
        height: 700px;
    }
}

@media screen and (max-width: 600px) {
    .looker-embed-wrapper iframe {
        height: 520px;
    }
}

.report-features-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 28px 32px;
    margin: 32px 0 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.report-features-box h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 20px 0;
}

.gallery-card {
    background: #e2e8f0;
    contain: layout paint;
    transform: translateZ(0);
}

.gallery-card img {
    content-visibility: auto;
    will-change: transform;
}

.feedback-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
    align-items: start;
    margin-top: 24px;
}

.feedback-info {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #334155;
}

.feedback-info h2,
.feedback-info h3 {
    color: #0f172a;
    margin: 24px 0 12px;
    font-weight: 700;
}

.feedback-info ul,
.feedback-info ol {
    margin: 12px 0 20px 24px;
    padding: 0;
}

.feedback-info li {
    margin-bottom: 8px;
}

.feedback-form-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 28px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.feedback-form-card h2 {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.feedback-form-card .form-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 20px 0;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 6px;
}

.form-group label .req {
    color: #e11d48;
}

.form-control {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    font-size: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #ffffff;
    color: #0f172a;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}

.form-control:focus {
    outline: none;
    border-color: #0284c7;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    color: #475569;
    margin-bottom: 20px;
}

.form-checkbox input {
    margin-top: 3px;
}

.form-submit-btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    background: #0284c7;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

.form-submit-btn:hover {
    background: #0369a1;
}

.form-notice {
    font-size: 0.82rem;
    color: #64748b;
    text-align: center;
    margin-top: 12px;
}

@media screen and (max-width: 900px) {
    .feedback-grid {
        grid-template-columns: 1fr;
    }
}

.service-highlight-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-left: 4px solid #0284c7;
    border-radius: 8px;
    padding: 16px 22px;
    margin: 20px 0 28px 0;
    gap: 16px;
    flex-wrap: wrap;
}

.service-highlight-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.service-highlight-info .icon {
    font-size: 1.8rem;
    line-height: 1;
}

.service-highlight-info strong {
    display: block;
    font-size: 1.05rem;
    color: #0f172a;
}

.service-highlight-info span {
    font-size: 0.9rem;
    color: #64748b;
}

.service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    flex-wrap: wrap;
}

.service-card-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.4;
    flex: 1;
    min-width: 280px;
}

.service-term-badge {
    background: #e0f2fe;
    color: #0284c7;
    border: 1px solid #bae6fd;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.service-card-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #334155;
    margin: 0 0 12px 0;
}

.service-docs-list {
    padding-left: 20px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 1rem;
    line-height: 1.6;
    color: #334155;
}

.service-docs-list li {
    padding-left: 4px;
}

.service-docs-list ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-doc-link {
    font-weight: 600;
    color: #0284c7;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.service-doc-link:hover {
    color: #0369a1;
}

.service-doc-note {
    display: block;
    font-size: 0.92rem;
    color: #64748b;
    margin-top: 2px;
}

@media screen and (max-width: 768px) {
    .service-card {
        padding: 18px 20px;
    }
}

.legal-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 24px 0 45px 0;
}

.legal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none !important;
    color: #0f172a !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
    transition: border-color .2s ease, transform .15s ease, box-shadow .2s ease;
}

.legal-item:hover {
    border-color: #0284c7;
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.legal-item-left {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex: 1;
}

.legal-item-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    background: #f1f5f9;
    color: #0284c7;
    font-weight: 700;
    font-size: 0.88rem;
    border-radius: 6px;
    flex-shrink: 0;
    margin-top: 1px;
}

.legal-item-title {
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.45;
    color: #1e293b;
}

.legal-item-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #0284c7;
    white-space: nowrap;
    flex-shrink: 0;
    padding-left: 8px;
}

@media screen and (max-width: 640px) {
    .legal-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-item-action {
        align-self: flex-end;
    }
}

.clean-page-wrapper {
    max-width: 1080px;
    margin: 0 auto;
    padding: 30px 20px 80px;
    font-size: 1.08rem;
    line-height: 1.75;
    color: #334155;
}

.clean-page-wrapper h1.page-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 28px 0;
    padding-bottom: 18px;
    border-bottom: 2px solid #e2e8f0;
    line-height: 1.25;
}

/* Європейські проєкти */
.eu-project-index {
    max-width: 1600px;
    padding: 100px 30px 100px;
}

.eu-project-index h1 {
    margin: 0 0 220px;
    color: #1e1e1e;
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
}

.eu-project-index table {
    width: 100%;
    border: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

.eu-project-index td {
    width: 50%;
    padding: 0 18px;
    border: 0;
    vertical-align: middle;
}

.eu-project-index td:first-child {
    padding-left: 0;
}

.eu-project-index td:last-child {
    padding-right: 0;
}

.eu-project-index img {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
}

.eu-project-index a {
    color: #202124;
    font-size: clamp(1.25rem, 2vw, 2rem);
    font-weight: 800;
    line-height: 1.25;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.eu-project-index a:hover {
    color: #315b9b;
}

.eu-project-detail {
    max-width: 1224px;
}

.eu-project-detail h1 {
    margin-bottom: 42px;
    color: #1e1e1e;
    font-size: clamp(2.5rem, 4.5vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
}

.eu-project-detail h2 {
    margin-top: 32px;
}

@media (max-width: 700px) {
    .eu-project-index {
        padding: 42px 20px 64px;
    }

    .eu-project-index h1 {
        margin-bottom: 80px;
    }

    .eu-project-index table,
    .eu-project-index tbody,
    .eu-project-index tr,
    .eu-project-index td {
        display: block;
        width: 100%;
    }

    .eu-project-index td {
        padding: 0;
    }

    .eu-project-index td + td {
        margin-top: 32px;
    }

    .eu-project-detail {
        padding: 36px 20px 64px;
    }
}

.clean-page-wrapper h2 {
    font-size: 1.55rem;
    font-weight: 700;
    color: #0f172a;
    margin: 40px 0 20px 0;
    line-height: 1.35;
}

.clean-page-wrapper h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 32px 0 16px 0;
    line-height: 1.4;
}

.clean-page-wrapper p {
    margin: 0 0 22px 0;
    line-height: 1.75;
}

.clean-page-wrapper ol,
.clean-page-wrapper ul {
    margin: 16px 0 28px 0;
    padding-left: 26px;
}

.clean-page-wrapper li {
    margin-bottom: 12px;
    line-height: 1.7;
}

.clean-page-wrapper li:last-child {
    margin-bottom: 0;
}

.clean-page-wrapper li>ul,
.clean-page-wrapper li>ol {
    margin: 10px 0 14px 0;
    padding-left: 22px;
}

.clean-page-wrapper a {
    color: #0284c7;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.clean-page-wrapper a:hover {
    color: #0369a1;
}

.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 22px 0 44px 0;
}

.doc-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 22px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none !important;
    color: #0f172a !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.doc-card:hover {
    transform: translateY(-2px);
    border-color: #0284c7;
    box-shadow: 0 8px 18px rgba(2, 132, 199, 0.1);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 22px 0 44px 0;
}

.leader-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px 26px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.leader-card h3 {
    margin: 0 0 6px 0;
    font-size: 1.25rem;
}

.leader-card .leader-role {
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #e11d48;
    margin: 0 0 14px 0;
}

.leader-card p:last-child {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.meters-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
    margin-top: 24px;
}

@media (max-width: 900px) {
    .meters-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.meters-col-left {
    display: flex;
    flex-direction: column;
}

.meter-group {
    padding: 16px 0;
    border-bottom: 1px solid #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #334155;
}

.meter-group:first-child {
    padding-top: 0;
}

.meter-tel {
    font-weight: 700;
    color: #0284c7;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    white-space: nowrap;
}

.meter-tel:hover {
    color: #0369a1;
}

.meter-receipt-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.meter-receipt-img {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
    border: 1px solid #94a3b8;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.meter-receipt-alert {
    margin-top: 16px;
    font-size: 1.02rem;
    font-weight: 700;
    color: #dc2626;
    text-align: center;
    line-height: 1.45;
    max-width: 340px;
}

/* SITE HEADER & NAVIGATION */

.site-header {
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo img {
    display: block;
    height: auto;
    max-height: 50px;
    width: auto;
}

/* Nav list */
.header-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 24px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    font-weight: 500;
    color: #2b303a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-item.active>.nav-link {
    color: #1a56db;
}

.dropdown-icon {
    transition: transform 0.2s ease;
}

.nav-item.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background-color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-radius: 6px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.nav-item.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: #333333;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-link:hover,
.dropdown-item.active .dropdown-link {
    background-color: #f3f4f6;
    color: #1a56db;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger-bar {
    width: 100%;
    height: 3px;
    background-color: #2b303a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Responsive Header */
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .header-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .header-nav.is-open {
        max-height: 80vh;
        overflow-y: auto;
    }

    .nav-list {
        flex-direction: column;
        padding: 16px 20px;
        gap: 12px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 16px;
        display: none;
    }

}

/* SITE FOOTER */
.site-footer {
    background-color: #1e293b;
    color: #cbd5e1;
    padding: 48px 0 24px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.footer-title,
.footer-subtitle {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.15rem;
}

.footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contacts li {
    margin-bottom: 10px;
}

.footer-contacts a {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contacts a:hover {
    text-decoration: underline;
    color: #93c5fd;
}

/* Footer Schedule */
.footer-schedule p {
    margin: 0 0 8px;
}

/* Footer Form */
.footer-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.form-group label {
    font-size: 0.85rem;
    color: #94a3b8;
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    padding: 8px 12px;
    background-color: #334155;
    border: 1px solid #475569;
    border-radius: 4px;
    color: #ffffff;
    font-family: inherit;
    font-size: 0.9rem;
    box-sizing: border-box;
}

.footer-form input:focus,
.footer-form textarea:focus {
    outline: none;
    border-color: #60a5fa;
    background-color: #1e293b;
}

.btn-submit {
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}

.btn-submit:hover {
    background-color: #1d4ed8;
}

.footer-separator {
    border: 0;
    height: 1px;
    background-color: #334155;
    margin: 40px 0 24px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-link img {
    display: block;
    height: auto;
}

.footer-company-name {
    font-weight: 600;
    color: #ffffff;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    color: #94a3b8;
    transition: color 0.2s ease;
}

.footer-socials a:hover {
    color: #ffffff;
}

.footer-map-icon img {
    display: block;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer-map-icon img:hover {
    opacity: 1;
}

.footer-copyright {
    font-size: 0.85rem;
    color: #64748b;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* fix */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
a,
div {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

@media (max-width: 768px) {

    h1,
    .hero-title,
    [class*="title"],
    [class*="heading"] {
        font-size: clamp(1.3rem, 5vw, 1.8rem) !important;
        line-height: 1.25 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }

    [class*="wrapper"] {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }

    [class*="button-group"],
    [class*="btn-container"] {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}

/* Мобільна навігаційна панель */
.vtvk-drawer-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    justify-items: end;
    background: rgb(15 23 42 / 65%);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.vtvk-drawer-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.vtvk-drawer-panel {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: min(360px, 88vw);
    height: 100%;
    overflow-y: auto;
    padding: 22px 20px;
    background: #fff;
    box-shadow: -6px 0 25px rgb(0 0 0 / 20%);
    transform: translateX(100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.vtvk-drawer-overlay.is-active .vtvk-drawer-panel {
    transform: translateX(0);
}

.vtvk-drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.vtvk-drawer-brand { display: flex; flex-direction: column; }
.vtvk-brand-main { color: #0056b3; font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.vtvk-brand-sub { color: #64748b; font-size: 0.75rem; letter-spacing: 0.5px; text-transform: uppercase; }

.vtvk-close-btn {
    padding: 4px 8px;
    border: 0;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
}

.vtvk-menu-list, .vtvk-submenu-list { margin: 0; padding: 0; list-style: none; }
.vtvk-drawer-nav { display: flex; flex-direction: column; gap: 6px; }
.vtvk-nav-item { display: block; padding: 11px 14px; border-radius: 6px; color: #1e293b; font-size: 1rem; font-weight: 600; text-decoration: none; transition: background 0.15s ease, color 0.15s ease; }
.vtvk-nav-item:hover, .vtvk-nav-item:focus-visible { background: #f1f5f9; color: #0056b3; }
.vtvk-submenu-list { margin: 0 0 6px 14px; border-left: 2px solid #e2e8f0; }
.vtvk-submenu-link { padding-top: 8px; padding-bottom: 8px; font-size: 0.94rem; font-weight: 500; }

.vtvk-drawer-contacts { margin-top: auto; padding-top: 20px; border-top: 1px solid #e2e8f0; font-size: 0.88rem; }
.vtvk-contacts-title { margin: 0 0 6px; color: #0f172a; font-size: 0.94rem; font-weight: 700; }
.vtvk-meter-title { margin-top: 14px; }
.vtvk-phone-link { display: block; padding: 4px 0; color: #0056b3; text-decoration: none; }
.vtvk-phone-link strong { color: #334155; }
.vtvk-meter-phones { margin: 0 0 1rem; color: #475569; line-height: 1.6; }
.vtvk-meter-phones a { color: #0056b3; font-weight: 500; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
    .vtvk-drawer-overlay, .vtvk-drawer-panel { transition: none; }
}

/* Перегляд зображень */
.vtvk-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 20px;
    background: rgb(10 15 25 / 94%);
    cursor: zoom-out;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.vtvk-lightbox-overlay.is-open { opacity: 1; visibility: visible; }
.vtvk-lightbox-content { display: flex; max-width: 95vw; max-height: 95vh; align-items: center; justify-content: center; }
.vtvk-lightbox-content img { max-width: 92vw; max-height: 90vh; width: auto; height: auto; border-radius: 6px; object-fit: contain; box-shadow: 0 20px 40px rgb(0 0 0 / 70%); cursor: default; }
.vtvk-lightbox-close { position: absolute; top: 20px; right: 25px; display: grid; width: 48px; height: 48px; place-items: center; border: 0; border-radius: 50%; background: rgb(255 255 255 / 20%); color: #fff; cursor: pointer; font-size: 38px; line-height: 1; }
.vtvk-lightbox-close:hover, .vtvk-lightbox-close:focus-visible { background: rgb(255 255 255 / 40%); }

@media (prefers-reduced-motion: reduce) {
    .vtvk-lightbox-overlay { transition: none; }
}

/* fix 2 */

@media (min-width: 993px) {
    .header-container {
        justify-content: space-between;
    }

    .header-nav {
        margin: 0 auto;
    }
}

.content-video { display: block; width: 100%; max-width: 900px; aspect-ratio: 16 / 9; margin: 24px auto; border: 0; }
.video-container { width: 100%; max-width: 900px; aspect-ratio: 16 / 9; margin: 24px auto; }
.video-container iframe { width: 100%; height: 100%; border: 0; }



.home-content-wrapper { padding-top: 0; }
.gallery-intro { margin-bottom: 24px; }

/* Keep news cards inside the mobile content area with equal side gutters. */
@media screen and (max-width: 860px) {
    .clean-page-wrapper.home-content-wrapper {
        width: 100%;
        padding: 0 16px 40px !important;
    }

    .news-cards-grid {
        width: 100%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr);
    }

    .news-card {
        width: 100%;
        min-width: 0;
    }
}




/* SITE-WIDE SEARCH */
.header-search-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-left: 12px;
    color: #2b303a;
    border-radius: 50%;
}

.header-search-link:hover,
.header-search-link:focus-visible {
    color: #1a56db;
    background: #f3f4f6;
}

.header-search-link svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.site-search-page {
    min-height: 45vh;
    padding-top: clamp(28px, 5vw, 64px);
    padding-bottom: clamp(40px, 7vw, 88px);
}

.site-search-form {
    max-width: 760px;
    margin: 24px 0 28px;
}

.site-search-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.site-search-controls {
    display: flex;
    gap: 10px;
}

.site-search-controls input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font: inherit;
}

.site-search-controls button {
    flex: 0 0 auto;
    padding: 12px 22px;
    border: 0;
    border-radius: 6px;
    color: #fff;
    background: #1a56db;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.site-search-controls button:hover,
.site-search-controls button:focus-visible {
    background: #1748b8;
}

.site-search-status {
    margin: 20px 0;
    color: #475569;
}

.site-search-results {
    max-width: 900px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-search-result {
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
}

.site-search-result-title {
    color: #2874b8;
    font-size: 1.2rem;
    font-weight: 700;
}

.site-search-result-meta {
    margin: 6px 0;
    color: #64748b;
    font-size: 0.9rem;
}

.site-search-result-excerpt {
    margin: 8px 0 0;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .header-search-link {
        order: 2;
        margin-left: auto;
        margin-right: 18px;
    }

    .mobile-menu-toggle {
        order: 3;
    }
}

@media (max-width: 480px) {
    .site-search-controls {
        flex-direction: column;
    }

    .site-search-controls button {
        width: 100%;
    }
}
