:root {
    --blue-900: #0b2742;
    --blue-800: #103d63;
    --blue-700: #0f4c81;
    --blue-100: #e8f3fb;
    --yellow-500: #f7c948;
    --yellow-600: #e0a800;
    --gray-900: #1d2430;
    --gray-700: #465160;
    --gray-200: #d9e1ea;
    --gray-100: #f3f6f9;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(11, 39, 66, 0.14);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
}

body,
button,
input,
textarea {
    font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

.container {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.narrow {
    width: min(860px, calc(100% - 32px));
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(217, 225, 234, 0.72);
    backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
    box-shadow: 0 8px 24px rgba(11, 39, 66, 0.08);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex: 0 0 auto;
}

.brand img {
    height: 79.3359px;
    width: auto;
    padding: 5px 0;
}

.header-brand {
    min-width: 0;
}

.brand-logo {
    width: auto;
    height: 80px;
    max-width: 300px;
    object-fit: contain;
    padding: 10px 0;
}

.footer-brand .brand-logo {
    height: 119px;
    max-width: 510px;
    padding: 5px 0;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 8px;
}

.footer-brand {
    width: fit-content;
    padding: 4px 10px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.94);
}
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--blue-900);
    background: var(--yellow-500);
    border-radius: var(--radius);
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    line-height: 1.1;
    color: var(--blue-900);
}

.brand small {
    color: var(--gray-700);
    font-size: 13px;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex: 1 1 auto;
}

.site-nav a {
    color: var(--gray-700);
    font-size: 15px;
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--blue-700);
}

.header-phone {
    flex: 0 0 auto;
    color: var(--blue-900);
    font-weight: 800;
    text-decoration: none;
}

.header-callback {
    min-height: 42px;
    padding: 9px 14px;
    font-size: 14px;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
}

.menu-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--blue-900);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: end;
    overflow: hidden;
    color: var(--white);
    background: var(--blue-900);
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(11, 39, 66, 0.94), rgba(11, 39, 66, 0.78) 48%, rgba(11, 39, 66, 0.34));
}

.hero-inner {
    position: relative;
    z-index: 1;
    padding: 132px 0 56px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--yellow-500);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1 {
    width: min(780px, 100%);
    margin: 0;
    font-size: clamp(40px, 6vw, 70px);
    line-height: 1.05;
}

.hero-lead {
    width: min(680px, 100%);
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 20px;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button:disabled {
    cursor: wait;
    opacity: 0.72;
    transform: none;
}

.button-primary {
    color: var(--blue-900);
    background: var(--yellow-500);
    border-color: var(--yellow-500);
}

.button-primary:hover {
    background: var(--yellow-600);
    border-color: var(--yellow-600);
}

.button-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.1);
}

.button-outline {
    color: var(--blue-900);
    background: var(--white);
    border-color: var(--gray-200);
}

.messenger-link {
    width: 24px;
    min-width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    background: transparent;
    border-color: transparent;
}

.messenger-link:hover {
    background: transparent;
}

.contact-info > span:first-of-type {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info > span:first-of-type .messenger-link {
    margin-left: 10px;
}

.contact-info > span:first-of-type .messenger-link + .messenger-link {
    margin-left: 10px;
}

.messenger-icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.messenger-icon img,
.footer-messenger-icon img {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
}

.messenger-link-whatsapp .messenger-icon,
.footer-messenger-whatsapp .footer-messenger-icon {
    background: #25d366;
}

.messenger-link-telegram .messenger-icon,
.footer-messenger-telegram .footer-messenger-icon {
    background: #26a5e4;
}

.messenger-link-viber .messenger-icon,
.footer-messenger-viber .footer-messenger-icon {
    background: #7360f2;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    width: min(760px, 100%);
    margin: 44px 0 0;
}

.hero-stats div {
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.12);
}

.hero-stats dt {
    font-size: 28px;
    font-weight: 900;
    line-height: 1.1;
}

.hero-stats dd {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.84);
}

.section {
    padding: 88px 0;
}

.section-muted {
    background: var(--gray-100);
}

.trust-strip {
    padding: 28px 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.trust-grid div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    text-align: center;
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid strong {
    color: var(--blue-900);
}

.trust-grid span {
    margin-top: 4px;
    color: var(--gray-700);
}

.split,
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: center;
}

.media-card {
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--blue-100);
    box-shadow: var(--shadow);
}

h2,
h3,
p {
    overflow-wrap: anywhere;
}

h2 {
    margin: 0;
    color: var(--blue-900);
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
}

h3 {
    margin: 0;
    color: var(--blue-900);
    font-size: 20px;
    line-height: 1.25;
}

p {
    margin: 16px 0 0;
    color: var(--gray-700);
}

.section-head {
    width: min(760px, 100%);
    margin-bottom: 34px;
}

#services .section-head,
#advantages .section-head,
#prices .section-head,
#works .section-head,
#reviews .section-head,
#faq .section-head {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.check-list {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.check-list span {
    position: relative;
    padding-left: 30px;
    color: var(--gray-700);
}

.check-list span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--yellow-500);
    box-shadow: inset 0 0 0 4px var(--blue-900);
}

.cards,
.service-details,
.advantages,
.gallery,
.reviews {
    display: grid;
    gap: 18px;
}

.services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-grid .card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.services-grid .card-icon {
    margin-left: auto;
    margin-right: auto;
}

.card,
.advantages div,
.reviews blockquote,
.form {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(11, 39, 66, 0.06);
}

.card {
    min-height: 248px;
    padding: 22px;
}

.card-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: var(--radius);
    color: var(--blue-900);
    background: var(--yellow-500);
    font-weight: 900;
}

.card p,
.service-detail p,
.advantages p,
.reviews p {
    font-size: 15px;
}

.service-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
}

.service-detail {
    padding: 24px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(11, 39, 66, 0.06);
}

.service-detail h3 {
    text-align: center;
}

.service-detail p:first-of-type {
    margin-top: 14px;
}

.service-detail strong {
    color: var(--blue-900);
}

.advantages {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.advantages div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
}

.price-table {
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
}

.price-table div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid var(--gray-200);
}

.price-table div:last-child {
    border-bottom: 0;
}

.price-table span {
    color: var(--gray-700);
}

.price-table strong {
    color: var(--blue-900);
    white-space: nowrap;
}

.notice {
    margin-top: 18px;
    padding: 18px;
    border-left: 4px solid var(--yellow-500);
    border-radius: var(--radius);
    background: var(--blue-100);
    color: var(--blue-900);
}

.gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
}

.gallery img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.gallery figcaption {
    padding: 14px 16px;
    color: var(--blue-900);
    font-weight: 800;
}

.reviews {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reviews blockquote {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 24px;
    text-align: center;
}

.reviews blockquote p:first-child {
    margin-top: 0;
}

.reviews cite {
    display: block;
    margin-top: 18px;
    color: var(--blue-900);
    font-style: normal;
    font-weight: 800;
}

.faq-list {
    display: grid;
    gap: 12px;
}

.faq-list details {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    background: var(--white);
}

.faq-list summary {
    padding: 18px 20px;
    color: var(--blue-900);
    font-weight: 800;
    cursor: pointer;
}

.faq-list p {
    margin: 0;
    padding: 0 20px 20px;
}

.section-contact {
    background: var(--blue-900);
}

.section-contact h2,
.section-contact h3,
.section-contact .contact-info,
.section-contact .contact-info a {
    color: var(--white);
}

.section-contact p {
    color: rgba(255, 255, 255, 0.78);
}

.contact-grid {
    align-items: start;
}

.contact-info {
    display: grid;
    gap: 10px;
    margin: 26px 0;
    font-style: normal;
}

.map-wrap {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.1);
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 280px;
    border: 0;
}

.forms-column {
    display: grid;
    gap: 18px;
}

.form {
    padding: 24px;
}

.form h2 {
    margin-bottom: 18px;
    font-size: 26px;
    color: var(--yellow-500);
}

.form label {
    display: grid;
    gap: 6px;
    margin-bottom: 14px;
    color: var(--blue-900);
    font-weight: 800;
}

.form input,
.form textarea {
    width: 100%;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 13px 14px;
    color: var(--gray-900);
    background: var(--white);
    outline: none;
}

.form input:focus,
.form textarea:focus {
    border-color: var(--blue-700);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.14);
}

.form textarea {
    resize: vertical;
}

.form .button {
    width: 100%;
}

.checkbox {
    grid-template-columns: 20px 1fr;
    align-items: start;
    gap: 10px;
    font-weight: 600;
}

.checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
}

.checkbox a {
    color: var(--blue-700);
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    min-height: 24px;
    margin: 12px 0 0;
    font-weight: 700;
}

.form-status.is-success {
    color: #167146;
}

.form-status.is-error {
    color: #b42318;
}

.form-status.is-loading {
    color: var(--blue-700);
}

body.modal-open {
    overflow: hidden;
}

.modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    padding: 24px;
}

.modal.is-open {
    display: grid;
    place-items: center;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 27, 45, 0.68);
}

.modal-dialog {
    position: relative;
    z-index: 1;
    width: min(420px, 100%);
}

.modal-dialog .form {
    box-shadow: var(--shadow);
}

.modal-close {
    position: absolute;
    top: -14px;
    right: -14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    color: var(--blue-900);
    background: var(--white);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.site-footer {
    padding: 44px 0;
    background: #071b2d;
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr 0.9fr;
    gap: 28px;
}

.site-footer p,
.site-footer a,
.site-footer small {
    color: rgba(255, 255, 255, 0.78);
}

.site-footer h2 {
    color: var(--white);
    font-size: 18px;
}

.footer-brand strong {
    color: var(--white);
}

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

.site-footer li {
    margin-bottom: 8px;
}

.site-footer nav a {
    display: block;
    margin-bottom: 8px;
}

.footer-messengers {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.footer-messenger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 10px;
    border-radius: 10px;
}

.footer-messenger:hover {
    background: rgba(255, 255, 255, 0.16);
}

.footer-messenger-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mobile-sticky-call {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 45;
    display: none;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: var(--radius);
    color: var(--blue-900);
    background: var(--yellow-500);
    box-shadow: 0 12px 34px rgba(11, 39, 66, 0.26);
    font-weight: 900;
    text-decoration: none;
}

@media (max-width: 1100px) {
    .services-grid,
    .service-details,
    .advantages {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .header-phone,
    .header-callback {
        display: none;
    }
}

@media (max-width: 860px) {
    html {
        scroll-padding-top: 72px;
    }

    .header-inner {
        min-height: 68px;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        left: 16px;
        right: 16px;
        top: calc(100% + 8px);
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 8px;
        border: 1px solid var(--gray-200);
        border-radius: var(--radius);
        background: var(--white);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 12px;
        border-radius: var(--radius);
    }

    .site-nav a:hover {
        background: var(--blue-100);
    }

    .hero {
        min-height: 680px;
        align-items: center;
    }

    .hero-media img {
        object-position: 58% center;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(11, 39, 66, 0.96), rgba(11, 39, 66, 0.82) 58%, rgba(11, 39, 66, 0.72));
    }

    .hero-inner {
        padding: 90px 0 48px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-lead {
        font-size: 18px;
    }

    .hero-stats,
    .trust-grid,
    .split,
    .contact-grid,
    .gallery,
    .reviews,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 64px 0;
    }

    .mobile-sticky-call {
        display: inline-flex;
    }
}

@media (max-width: 560px) {
    .container,
    .narrow {
        width: min(100% - 24px, 1160px);
    }

    .brand small {
        display: none;
    }

    .brand-logo {
        height: 70px;
        max-width: 250px;
        padding: 10px 0;
    }

    .footer-brand .brand-logo {
        height: 111px;
        max-width: 425px;
        padding: 5px 0;
        background: rgba(255, 255, 255, 0.94);
        border-radius: 8px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-actions,
    .contact-actions {
        display: grid;
    }

    .hero-actions .button,
    .contact-actions .button {
        width: 100%;
    }

    .hero-stats {
        gap: 10px;
    }

    .hero-stats div {
        padding: 14px;
    }

    .services-grid,
    .service-details,
    .advantages {
        grid-template-columns: 1fr;
    }

    .price-table div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .form {
        padding: 18px;
    }

    .map-wrap iframe {
        height: 260px;
    }
}
