.company-hero {
    padding-bottom: 46px;
}

.company-hero .page-hero-inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.company-subnav {
    position: sticky;
    top: 120px;
    z-index: 80;
    scroll-margin-top: 120px;
    background: rgba(255, 253, 249, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 22px rgba(20, 21, 19, 0.08);
    backdrop-filter: blur(12px);
}

.company-subnav .container {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

.company-subnav .container::-webkit-scrollbar {
    display: none;
}

.company-subnav a {
    position: relative;
    display: grid;
    min-width: 150px;
    height: 64px;
    flex: 1 0 auto;
    padding: 0 24px;
    place-items: center;
    color: #66675f;
    border-right: 1px solid var(--line);
    font-weight: 700;
    letter-spacing: 0.06em;
}

.company-subnav a:first-child {
    border-left: 1px solid var(--line);
}

.company-subnav a::after {
    position: absolute;
    right: 24px;
    bottom: 0;
    left: 24px;
    height: 3px;
    background: var(--red);
    content: "";
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.company-subnav a:hover,
.company-subnav a[aria-current="page"] {
    color: var(--red);
}

.company-subnav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.company-page-section {
    min-height: 520px;
    padding: clamp(72px, 8vw, 112px) 0;
    background: var(--paper);
}

.about-intro {
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(36px, 5vw, 76px);
    align-items: stretch;
}

.about-intro h2 {
    position: relative;
    z-index: 1;
    max-width: 520px;
    margin: 34px 0 0;
    color: var(--white);
    font-size: clamp(42px, 4.8vw, 68px);
    line-height: 1.18;
}

.about-statement {
    position: relative;
    display: flex;
    min-height: 520px;
    align-items: flex-start;
    flex-direction: column;
    padding: clamp(36px, 4vw, 56px);
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(145deg, #951b20 0%, #661014 100%);
    border-top: 4px solid var(--ink);
}

.about-statement::before {
    position: absolute;
    top: 94px;
    right: -110px;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 253, 249, 0.12);
    border-radius: 50%;
    content: "";
}

.about-statement::after {
    position: absolute;
    right: 34px;
    bottom: 18px;
    color: rgba(255, 253, 249, 0.045);
    content: "A";
    font-family: var(--serif);
    font-size: 230px;
    line-height: 0.8;
    pointer-events: none;
}

.about-statement-top {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.about-statement .eyebrow {
    color: rgba(255, 253, 249, 0.68);
}

.about-index {
    color: var(--gold);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.about-emblem {
    position: relative;
    z-index: 1;
    display: grid;
    width: 72px;
    height: 72px;
    margin-top: 58px;
    place-items: center;
    background: var(--paper);
}

.about-emblem img {
    width: 46px;
    height: 46px;
}

.about-statement-meta {
    position: relative;
    z-index: 1;
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
    margin-top: auto;
    padding-top: 42px;
    color: rgba(255, 253, 249, 0.5);
    border-top: 1px solid rgba(255, 253, 249, 0.18);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.about-content {
    padding: 18px 0;
}

.about-lead {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(19px, 2.2vw, 28px);
    line-height: 1.9;
}

.company-body {
    margin-top: 38px;
    color: #494a45;
    font-family: var(--serif);
    font-size: 17px;
    line-height: 2;
}

.about-richtext {
    padding-top: 34px;
    border-top: 1px solid var(--line);
}

.about-empty {
    margin-top: 38px;
    padding-top: 34px;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

.about-service-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 56px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.about-service-row article {
    min-height: 210px;
    padding: 28px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.about-service-row article > span {
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
}

.about-service-row h3 {
    margin: 48px 0 14px;
    font-size: 26px;
}

.about-service-row p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 13px;
}

.panel-heading {
    margin-bottom: 52px;
}

.panel-heading h2 {
    margin: 14px 0 18px;
    font-size: clamp(38px, 5vw, 68px);
}

.panel-heading > p {
    max-width: 600px;
    margin-bottom: 0;
    color: var(--muted);
}

.contact-panel-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(32px, 5vw, 72px);
    align-items: stretch;
}

.contact-card {
    position: relative;
    display: flex;
    min-height: 420px;
    align-items: flex-start;
    flex-direction: column;
    padding: clamp(34px, 4vw, 52px);
    overflow: hidden;
    color: var(--white);
    background: linear-gradient(150deg, var(--ink) 0%, #20211f 58%, #301215 100%);
    border-top: 4px solid var(--red);
}

.contact-card::after {
    position: absolute;
    right: -28px;
    bottom: -62px;
    color: rgba(255, 253, 249, 0.035);
    content: "C";
    font-family: var(--serif);
    font-size: 270px;
    line-height: 1;
    pointer-events: none;
}

.contact-card-brand {
    position: relative;
    z-index: 1;
}

.contact-card-brand img {
    display: block;
    width: min(180px, 100%);
    height: auto;
}

.contact-card-main {
    position: relative;
    z-index: 1;
    margin-top: 72px;
}

.contact-card-main > span {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.contact-card-main h3 {
    margin: 18px 0 0;
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.35;
}

.contact-card-location {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: auto;
    padding-top: 42px;
}

.contact-card-location i {
    position: relative;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(255, 253, 249, 0.36);
    border-radius: 50%;
}

.contact-card-location i::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    content: "";
    transform: translate(-50%, -50%);
}

.contact-card-location > span {
    display: grid;
    gap: 3px;
}

.contact-card-location small {
    color: rgba(255, 253, 249, 0.38);
    font-size: 8px;
    letter-spacing: 0.14em;
}

.contact-card-location strong {
    font-family: var(--serif);
    font-size: 19px;
    font-weight: 400;
}

.contact-panel-grid .contact-list {
    border-color: var(--line);
}

.contact-panel-grid .contact-list div {
    border-color: var(--line);
}

.contact-panel-grid .contact-list dt {
    color: var(--muted);
}

.contact-panel-grid .contact-list dd {
    color: var(--ink);
}

.contact-panel-grid .contact-list a:hover {
    color: var(--red);
}

.contact-empty {
    display: grid;
    min-height: 290px;
    align-content: center;
    gap: 16px;
    padding: 36px;
    background: #f0ece3;
    border: 1px solid var(--line);
}

.contact-empty span {
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.contact-empty p {
    margin: 0;
    color: var(--muted);
}

.contact-map {
    display: grid;
    grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
    min-height: 420px;
    margin-top: 72px;
    overflow: hidden;
    border: 1px solid var(--line);
}

.contact-map-copy {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding: clamp(34px, 5vw, 70px);
    color: var(--white);
    background: var(--red-dark);
}

.contact-map-copy .eyebrow {
    color: rgba(255, 253, 249, 0.54);
}

.contact-map-copy h3 {
    margin: 22px 0 14px;
    font-size: clamp(36px, 4vw, 58px);
}

.contact-map-copy p {
    margin: 0;
    color: rgba(255, 253, 249, 0.68);
}

.contact-map-copy a {
    margin-top: auto;
    padding-top: 38px;
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

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

.document-gallery figure {
    margin: 0;
    padding: 18px;
    background: #f0ece3;
    border: 1px solid var(--line);
}

.document-gallery a {
    display: grid;
    aspect-ratio: 4 / 5;
    place-items: center;
    overflow: hidden;
    background: var(--white);
}

.document-gallery img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 220ms ease;
}

.document-gallery a:hover img {
    transform: scale(1.025);
}

.honor-gallery a {
    aspect-ratio: 4 / 3;
}

.company-gallery-empty {
    display: grid;
    min-height: 280px;
    place-content: center;
    gap: 16px;
    text-align: center;
    background: #f0ece3;
    border: 1px solid var(--line);
}

.company-gallery-empty span {
    color: var(--red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.company-gallery-empty p {
    margin: 0;
    color: var(--muted);
}

.cooperation-grid {
    display: grid;
    grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1.22fr);
    gap: clamp(20px, 2.4vw, 36px);
    align-items: stretch;
}

.page-company-cooperation .company-page-section {
    padding: 44px 0 56px;
}

.cooperation-intro {
    position: relative;
    min-height: 720px;
    padding: clamp(34px, 3.8vw, 52px);
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
    border-top: 4px solid var(--red);
}

.cooperation-intro::after {
    position: absolute;
    right: -24px;
    bottom: -42px;
    color: rgba(255, 253, 249, 0.035);
    content: "CO";
    font-family: var(--serif);
    font-size: 240px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.cooperation-intro .eyebrow {
    position: relative;
    z-index: 1;
    color: var(--gold);
}

.cooperation-title {
    position: relative;
    z-index: 1;
    margin-top: 42px;
}

.cooperation-title > span {
    display: block;
    margin-bottom: 12px;
    color: rgba(255, 253, 249, 0.34);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.cooperation-title h2 {
    margin: 0;
    font-size: clamp(48px, 5.2vw, 76px);
    line-height: 1.08;
}

.cooperation-intro > p:not(.cooperation-note) {
    position: relative;
    z-index: 1;
    margin: 30px 0 0;
    color: rgba(255, 253, 249, 0.68);
    font-size: 16px;
    line-height: 1.9;
}

.cooperation-intro .company-body {
    position: relative;
    z-index: 1;
    color: rgba(255, 253, 249, 0.68);
    border-color: rgba(255, 253, 249, 0.12);
}

.cooperation-directions {
    position: relative;
    z-index: 1;
    margin-top: 58px;
}

.cooperation-directions > span {
    color: rgba(255, 253, 249, 0.4);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.cooperation-directions ul {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(255, 253, 249, 0.14);
}

.cooperation-directions li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid rgba(255, 253, 249, 0.14);
    font-family: var(--serif);
    font-size: 18px;
}

.cooperation-directions li span {
    color: var(--gold);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
}

.cooperation-note {
    position: relative;
    z-index: 1;
    margin: 44px 0 0;
    padding-left: 18px;
    color: rgba(255, 253, 249, 0.46);
    border-left: 2px solid var(--red);
    font-size: 12px;
    line-height: 1.8;
}

.cooperation-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
    padding: clamp(30px, 3.6vw, 48px);
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: 0 22px 52px rgba(20, 21, 19, 0.08);
}

.cooperation-form-heading {
    grid-column: 1 / -1;
    margin-bottom: 8px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--line);
}

.cooperation-form-heading > span {
    color: var(--red);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.cooperation-form-heading h3 {
    margin: 12px 0 10px;
    font-size: clamp(28px, 3vw, 40px);
}

.cooperation-form-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.cooperation-form label {
    display: grid;
    align-content: start;
    gap: 10px;
}

.cooperation-form label > span {
    color: var(--ink);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.cooperation-form label > span b {
    color: var(--red);
    font-weight: 700;
}

.cooperation-form label > small {
    min-height: 32px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.55;
}

.cooperation-form input,
.cooperation-form textarea {
    width: 100%;
    padding: 14px 16px;
    color: var(--ink);
    background: #f7f4ee;
    border: 1px solid transparent;
    border-bottom-color: var(--line);
    border-radius: 0;
    outline: 0;
}

.cooperation-form input {
    min-height: 52px;
}

.cooperation-form input::placeholder,
.cooperation-form textarea::placeholder {
    color: #9a978f;
}

.cooperation-form textarea {
    min-height: 166px;
    resize: vertical;
}

.cooperation-form input:focus,
.cooperation-form textarea:focus {
    border-color: var(--red);
    box-shadow: inset 0 0 0 1px var(--red);
}

.form-captcha {
    grid-column: 1 / -1;
}

.captcha-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 18px;
    align-items: end;
}

.captcha-control button {
    height: 52px;
    padding: 0;
    overflow: hidden;
    background: #f3f0e9;
    border: 1px solid var(--line);
}

.captcha-control img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-captcha small {
    min-height: 0;
}

.form-message,
.form-submit {
    grid-column: 1 / -1;
}

.form-submit {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 2px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
}

.form-submit button {
    min-width: 210px;
    min-height: 56px;
    padding: 14px 28px;
    color: var(--white);
    background: var(--red);
    border: 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.form-submit button:disabled {
    cursor: wait;
    opacity: 0.6;
}

.form-submit p {
    margin: 0;
    color: var(--red);
    font-size: 12px;
}

.cooperation-offline {
    padding: 40px;
    border: 1px solid var(--line);
}

.contact-list {
    margin: 0;
    border-top: 1px solid var(--line-light);
}

.contact-list div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 24px;
    padding: 27px 0;
    border-bottom: 1px solid var(--line-light);
}

.contact-list dt {
    color: rgba(255, 253, 249, 0.42);
    font-size: 10px;
    letter-spacing: 0.14em;
}

.contact-list dd {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(18px, 2vw, 25px);
    overflow-wrap: anywhere;
}

.contact-list a:hover {
    color: var(--gold);
}

@media (max-width: 760px) {
    .company-subnav {
        top: 102px;
        scroll-margin-top: 102px;
    }

    .company-subnav a {
        min-width: 112px;
        height: 54px;
        padding: 0 16px;
        font-size: 12px;
    }

    .company-subnav a::after {
        right: 16px;
        left: 16px;
    }

    .company-hero .page-hero-inner,
    .about-intro,
    .contact-panel-grid,
    .cooperation-grid,
    .contact-map {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-statement {
        min-height: 470px;
        padding: 30px 26px 34px;
        border-bottom: 0;
    }

    .about-emblem {
        margin-top: 42px;
    }

    .about-intro h2 {
        margin-top: 28px;
        font-size: 44px;
    }

    .about-content {
        padding: 0;
    }

    .company-page-section {
        min-height: 0;
        padding: 64px 0;
    }

    .page-company-cooperation .company-page-section {
        padding: 28px 0 40px;
    }

    .about-service-row {
        grid-template-columns: 1fr;
        margin-top: 48px;
    }

    .about-service-row article {
        min-height: 0;
        padding: 22px;
    }

    .about-service-row h3 {
        margin-top: 32px;
    }

    .panel-heading {
        margin-bottom: 38px;
    }

    .contact-card {
        min-height: 390px;
        padding: 30px 26px 34px;
    }

    .contact-card-main {
        margin-top: 56px;
    }

    .contact-card-main h3 {
        font-size: 34px;
    }

    .contact-map {
        gap: 0;
        min-height: 0;
        margin-top: 52px;
    }

    .contact-map-copy {
        min-height: 300px;
    }

    .contact-map iframe {
        min-height: 330px;
    }

    .document-gallery {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cooperation-form {
        grid-template-columns: 1fr;
        padding: 26px 22px;
    }

    .cooperation-intro {
        min-height: 0;
        padding: 34px 28px 42px;
    }

    .cooperation-intro::after {
        font-size: 170px;
    }

    .cooperation-title {
        margin-top: 30px;
    }

    .cooperation-title h2 {
        font-size: 48px;
    }

    .cooperation-directions {
        margin-top: 42px;
    }

    .cooperation-form-heading {
        grid-column: auto;
    }

    .form-captcha,
    .form-message,
    .form-submit {
        grid-column: auto;
    }

    .captcha-control {
        grid-template-columns: minmax(0, 1fr) 132px;
    }

    .form-submit {
        align-items: stretch;
        flex-direction: column;
    }

    .contact-list div {
        grid-template-columns: 84px minmax(0, 1fr);
    }
}
