:root {
    --ink: #10242f;
    --muted: #5f6f78;
    --line: #d9e5e8;
    --paper: #f5faf9;
    --white: #ffffff;
    --accent: #007f8f;
    --accent-dark: #005a68;
    --sand: #eef5f2;
    --shadow: 0 16px 38px rgba(8, 39, 50, 0.14);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 18%, rgba(0, 127, 143, 0.10), transparent 28%),
        radial-gradient(circle at 85% 8%, rgba(111, 194, 204, 0.16), transparent 24%),
        linear-gradient(180deg, #ffffff 0%, #f3fbfb 46%, #ffffff 100%);
    line-height: 1.6;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.22;
    background-image:
        linear-gradient(135deg, rgba(0, 127, 143, 0.08) 25%, transparent 25%),
        linear-gradient(225deg, rgba(0, 127, 143, 0.06) 25%, transparent 25%);
    background-size: 46px 46px;
    z-index: -1;
}

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

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px clamp(18px, 4vw, 54px);
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.05;
    letter-spacing: 0;
}

.brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.brand span {
    font-size: 14px;
    display: none;
}

.brand strong {
    font-size: 22px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex: 1;
}

.main-nav a {
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--sand);
    color: var(--accent-dark);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--white);
    padding: 9px 12px;
    font-weight: 700;
}

.phone-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 6px;
    background: var(--accent);
    color: var(--white);
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}

.phone-button:hover {
    background: var(--accent-dark);
}

.hero {
    position: relative;
    min-height: 680px;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--white);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 31, 39, 0.88), rgba(8, 31, 39, 0.46) 55%, rgba(8, 31, 39, 0.18));
}

.hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 880px;
    padding: 80px clamp(20px, 6vw, 80px);
}

.experience-badge {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 188px;
    height: 168px;
    margin-top: 28px;
    border-radius: 50%;
    color: #ffffff;
    text-align: center;
    background:
        repeating-linear-gradient(18deg, rgba(255, 255, 255, 0.0) 0 7px, rgba(255, 255, 255, 0.14) 8px 9px),
        repeating-linear-gradient(112deg, rgba(90, 55, 9, 0.0) 0 10px, rgba(90, 55, 9, 0.15) 11px 12px),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.12) 0 34%, transparent 35%),
        repeating-radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.14) 0 2px, transparent 2px 7px),
        linear-gradient(135deg, #d8b461, #a77925 55%, #765015);
    border: 8px double rgba(255, 255, 255, 0.8);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
    text-transform: uppercase;
    transform: rotate(-7deg);
    overflow: hidden;
}

.experience-badge > * {
    filter: drop-shadow(0 1px 0 rgba(80, 48, 8, 0.48));
}

.experience-badge::before,
.experience-badge::after {
    content: "";
    position: absolute;
    inset: 15px;
    border: 5px dashed rgba(255, 255, 255, 0.76);
    border-radius: 50%;
}

.experience-badge::after {
    inset: 31px;
    border: 2px solid rgba(255, 255, 255, 0.52);
    opacity: 0.8;
}

.experience-badge strong,
.experience-badge span {
    position: relative;
    z-index: 1;
}

.experience-badge strong {
    display: block;
    width: 128%;
    padding: 9px 10px;
    background:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.10) 0 2px, transparent 2px 7px),
        linear-gradient(90deg, #c39237, #8f6218);
    border-top: 2px solid rgba(255, 255, 255, 0.56);
    border-bottom: 2px solid rgba(255, 255, 255, 0.56);
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    letter-spacing: 0.02em;
    box-shadow: 0 4px 10px rgba(77, 48, 9, 0.24);
}

.experience-badge .badge-top,
.experience-badge .badge-bottom {
    display: block;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 2px rgba(79, 50, 12, 0.45);
}

.experience-badge .badge-top {
    font-size: 15px;
    margin-top: 8px;
}

.experience-badge .badge-bottom {
    font-size: 16px;
    margin-bottom: 8px;
}

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

.hero .eyebrow {
    color: #9ce8ef;
}

h1,
h2,
h3 {
    line-height: 1.15;
    margin: 0 0 16px;
}

h1 {
    font-size: clamp(38px, 5vw, 66px);
}

h2 {
    font-size: clamp(28px, 3vw, 42px);
}

h3 {
    font-size: 24px;
}

.hero p {
    max-width: 740px;
    font-size: 20px;
}

.actions,
.cta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border-radius: 6px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 800;
    cursor: pointer;
}

.button.primary {
    background: var(--accent);
    color: var(--white);
}

.button.primary:hover {
    background: var(--accent-dark);
}

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

.section {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 76px 0;
}

.intro-grid,
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.feature-list,
.values {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.feature-list article,
.values article,
.partner-list article {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 20px;
    background: var(--white);
}

.feature-list strong,
.values strong {
    display: block;
    margin-bottom: 6px;
}

.band {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.service-area {
    text-align: center;
}

.tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.tags span {
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--white);
    border: 1px solid var(--line);
    font-weight: 700;
}

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

.cards article {
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}

.cards article > *:not(img) {
    margin-left: 20px;
    margin-right: 20px;
}

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

.cards a {
    display: inline-block;
    margin-bottom: 22px;
    font-weight: 800;
}

.seo-service {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    gap: 34px;
    align-items: center;
}

.seo-service,
.faq details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.seo-service {
    padding: 34px;
}

.seo-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.seo-keywords span {
    padding: 9px 12px;
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid var(--line);
    font-weight: 800;
    color: var(--accent-dark);
}

.seo-regions {
    text-align: center;
}

.faq {
    display: grid;
    gap: 14px;
}

.faq details {
    padding: 0;
    overflow: hidden;
}

.faq summary {
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 900;
}

.faq details p {
    margin: 0;
    padding: 0 22px 22px;
}

.page-hero {
    padding: 82px clamp(20px, 6vw, 80px);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.page-hero.compact h1,
.page-hero.compact p {
    max-width: 900px;
}

.two-column img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-info {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow);
}

.contact-logo {
    width: min(260px, 80%);
    margin-top: 28px;
    border-radius: 0;
    box-shadow: none;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
    gap: 44px;
    align-items: center;
}

.about-layout img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.about-expanders {
    display: grid;
    gap: 16px;
    padding-top: 0;
}

.about-expanders details {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 10px 26px rgba(8, 39, 50, 0.08);
    overflow: hidden;
}

.about-expanders summary {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 900;
}

.about-expanders summary span {
    color: var(--accent-dark);
    font-size: 14px;
    white-space: nowrap;
}

.about-expanders details[open] summary {
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.about-expanders details p {
    margin: 18px 22px;
}

.architecture-block {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 42px;
    align-items: start;
}

.architecture-image {
    width: 100%;
    margin-top: 28px;
    border-radius: 8px;
    height: auto;
    object-fit: contain;
    box-shadow: var(--shadow);
}

.about-expanders.compact {
    padding: 0;
}

.about-expanders.compact summary {
    font-size: 18px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

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

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

.gallery figcaption {
    padding: 14px 16px;
    font-weight: 700;
}

.reference-gallery figure {
    box-shadow: var(--shadow);
}

.reference-gallery figcaption {
    display: grid;
    gap: 8px;
    padding: 20px;
    font-weight: 400;
    line-height: 1.55;
}

.reference-gallery figcaption strong {
    font-size: 22px;
    line-height: 1.2;
    color: var(--ink);
}

.reference-note {
    max-width: 980px;
    margin-top: -34px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
    font-size: 19px;
}

.reference-note p:last-child {
    margin-bottom: 0;
}

.form {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
}

.form.wide {
    max-width: 980px;
}

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

label {
    display: grid;
    gap: 6px;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid #bacbd0;
    border-radius: 6px;
    padding: 12px;
    font: inherit;
    background: var(--white);
    color: var(--ink);
}

textarea {
    resize: vertical;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
}

.check input {
    width: auto;
    margin-top: 6px;
}

.hp {
    position: absolute;
    left: -9999px;
}

.notice {
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 18px;
    font-weight: 700;
}

.notice.success {
    background: #e4f7ef;
    color: #0c5f3f;
}

.notice.error {
    background: #ffe8e6;
    color: #8a2017;
}

.muted {
    color: var(--muted);
}

.legal {
    max-width: 900px;
}

.legal-small-headings h2 {
    font-size: 22px;
}

.privacy-document h2 {
    margin-top: 34px;
}

.privacy-document h2:first-child {
    margin-top: 0;
}

.privacy-document h3 {
    margin: 24px 0 10px;
    font-size: 22px;
}

.privacy-document p,
.privacy-document li {
    overflow-wrap: anywhere;
}

.privacy-document ul {
    padding-left: 22px;
}

.partner-list {
    display: grid;
    gap: 18px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    padding: 38px clamp(18px, 4vw, 54px);
    background: var(--ink);
    color: var(--white);
}

.site-footer p {
    margin-bottom: 0;
}

.site-footer nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

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

@media (max-width: 880px) {
    .site-header {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 18px;
        right: 18px;
        top: 70px;
        padding: 12px;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: var(--shadow);
    }

    .phone-button {
        order: 3;
        width: 100%;
    }

    .main-nav.open {
        display: grid;
    }

    .hero {
        min-height: 620px;
    }

    .intro-grid,
    .two-column,
    .about-layout,
    .architecture-block,
    .seo-service,
    .cards,
    .gallery,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .feature-list,
    .values {
        grid-template-columns: 1fr;
    }

    .site-footer {
        display: grid;
    }
}
