:root {
    --blue: #174bd6;
    --blue-dark: #052a73;
    --blue-deep: #041f56;
    --blue-soft: #e6efff;
    --blue-ice: #edf4ff;
    --text: #132033;
    --muted: #58677c;
    --light: #e8f1ff;
    --white: #ffffff;
    --line: #ccd8ec;
    --shadow: 0 18px 45px rgba(5, 42, 115, 0.14);
    --radius: 22px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Inter", Arial, Helvetica, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top right, rgba(23, 75, 214, 0.14), transparent 30%),
        radial-gradient(circle at bottom left, rgba(5, 42, 115, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #eaf2ff 34%, #f5f9ff 68%, #ffffff 100%);
    line-height: 1.6;
}

body.no-scroll {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font-family: inherit;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(204, 216, 236, 0.92);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    color: var(--blue-dark);
    letter-spacing: 0.3px;
}

.brand img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.brand span {
    font-size: 19px;
    letter-spacing: 0.2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
}

.main-nav a {
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    color: #26344f;
    transition: 0.22s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    background: var(--blue);
    color: var(--white);
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 12px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--blue-dark);
    margin: 5px auto;
}

.hero,
.page-hero,
.section-soft-grid {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(23, 75, 214, 0.18), transparent 34%),
        radial-gradient(circle at bottom left, rgba(5, 42, 115, 0.08), transparent 30%),
        linear-gradient(135deg, #ffffff 0%, #e8f1ff 100%);
}

.hero::before,
.page-hero::before,
.section-soft-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(23, 75, 214, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 75, 214, 0.08) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
}

.hero {
    padding: 74px 0 54px;
}

.hero-grid,
.page-hero-inner,
.section-soft-grid > .container {
    position: relative;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    align-items: center;
    gap: 46px;
}

.hero-mobile-logo {
    display: none;
}
.hero-mobile-logo img {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
}

.hero-mobile-brand {
    margin: 14px auto 0;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    font-weight: 900;
    font-size: 18px;
    letter-spacing: 0.5px;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 1px solid rgba(23, 75, 214, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--blue-dark);
    font-weight: 900;
    font-size: 13px;
}

.hero h1 {
    margin: 20px 0 18px;
    font-size: clamp(36px, 5vw, 66px);
    line-height: 1.02;
    letter-spacing: -2px;
    color: var(--blue-dark);
}

.hero h1 span {
    color: var(--blue);
}

.hero-text {
    font-size: 18px;
    color: #34445c;
    max-width: 670px;
}

.hero-actions,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-actions-mobile {
    display: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 900;
    transition: 0.22s ease;
    cursor: pointer;
}

.btn-primary {
    color: var(--white);
    background: var(--blue);
    box-shadow: 0 12px 30px rgba(23, 75, 214, 0.25);
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    color: var(--blue-dark);
    background: var(--white);
    border-color: var(--line);
}

.btn-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
}

.hero-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(204, 216, 236, 0.95);
    border-radius: 34px;
    box-shadow: var(--shadow);
    padding: 32px;
}

.hero-logo-desktop img {
    width: min(430px, 100%);
    margin: 0 auto 22px;
    object-fit: contain;
}

.hero-specs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.spec {
    padding: 16px 12px;
    background: #f3f7ff;
    border: 1px solid var(--line);
    border-radius: 18px;
    text-align: center;
}

.spec strong {
    display: block;
    color: var(--blue-dark);
    font-size: 20px;
}

.spec span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.section {
    padding: 82px 0;
}

.section-soft {
    background: var(--light);
}

.section-head {
    max-width: 780px;
    margin-bottom: 34px;
}

.section-kicker {
    display: inline-block;
    color: var(--blue);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1.4px;
    margin-bottom: 10px;
}

.section h2,
.about-text h2,
.contact-card h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -1.2px;
    color: var(--blue-dark);
}

.section-head p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 16px;
}

.process-card,
.info-card,
.contact-card,
.faq-item,
.about-logo,
.gallery-item,
.gallery-preview a {
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(5, 42, 115, 0.09);
}

.process-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    transition: 0.25s ease;
}

.process-card:hover,
.info-card:hover,
.reference-item:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 75, 214, 0.46);
}

.process-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.process-card-content {
    padding: 22px;
}

.process-card h3 {
    margin: 0 0 8px;
    color: var(--blue-dark);
    font-size: 22px;
}

.process-card p {
    margin: 0;
    color: var(--muted);
}

.process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    font-size: 34px;
    font-weight: 900;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.info-card {
    border-radius: var(--radius);
    padding: 26px;
    transition: 0.22s ease;
}

.info-card .icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: var(--blue-soft);
    color: var(--blue);
    border-radius: 16px;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 16px;
}

.info-card h3 {
    margin: 0 0 10px;
    color: var(--blue-dark);
    font-size: 21px;
}

.info-card p {
    margin: 0;
    color: var(--muted);
}

.about-block {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 34px;
    align-items: center;
}

.about-logo {
    border-radius: 34px;
    padding: 34px;
}

.about-logo img {
    margin: 0 auto;
}

.about-text {
    color: #34445c;
    font-size: 17px;
}

.about-text h2 {
    margin-bottom: 18px;
}

.highlight-list {
    display: grid;
    gap: 12px;
    margin-top: 24px;
}

.highlight-item {
    display: grid;
    grid-template-columns: minmax(88px, auto) 1fr;
    gap: 14px;
    align-items: start;
    padding: 15px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
}

.highlight-item strong {
    display: block;
    color: var(--blue-dark);
    line-height: 1.35;
    font-weight: 900;
    white-space: normal;
}

.highlight-item span {
    display: block;
    min-width: 0;
    color: #34445c;
    line-height: 1.55;
}

.gallery-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.gallery-preview a,
.gallery-item {
    overflow: hidden;
    border-radius: 18px;
}

.gallery-preview img,
.gallery-item img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    transition: 0.28s ease;
}

.gallery-preview a:hover img,
.gallery-item:hover img {
    transform: scale(1.06);
}

.cta {
    background:
        linear-gradient(135deg, rgba(5, 42, 115, 0.97), rgba(23, 75, 214, 0.95)),
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.2), transparent 30%);
    color: var(--white);
    border-radius: 34px;
    padding: 42px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 22px;
    align-items: center;
    box-shadow: var(--shadow);
}

.cta h2 {
    color: var(--white);
}

.cta p {
    color: rgba(255, 255, 255, 0.86);
    margin: 12px 0 0;
}

.cta .btn-secondary {
    background: var(--white);
}

.urgent-section {
    background: linear-gradient(180deg, #ffffff, #e8f1ff);
}

.page-hero {
    padding: 58px 0;
    border-bottom: 1px solid var(--line);
}

.page-hero-inner {
    display: grid;
    grid-template-columns: 1fr 170px;
    gap: 28px;
    align-items: center;
}

.page-hero h1 {
    margin: 0;
    color: var(--blue-dark);
    font-size: clamp(34px, 5vw, 58px);
    line-height: 1.05;
}

.page-hero p {
    max-width: 760px;
    color: var(--muted);
    font-size: 18px;
    margin: 16px 0 0;
}

.page-hero img {
    width: 150px;
    margin-left: auto;
}

.gallery-page-hero .container {
    position: relative;
    z-index: 2;
}

.reference-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.reference-item {
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--blue-dark);
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 10px 24px rgba(5, 42, 115, 0.07);
    transition: 0.2s ease;
}

.reference-note {
    margin-top: 28px;
    padding: 22px;
    background: var(--blue-soft);
    border: 1px solid rgba(23, 75, 214, 0.22);
    border-radius: 18px;
    color: var(--blue-dark);
}

.faq-wrap {
    display: grid;
    gap: 14px;
    max-width: 920px;
}

.faq-item {
    border-radius: 18px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    text-align: left;
    cursor: pointer;
    color: var(--blue-dark);
    font-size: 17px;
    font-weight: 900;
}

.faq-question strong {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--blue-soft);
    color: var(--blue);
    flex: 0 0 auto;
}

.faq-answer {
    display: none;
    padding: 0 22px 20px;
    color: var(--muted);
}

.faq-item.is-open .faq-answer {
    display: block;
}

.faq-item.is-open .faq-question strong {
    background: var(--blue);
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: start;
}

.contact-card {
    border-radius: var(--radius);
    padding: 28px;
}

.contact-card h2 {
    margin-bottom: 20px;
}

.contact-line {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.contact-line:last-of-type {
    border-bottom: 0;
}

.contact-line strong {
    color: var(--blue-dark);
}

.contact-line a {
    color: var(--blue);
    font-weight: 800;
}

.map-box {
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: var(--white);
}

.map-box iframe {
    width: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

.gallery-toolbar {
    margin-bottom: 26px;
    padding: 18px 20px;
    background: var(--light);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.gallery-toolbar p {
    color: var(--muted);
    margin: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    border: 0;
    padding: 0;
    cursor: pointer;
    text-align: left;
}

.gallery-item img {
    height: 230px;
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(5, 17, 42, 0.92);
    padding: 70px 84px;
}

.lightbox.is-open {
    display: flex;
}

.lightbox-content {
    max-width: 1100px;
    width: 100%;
    text-align: center;
}

.lightbox-content img {
    max-height: 78vh;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 18px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
    background: var(--white);
}

.lightbox-content p {
    color: var(--white);
    margin: 14px 0 0;
    font-weight: 800;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    cursor: pointer;
    transition: 0.2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--blue);
}

.lightbox-close {
    top: 20px;
    right: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 34px;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
    height: 72px;
    border-radius: 18px;
    font-size: 58px;
    line-height: 1;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.site-footer {
    background: #071b48;
    color: rgba(255, 255, 255, 0.84);
    padding-top: 54px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
    gap: 30px;
}

.footer-logo {
    width: 92px;
    background: var(--white);
    border-radius: 18px;
    padding: 8px;
    margin-bottom: 14px;
}

.site-footer h3,
.site-footer h4 {
    color: var(--white);
    margin: 0 0 12px;
}

.site-footer p {
    margin: 0 0 10px;
}

.site-footer a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-links {
    display: grid;
    gap: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.footer-buttons a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(23, 75, 214, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: var(--white);
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    transition: 0.2s ease;
}

.footer-buttons a:hover {
    background: rgba(23, 75, 214, 0.55);
    transform: translateY(-2px);
    text-decoration: none;
}

.footer-bottom {
    margin-top: 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 18px 0;
    font-size: 14px;
}

.back-to-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: var(--blue);
    color: var(--white);
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(5, 42, 115, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.2s ease;
    z-index: 999;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .main-nav a {
        padding: 9px 9px;
        font-size: 13px;
    }

    .gallery-grid,
    .reference-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 980px) {
    .nav-toggle {
        display: block;
    }

    .desktop-nav-link {
        display: none;
    }

    .main-nav {
        position: absolute;
        top: 84px;
        left: 16px;
        right: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 18px;
        box-shadow: var(--shadow);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        border-radius: 12px;
        padding: 13px 14px;
        font-size: 15px;
    }

    .hero-grid,
    .about-block,
    .cta,
    .page-hero-inner,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .page-hero img {
        display: none;
    }

    .about-block .about-logo {
        order: 2;
    }

    .about-block > div:not(.about-logo) {
        order: 1;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-arrow {
        transform: rotate(90deg);
        min-height: 32px;
    }

    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-preview,
    .gallery-grid,
    .reference-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .lightbox {
        padding: 74px 18px;
    }

    .lightbox-prev,
    .lightbox-next {
        top: auto;
        bottom: 18px;
        transform: none;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        font-size: 42px;
    }

    .lightbox-prev {
        left: 18px;
    }

    .lightbox-next {
        right: 18px;
    }
}

@media (max-width: 620px) {
    .container {
        width: min(100% - 22px, var(--container));
    }

    .header-inner {
        min-height: 76px;
    }

    .brand img {
        width: 54px;
        height: 54px;
    }

    .brand span {
        font-size: 15px;
        letter-spacing: 0;
    }

    .main-nav {
        top: 76px;
        left: 11px;
        right: 11px;
    }

    .hero {
        padding: 34px 0 38px;
    }

    .hero-grid {
        gap: 24px;
    }

    .hero-mobile-logo {
        display: block;
        margin: 0 auto 22px;
        max-width: 300px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid var(--line);
        border-radius: 26px;
        box-shadow: 0 12px 28px rgba(5, 42, 115, 0.12);
    }

    .hero-logo-desktop {
        display: none;
    }

    .hero-actions-desktop {
        display: none;
    }

    .hero-actions-mobile {
        display: flex;
        margin-top: 18px;
    }

    .hero h1 {
        letter-spacing: -1px;
        text-align: center;
    }

    .hero-badge {
        display: flex;
        justify-content: center;
        width: fit-content;
        margin: 0 auto;
    }

    .hero-text {
        font-size: 16px;
        text-align: center;
    }

    .hero-card {
        padding: 18px;
        border-radius: 24px;
    }

    .hero-specs {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 58px 0;
    }

    .cards-grid,
    .gallery-preview,
    .gallery-grid,
    .reference-grid {
        grid-template-columns: 1fr;
    }

    .gallery-preview img,
    .gallery-item img {
        height: 230px;
    }

    .gallery-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .cta {
        padding: 26px;
        border-radius: 24px;
    }

    .btn {
        width: 100%;
    }

    .contact-line {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .highlight-item {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .faq-question {
        font-size: 15px;
        padding: 18px;
    }

    .faq-answer {
        padding: 0 18px 18px;
    }

    .footer-buttons {
        grid-template-columns: 1fr 1fr;
    }

    .footer-buttons a {
        min-height: 44px;
        font-size: 14px;
    }

    .lightbox-content img {
        max-height: 68vh;
    }
}