/* Variant 3: Bold and modern — strong typography + one accent */

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

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

:root {
    --color-bg: #fff;
    --color-bg-alt: #f8f8f8;
    --color-text: #111;
    --color-text-muted: #444;
    --color-accent: #f59e0b;
    --color-accent-hover: #d97706;
    --color-border: #e5e5e5;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    font-size: 16px;
}

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

a:hover {
    color: var(--color-accent);
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ----- Hero: large typography, subtle overlay, accent on CTA only ----- */
.site-header {
    background-size: cover;
    background-position: center;
    min-height: 43vh;
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 18px 0 32px;
    position: relative;
    align-items: stretch;
}

.site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.2) 100%);
}

.site-header > .container {
    position: relative;
    z-index: 1;
}

.site-header .logo a,
.site-header .main-nav a {
    color: #fff;
    opacity: 0.95;
}

.logo {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.03em;
}

.header-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}
.header-top-row-container
{
	background-color: rgba(0, 0, 0, 0.4);
    /* -webkit-text-stroke: #111; */
    /* -webkit-text-stroke-width: 0.11px; */
    width: 100%;
	  position: relative;
    z-index: 1;
}

.main-nav {
    margin-top: 0;
    display: flex;
    align-items: center;
}

.main-nav a {
    margin-right: 28px;
    font-size: 16px;
    font-weight: 600;
}

.main-nav a:hover,
.main-nav a.active {
    opacity: 1;
    color: var(--color-accent);
}

/* Language switcher (Ru / By / En) */
.lang-switch {
    position: relative;
    flex-shrink: 0;
}

.lang-switch-toggle {
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    min-width: 2.5rem;
    line-height: 1.2;
}

.lang-switch-toggle:hover,
.lang-switch.is-open .lang-switch-toggle {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.lang-switch-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 5rem;
    list-style: none;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 6px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    z-index: 50;
}

.lang-switch-menu[hidden] {
    display: none !important;
}

.lang-switch-menu a {
    display: block;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

.lang-switch-menu a:hover,
.lang-switch-menu a.is-active {
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.06);
}

.header-text {
    margin-top: 32px;
    padding-top: 16px;
    max-width: 620px;
    text-align: left;
}

.header-cta {
    justify-content: flex-start;
    align-items: center;
}

.header-tagline {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.header-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: -0.02em;
}

.btn-primary {
    display: inline-block;
    background-color: var(--color-accent);
    color: #111;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    transition: background-color 0.2s, color 0.2s;
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    color: #fff;
}

.header-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    color: #fff;
    background: transparent;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 1);
}

/* ----- Breadcrumbs & page titles (SEO) ----- */
.breadcrumbs {
    margin-bottom: 1.25rem;
}

.breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    align-items: center;
}

.breadcrumbs-link {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.breadcrumbs-link:hover {
    color: var(--color-accent-hover);
}

.breadcrumbs-current {
    color: var(--color-text);
    font-weight: 600;
}

.breadcrumbs-item:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--color-border);
    font-weight: 400;
}

.page-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.contacts-page .page-title {
    margin-bottom: 1.5rem;
}

/* ----- Sections ----- */
.section {
    padding: 64px 0;
    background-color: var(--color-bg);
}

.section:nth-of-type(even) {
    background-color: var(--color-bg-alt);
}

.section h2 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 28px;
    color: var(--color-text);
    letter-spacing: -0.02em;
}

.works-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.work-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: #fff;
    transition: box-shadow 0.2s;
}

.work-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.work-card-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: var(--color-bg-alt);
}

.work-card-body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.work-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.work-card-description {
    color: var(--color-text-muted);
    line-height: 1.6;
    flex: 1;
}

.work-card-footer {
    display: flex;
    justify-content: flex-start;
}

.work-card-footer .btn-primary {
    padding: 10px 22px;
}

.works-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 32px;
}

.works-pagination a,
.works-pagination span {
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid var(--color-border);
    font-weight: 600;
    color: var(--color-text);
}

.works-pagination a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.works-pagination .current-page {
    background: var(--color-bg-alt);
    border-color: transparent;
}

.work-detail-gallery {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.work-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.work-detail-no-images {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.work-detail-thumb {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    background: var(--color-bg);
}

.work-detail-thumb:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.work-detail-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.contacts-page .contacts-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.contact-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.contact-card-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #f59e0b;
    flex-shrink: 0;
}

.contact-card h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: #fff;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.contact-phones-card {
    padding-bottom: 20px;
}

.contact-phones-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-phone-line {
    display: flex;
    gap: 20px;
    align-items: baseline;
    flex-wrap: wrap;
}

.contact-phone-type {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.contact-phone-line a {
    color: #fff;
    font-size: 1rem;
}

.contact-emails-card {
    padding-bottom: 20px;
}

.contact-emails-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-email-line {
    display: flex;
    gap: 20px;
    align-items: baseline;
    flex-wrap: wrap;
}

.contact-email-type {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
}

.contact-email-line a {
    color: #fff;
    font-size: 1rem;
    word-break: break-word;
}

.map-card .map-wrapper {
    margin-top: 20px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: #000;
}

.map-wrapper iframe {
    width: 100%;
    min-height: 360px;
    border: none;
    display: block;
}

@media (min-width: 900px) {
    .contact-card {
        padding: 32px 36px;
    }
    .contact-card-header {
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .contact-card {
        padding: 22px;
    }
    .contact-card-header {
        flex-direction: column;
    }
    .contact-card h2 {
        font-size: 1.35rem;
    }
}
.work-detail-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--color-text);
}

.work-detail-description {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-top: 4px;
}

/* ----- Trust: block quote style, accent bar ----- */
.section-why .trust-quote {
    position: relative;
    padding-left: 20px;
    border-left: 4px solid var(--color-accent);
    max-width: 720px;
}

.section-why .section-content p,
.section-why .trust-block p {
    white-space: pre-wrap;
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-text);
}

.section-why .trust-grid {
    display: block;
}

.section-why .trust-block {
    padding: 0;
    border: none;
}

/* ----- Services: single list, alternating rows, bold hierarchy ----- */
.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    padding: 18px 20px;
    margin: 0 -20px;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
}

.services-list li:nth-child(odd) {
    background: var(--color-bg);
}

.services-list li:nth-child(even) {
    background: var(--color-bg-alt);
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list--linked li {
    padding: 0;
}

.services-list--linked li a {
    display: block;
    margin: 0 -20px;
    padding: 18px 20px;
    color: inherit;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
}

.services-list--linked li a:hover {
    text-decoration: underline;
}

/* ----- Partners: compact, grayscale, hover scale/color ----- */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
    align-items: center;
    justify-items: center;
}

.partner-link {
    display: block;
    padding: 16px;
    background: #fff;
    border-radius: 6px;
    transition: transform 0.2s, filter 0.2s, box-shadow 0.2s;
    border: 1px solid var(--color-border);
}

.partner-link img {
    display: block;
    max-width: 150px;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
}

.partner-link:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.partner-link:hover img {
    filter: grayscale(0%);
}

/* ----- Works grid: hover "Подробнее" in accent ----- */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 22px;
    justify-items: center;
}

.works-grid-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: var(--color-bg-alt);
    cursor: pointer;
    max-width: 200px;
    border: 1px solid var(--color-border);
}

.works-grid-item::after {
    content: "Подробнее";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    color: var(--color-accent);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.works-grid-item:hover::after {
    opacity: 1;
}

.works-grid-item img {
    display: block;
    max-width: 200px;
    max-height: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ----- Works lightbox ----- */
.works-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s, visibility 0.2s;
}

.works-lightbox.open {
    visibility: visible;
    opacity: 1;
}

.works-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    cursor: pointer;
}

.works-lightbox-content {
    position: relative;
    max-height: 80vh;
    max-width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 60px;
}

.works-lightbox-content img {
    max-height: 80vh;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.works-lightbox-close {
    position: absolute;
    top: -36px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
}

.works-lightbox-prev,
.works-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-accent);
    border: none;
    color: #111;
    font-size: 24px;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    cursor: pointer;
    left: 10px;
    font-weight: 700;
}

.works-lightbox-next {
    left: auto;
    right: 10px;
}

.works-lightbox-prev:hover,
.works-lightbox-next:hover {
    background: var(--color-accent-hover);
    color: #fff;
}

/* ----- Footer: dark, accent on link ----- */
.site-footer {
    background-color: #111;
    color: rgba(255, 255, 255, 0.8);
    padding: 44px 0 28px;
    font-size: 15px;
}

.footer-contacts {
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.footer-content {
    white-space: pre-wrap;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

.footer-contacts-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    white-space: normal;
}

.footer-contact-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-contact-label {
    font-weight: 700;
    color: #fff;
}

.footer-contact-value {
    white-space: pre-wrap;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-contact-item span {
    color: rgba(255, 255, 255, 0.82);
    font-weight: 600;
}

.footer-copyright {
    text-align: center;
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.site-footer a:hover {
    color: var(--color-accent);
}

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

    .site-header {
        min-height: 65vh;
        padding: 20px 0 40px;
    }

    .header-top-row {
        align-items: flex-start;
        gap: 14px;
        padding: 12px 16px;
    }

    .logo {
        font-size: 18px;
    }

    .main-nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 10px 16px;
    }

    .main-nav a {
        margin-right: 0;
        font-size: 15px;
    }

    .header-text {
        margin-top: 24px;
        padding-top: 12px;
    }

    .header-title {
        font-size: 1.85rem;
    }

    .section {
        padding: 48px 0;
    }

    .section h2 {
        font-size: 1.5rem;
        margin-bottom: 22px;
    }

    .services-list li {
        margin: 0 -24px;
        padding-left: 24px;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
        gap: 16px;
    }

    .header-cta {
        width: 100%;
    }

    .header-cta .btn-primary,
    .header-cta .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .site-header {
        min-height: 72vh;
    }

    .header-top-row {
        padding: 10px 16px;
    }

    .logo {
        font-size: 17px;
    }

    .main-nav {
        gap: 8px 12px;
    }

    .main-nav a {
        font-size: 14px;
    }

    .header-text {
        margin-top: 20px;
    }

    .header-title {
        font-size: 1.65rem;
    }

    .header-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
    }
}
