/* =========================
   БАЗОВЫЕ НАСТРОЙКИ
========================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #18304d;
    background: #ffffff;
    line-height: 1.6;
}

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

img {
    width: 100%;
    display: block;
}

.container {
    width: min(1180px, 90%);
    margin: 0 auto;
}


/* =========================
   ШАПКА
========================= */

.header {
    background: rgba(255, 255, 255, 0.97);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    color: #092b4c;
    font-family: Georgia, serif;
    font-size: 28px;
    letter-spacing: 2px;
    font-weight: bold;
}

.logo span {
    display: block;
    font-family: Arial, sans-serif;
    text-transform: uppercase;
    font-size: 8px;
    letter-spacing: 3px;
    font-weight: normal;
    color: #8e7347;
}

.nav {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 14px;
    font-weight: 600;
}

.nav a {
    transition: 0.3s;
}

.nav a:hover {
    color: #c69a4b;
}

.header-button {
    background: #d4a652;
    color: #102c49;
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    transition: 0.3s;
}

.header-button:hover {
    background: #e2ba70;
}


/* =========================
   ГЛАВНЫЙ ЭКРАН
========================= */

.hero {
    position: relative;
    min-height: 690px;
    background:
        linear-gradient(
            90deg,
            rgba(6, 25, 44, 0.94) 0%,
            rgba(6, 25, 44, 0.72) 45%,
            rgba(6, 25, 44, 0.20) 100%
        ),
        url("images/hero.webp");

    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 50px;
    padding-bottom: 140px;
    min-width: 0;
}

.hero-label {
    max-width: 330px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.5;
    margin-bottom: 18px;
}

.hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(70px, 9vw, 125px);
    font-weight: 400;
    line-height: 0.95;
    margin-bottom: 25px;
}

.hero-description {
    max-width: 650px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 3vw, 39px);
    line-height: 1.2;
    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 25px;
    border-radius: 30px;
    font-weight: 700;
    transition: 0.3s;
    white-space: normal;
    text-align: center;
}

.button-blue {
    background: #0c3d68;
    border: 1px solid #6686a0;
}

.button-blue:hover {
    background: #135182;
}

.button-outline {
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.07);
}

.button-outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

.hero-features {
    position: absolute;
    z-index: 3;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-features div {
    padding: 0 25px;
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-features div:first-child {
    padding-left: 0;
}

.hero-features div:last-child {
    border-right: none;
}

.hero-features strong {
    display: block;
    color: #e2b45e;
    margin-bottom: 4px;
}

.hero-features span {
    display: block;
    font-size: 13px;
    line-height: 1.4;
}


/* =========================
   ОБЩИЕ СЕКЦИИ
========================= */

.section {
    padding: 90px 0;
}

.section-light {
    background: #f7f7f5;
}

.section-label {
    color: #92723d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section h2 {
    font-family: Georgia, "Times New Roman", serif;
    color: #102f4f;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.15;
    font-weight: 400;
    margin-bottom: 20px;
}

.lead {
    font-family: Georgia, serif;
    color: #1a3a5a;
    font-size: 22px;
    line-height: 1.45;
    margin-bottom: 20px;
}


/* =========================
   О КОМПАНИИ
========================= */

.about-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
}

.about-grid p:not(.section-label) {
    margin-bottom: 18px;
}

.about-image {
    height: 470px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =========================
   ЗАКАЗЧИКИ
========================= */

.customer-list {
    margin-top: 45px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.customer-list div {
    background: white;
    min-height: 110px;
    padding: 25px 25px 25px 58px;
    display: flex;
    align-items: center;
    position: relative;
    border: 1px solid #ece8df;
    transition: 0.3s;
}

.customer-list div::before {
    content: "✓";
    position: absolute;
    left: 24px;
    color: #c99945;
    font-size: 21px;
}

.customer-list div:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 47, 79, 0.08);
}


/* =========================
   ПРЕИМУЩЕСТВА
========================= */

.advantages {
    background: #082c4d;
    color: white;
    padding: 75px 0;
}

.light-label {
    color: #d5aa5c;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.advantage {
    padding: 20px 65px;
}

.advantage:first-child {
    padding-left: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.advantage-number {
    font-family: Georgia, serif;
    color: #d9a94f;
    font-size: 56px;
}

.advantage h3 {
    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: 400;
    margin-bottom: 15px;
}

.advantage p {
    color: #d8e0e8;
}


/* =========================
   ДВА НАПРАВЛЕНИЯ
========================= */

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.service-card {
    position: relative;
    min-height: 390px;
    padding: 55px 45px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    overflow: hidden;
    isolation: isolate;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(5, 25, 43, 0.95),
        rgba(5, 25, 43, 0.18)
    );
    z-index: -1;
}

.service-card.government {
    background:
        url("images/government.webp")
        center / cover no-repeat;
}

.service-card.hotels {
    background:
        url("images/hotel.webp")
        center / cover no-repeat;
}

.service-card h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 15px;
}

.service-card p {
    max-width: 480px;
    margin-bottom: 25px;
}

.service-card span {
    color: #e5b45d;
    font-weight: bold;
}

.service-card {
    transition: transform 0.35s;
}

.service-card:hover {
    transform: translateY(-5px);
}


/* =========================
   ПОДВАЛ
========================= */

.footer {
    background: #f4f3f0;
    color: #30465b;
    padding-top: 65px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr 1.2fr;
    gap: 45px;
}

.footer h3 {
    font-family: Georgia, serif;
    color: #0d3153;
    font-size: 28px;
    margin-bottom: 15px;
}

.footer h4 {
    color: #0d3153;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    margin-bottom: 12px;
}

.footer p {
    font-size: 14px;
    margin-bottom: 17px;
}

.footer a {
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.copyright {
    margin-top: 55px;
    padding: 25px 0;
    border-top: 1px solid #ddd9d1;
    font-size: 13px;
}


/* =========================
   COOKIE
========================= */

.cookie {
    position: fixed;
    z-index: 2000;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid #ddd;
    padding: 18px 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.08);
}

.cookie p {
    font-size: 13px;
    max-width: 900px;
}

.cookie button {
    background: white;
    color: #18304d;
    border: 1px solid #c99b4c;
    border-radius: 25px;
    padding: 10px 25px;
    cursor: pointer;
}


/* =========================
   ПЛАНШЕТЫ И ТЕЛЕФОНЫ
========================= */

@media (max-width: 1000px) {

    .nav {
        display: none;
    }

    .hero-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-features div {
        margin-bottom: 15px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 700px) {

    .header-inner {
        min-height: 70px;
    }

    .header-button {
        display: none;
    }

    .hero {
        min-height: 780px;
    }

    .hero-content {
        padding-bottom: 260px;
    }

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

    .hero-description {
        font-size: 27px;
    }

    .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}

.hero-buttons .button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 12px 16px;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    line-height: 1.4;
    }

    .hero-features {
        grid-template-columns: 1fr;
        padding: 20px 0;
    }

    .hero-features div {
        border-right: none;
        padding: 5px 0;
    }

    .section {
        padding: 60px 0;
    }

    .about-image {
        height: 330px;
    }

    .customer-list {
        grid-template-columns: 1fr;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .advantage {
        padding: 30px 0;
    }

    .advantage:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 330px;
        padding: 35px 25px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cookie {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* =====================================================
   СТРАНИЦА: ГОСУДАРСТВЕННЫМ ЗАКАЗЧИКАМ
===================================================== */


/* ---------- HERO ---------- */

.government-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;

    background:
    linear-gradient(
        90deg,
        rgba(5, 28, 49, 0.88) 0%,
        rgba(5, 28, 49, 0.60) 55%,
        rgba(5, 28, 49, 0.25) 100%
    ),
    url("images/government-hero.webp");

background-size: cover;
background-position: center;
background-repeat: no-repeat;
}

/* декоративные линии — пока вместо фотографии */

.government-hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    border: 1px solid rgba(212, 166, 82, 0.18);
    border-radius: 50%;
    right: -100px;
    top: -170px;
}

.government-hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    right: 160px;
    bottom: -210px;
}

.government-hero-content {
    position: relative;
    z-index: 2;
}

.government-hero h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: clamp(55px, 6.5vw, 92px);
    line-height: 1.02;
    margin: 15px 0 25px;
    max-width: 900px;
}

.government-hero-text {
    max-width: 690px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.45;
    color: #e3eaf0;
    margin-bottom: 35px;
}

.button-gold {
    background: #d5a64f;
    color: #092945;
    border: 1px solid #d5a64f;
}

.button-gold:hover {
    background: #e5bb6c;
}


/* ---------- ВВЕДЕНИЕ ---------- */

.narrow-container {
    max-width: 970px;
}

.government-intro {
    position: relative;
    background: #ffffff;
}

.government-intro h2 {
    max-width: 900px;
}

.government-intro p:not(.section-label) {
    max-width: 880px;
    margin-bottom: 18px;
}


/* ---------- ЭТАП 01 ---------- */

.government-stage {
    background: #f6f4ef;
    padding: 90px 0 100px;
}

.stage-heading {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: start;
    margin-bottom: 55px;
}

.stage-number {
    font-family: Georgia, serif;
    font-size: 78px;
    line-height: 0.9;
    color: #d2a34f;
}

.stage-heading h2 {
    font-family: Georgia, serif;
    color: #102f4f;
    font-size: clamp(35px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.15;
}


/* ---------- ЮРИДИЧЕСКАЯ ПЛАШКА ---------- */

.legal-notice {
    background: #0a2d4c;
    color: white;
    padding: 45px 55px;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    margin-bottom: 80px;
    box-shadow: 0 18px 45px rgba(8, 36, 60, 0.12);
}

.legal-icon {
    width: 65px;
    height: 65px;
    border: 1px solid #d3a451;
    color: #d3a451;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Georgia, serif;
    font-size: 32px;
}

.legal-notice h3 {
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 15px;
}

.legal-notice p {
    color: #dce5ec;
    margin-bottom: 12px;
    max-width: 900px;
}


/* ---------- ДОКУМЕНТЫ ---------- */

.documents-heading {
    max-width: 760px;
    margin-bottom: 35px;
}

.documents-heading h2 {
    font-family: Georgia, serif;
    color: #102f4f;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 400;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.document-card {
    position: relative;
    background: #ffffff;
    padding: 38px;
    min-height: 350px;
    border-top: 3px solid #d3a451;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.document-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(15, 45, 72, 0.09);
}

.document-type {
    width: fit-content;
    border: 1px solid #d6c19a;
    color: #a37a34;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.document-card h3 {
    font-family: Georgia, serif;
    color: #102f4f;
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 7px;
}

.document-date {
    color: #9b7a44;
    font-size: 13px;
    margin-bottom: 18px;
}

.document-card > p:not(.document-date) {
    margin-bottom: 25px;
}

.document-download {
    margin-top: auto;
    color: #a67930;
    font-weight: 700;
    text-decoration: none;
}


/* ---------- ОШИБКИ ---------- */

.errors-section {
    background: #ffffff;
}

.errors-section > .container > h2 {
    margin-bottom: 55px;
}

.error-card {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 40px;
    padding: 55px 0;
    border-top: 1px solid #dedbd4;
}

.error-card:last-child {
    border-bottom: 1px solid #dedbd4;
}

.error-number {
    font-family: Georgia, serif;
    font-size: 68px;
    color: #d5a64f;
    line-height: 1;
}

.error-content {
    max-width: 850px;
}

.error-content h3 {
    font-family: Georgia, serif;
    font-size: 34px;
    line-height: 1.2;
    font-weight: 400;
    color: #102f4f;
    margin-bottom: 22px;
}

.error-content > p {
    margin-bottom: 17px;
}

.error-highlight {
    border-left: 3px solid #d4a550;
    background: #f7f4ed;
    padding: 25px 30px;
    margin: 28px 0;
}

.error-highlight strong {
    display: block;
    color: #123453;
    font-family: Georgia, serif;
    font-size: 21px;
    margin-bottom: 7px;
}

.consult-button {
    margin-top: 12px;
    background: #0b3458;
    color: white;
    border: none;
    padding: 15px 24px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.consult-button:hover {
    background: #d3a451;
    color: #0a2d4c;
}

.email-alternative {
    font-size: 13px;
    margin-top: 13px;
    color: #667789;
}

.email-alternative a {
    color: #9b702b;
    font-weight: bold;
}


/* ---------- МАТЕРИАЛЫ ---------- */

.materials-section {
    background: #092b49;
    color: white;
    padding: 90px 0;
}

.materials-section h2 {
    font-family: Georgia, serif;
    font-weight: 400;
    font-size: clamp(35px, 4vw, 52px);
    margin-bottom: 15px;
}

.materials-intro {
    color: #cbd6df;
    font-size: 18px;
    margin-bottom: 40px;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255,255,255,0.2);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.material-card {
    min-height: 320px;
    padding: 32px 27px;
    color: white;
    border-right: 1px solid rgba(255,255,255,0.18);
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.material-card:last-child {
    border-right: none;
}

.material-card:hover {
    background: rgba(255,255,255,0.06);
}

.material-card > span {
    color: #d9ab59;
    font-family: Georgia, serif;
    font-size: 30px;
    margin-bottom: 30px;
}

.material-card h3 {
    font-family: Georgia, serif;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 400;
    margin-bottom: 15px;
}

.material-card p {
    color: #c9d4dd;
    font-size: 14px;
}

.material-card strong {
    color: #e2b45f;
    margin-top: auto;
    font-size: 13px;
}


/* ---------- ПОСЛЕ ПУБЛИКАЦИИ ---------- */

.after-eis-section {
    padding: 95px 0;
    background: #061e33;
    color: white;
}

.stage-heading-light h2 {
    color: white;
}

.after-eis-grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    gap: 80px;
    align-items: start;
}

.after-eis-grid h3 {
    font-family: Georgia, serif;
    font-size: 30px;
    font-weight: 400;
    margin-bottom: 20px;
}

.after-eis-grid p {
    color: #d3dee7;
}

.situation-list {
    list-style: none;
    margin: 30px 0;
}

.situation-list li {
    position: relative;
    padding: 15px 0 15px 38px;
    border-bottom: 1px solid rgba(255,255,255,0.13);
    color: #edf2f5;
}

.situation-list li::before {
    content: "✓";
    position: absolute;
    left: 5px;
    color: #d9a94f;
    font-weight: bold;
}


/* ---------- ФОРМА НОМЕРА ЗАКУПКИ ---------- */

.purchase-box {
    background: white;
    color: #173550;
    padding: 42px;
}

.purchase-small {
    color: #a47b38 !important;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 11px;
}

.purchase-box h3 {
    color: #102f4f;
    font-size: 32px;
}

.purchase-box > p:not(.purchase-small):not(.purchase-note) {
    color: #596d7e;
}

.purchase-box form {
    margin-top: 30px;
}

.purchase-box label {
    display: block;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 8px;
}

.purchase-box input {
    width: 100%;
    height: 52px;
    border: 1px solid #cdd4da;
    padding: 0 15px;
    font-size: 16px;
    margin-bottom: 12px;
    outline: none;
}

.purchase-box input:focus {
    border-color: #c89a48;
}

.purchase-box button {
    width: 100%;
    min-height: 52px;
    background: #d4a650;
    color: #0a2b48;
    border: none;
    font-weight: bold;
    cursor: pointer;
}

.purchase-box button:hover {
    background: #e2b867;
}

.purchase-note {
    color: #778692 !important;
    font-size: 11px;
    line-height: 1.5;
    margin-top: 20px;
}


/* ---------- НИЖНЯЯ КОНСУЛЬТАЦИЯ ---------- */

.consultation-section {
    background: #f4f1ea;
    padding: 65px 0;
}

.consultation-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.consultation-inner h2 {
    font-family: Georgia, serif;
    color: #102f4f;
    font-size: 42px;
    font-weight: 400;
    margin-bottom: 10px;
}

.consultation-inner p {
    max-width: 650px;
}

.big-consult-button {
    background: #d5a64f;
    color: #0a2c49;
    border: none;
    padding: 17px 28px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 10px;
}


/* =====================================================
   МОДАЛЬНОЕ ОКНО
===================================================== */

.consult-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.consult-modal.show {
    display: flex;
}

.consult-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 17, 29, 0.78);
    backdrop-filter: blur(3px);
}

.consult-modal-window {
    position: relative;
    z-index: 2;
    width: min(600px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    background: white;
    padding: 45px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.3);
}

.consult-modal-window h2 {
    font-family: Georgia, serif;
    color: #102f4f;
    font-size: 38px;
    font-weight: 400;
    margin-bottom: 12px;
}

.consult-modal-window > p {
    margin-bottom: 25px;
}

.modal-close {
    position: absolute;
    right: 18px;
    top: 12px;
    border: none;
    background: transparent;
    color: #18344e;
    font-size: 34px;
    cursor: pointer;
}

.consult-modal form label:not(.consent-label) {
    display: block;
    font-weight: bold;
    font-size: 13px;
    margin: 18px 0 7px;
}

.consult-modal input[type="email"],
.consult-modal input[type="text"],
.consult-modal textarea {
    width: 100%;
    border: 1px solid #ccd3d8;
    padding: 13px;
    font: inherit;
    outline: none;
}

.consult-modal textarea {
    resize: vertical;
}

.consult-modal input:focus,
.consult-modal textarea:focus {
    border-color: #c99b4b;
}

.consent-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 20px 0;
    font-size: 12px;
}

.modal-submit {
    width: 100%;
    min-height: 52px;
    border: none;
    background: #0b3458;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.modal-email {
    font-size: 13px;
    text-align: center;
    margin-top: 18px;
}

.modal-email a {
    color: #9b702b;
    font-weight: bold;
}


/* =====================================================
   АДАПТАЦИЯ GOVERNMENT
===================================================== */

@media (max-width: 1000px) {

    .materials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .material-card:nth-child(2) {
        border-right: none;
    }

    .after-eis-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

}


@media (max-width: 700px) {

    .government-hero {
        min-height: 540px;
    }

    .government-hero h1 {
        font-size: 50px;
    }

    .government-hero-text {
        font-size: 20px;
    }

    .stage-heading {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stage-number {
        font-size: 55px;
    }

    .legal-notice {
        grid-template-columns: 1fr;
        padding: 30px 25px;
    }

    .document-grid {
        grid-template-columns: 1fr;
    }

    .error-card {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .error-number {
        font-size: 45px;
    }

    .materials-grid {
        grid-template-columns: 1fr;
    }

    .material-card {
        min-height: 250px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.18);
    }

    .consultation-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .purchase-box {
        padding: 28px 22px;
    }

    .consult-modal-window {
        padding: 35px 22px;
    }

}

.header-button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* =========================
   АКТИВНЫЙ ПУНКТ МЕНЮ
========================= */

.nav a {
    position: relative;
}

.nav a.active {
    color: #0b2f50;
}

.nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -12px;
    height: 2px;
    background: #d4a650;
    border-radius: 2px;
}
/* =========================
   ГЕОГРАФИЯ РАБОТЫ
========================= */
.geography-section { background: #f7f7f5; }
.geography-intro { max-width: 720px; margin-bottom: 34px; }
.geography-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.city-card { position: relative; overflow: hidden; min-height: 210px; background: #0a2d4c; }
.city-card img { width: 100%; height: 240px; object-fit: cover; transition: transform .35s ease; }
.city-card:hover img { transform: scale(1.04); }
.city-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(5, 25, 43, .88)); pointer-events: none; }
.city-card-name { position: absolute; z-index: 1; left: 20px; right: 14px; bottom: 18px; color: #fff; font-family: Georgia, serif; font-size: 22px; line-height: 1.2; }
@media (max-width: 1000px) { .geography-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .geography-grid { grid-template-columns: 1fr; } .city-card img { height: 230px; } }

/* Заголовок раздела «Наши преимущества» */
.advantages-heading {
    font-family: Georgia, serif;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 600;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 36px;
}

/* Два проекта размещения иностранных делегаций — в конце правой колонки */
@media (min-width: 769px) {
    .customer-list .customer-project-right {
        grid-column: 2;
    }
}

/* Опыт сотрудничества: фиксированный порядок в двух столбцах */
@media (min-width: 769px) {
    .customer-list .customer-left { grid-column: 1; }
    .customer-list .customer-right { grid-column: 2; }
    .customer-list .customer-left-1 { grid-row: 1; }
    .customer-list .customer-left-2 { grid-row: 2; }
    .customer-list .customer-left-3 { grid-row: 3; }
    .customer-list .customer-left-4 { grid-row: 4; }
    .customer-list .customer-left-5 { grid-row: 5; }
    .customer-list .customer-right-1 { grid-row: 1; }
    .customer-list .customer-right-2 { grid-row: 2; }
    .customer-list .customer-right-3 { grid-row: 3; }
    .customer-list .customer-right-4 { grid-row: 4; }
}

/* СТРАНИЦА ПАРТНЁРОВ / ГОСТИНИЦ */
.partners-hero{min-height:620px;display:flex;align-items:center;color:#fff;background:linear-gradient(90deg,rgba(7,29,49,.94) 0%,rgba(7,29,49,.77) 45%,rgba(7,29,49,.22) 100%),url("images/hotel.webp") center/cover no-repeat}
.partners-hero-content{padding-top:90px;padding-bottom:90px}.partners-hero h1{font-family:Georgia,serif;font-size:clamp(42px,5.4vw,76px);font-weight:400;line-height:1.12;max-width:950px;margin:20px 0}.partners-hero-content>p:not(.hero-label){font-size:21px;line-height:1.6;max-width:680px;margin-bottom:34px;color:#eef2f5}
.partners-story,.partners-expertise-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:65px;align-items:center}.partners-story p,.partners-expertise p{line-height:1.8;margin-bottom:18px}.partners-story-image img,.partners-expertise-grid>img{display:block;width:100%;height:440px;object-fit:cover}.partners-timeline-section,.partners-benefits{background:#f6f4ef}.partners-timeline,.partners-benefit-grid,.partners-terms-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:36px}.partners-timeline article,.partners-benefit-grid article,.partners-terms-grid article{padding:32px;background:#fff;border:1px solid #e9e5dc}.partners-timeline article>span,.partners-benefit-grid article>span,.partners-terms-grid article>span{font:normal 34px Georgia,serif;color:#c99842}.partners-timeline h3,.partners-benefit-grid h3,.partners-terms-grid h3{font-size:21px;color:#092945;margin:18px 0 12px}.partners-timeline p,.partners-benefit-grid p,.partners-terms-grid p{line-height:1.7}.partners-expertise-grid{grid-template-columns:1fr 1fr}.partners-benefit-summary{max-width:900px;margin-top:30px;font-size:19px;line-height:1.7}.partners-terms{background:#0b2b46;color:#fff}.partners-terms h2{color:#fff}.partners-terms .section-label{color:#d5a64f}.partners-terms-grid article{background:#133b59;border-color:#34526a}.partners-terms-grid h3,.partners-terms-grid p{color:#fff}.partners-contact{background:#f6f4ef}.partners-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:75px;align-items:start}.partners-contact-grid>div p{line-height:1.75}.partners-contact-grid a{color:#a87424}.partners-form{padding:35px;background:white;border:1px solid #e9e5dc;display:flex;flex-direction:column;gap:10px}.partners-form label{font-weight:600;color:#092945}.partners-form>input{width:100%;padding:15px;border:1px solid #d7dce0;border-radius:2px;font:inherit;margin-bottom:12px}.partners-consent{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;margin:6px 0 12px}.partners-consent input{margin-top:4px}.partners-form button{background:#d5a64f;color:#092945;padding:17px;border:0;font:600 16px inherit;cursor:pointer}.partners-form button:hover{background:#e5bb6c}.partners-form-note{font-size:12px;line-height:1.5;color:#66717c;margin:10px 0 0}
@media(max-width:800px){.partners-story,.partners-expertise-grid,.partners-contact-grid{grid-template-columns:1fr;gap:25px}.partners-timeline,.partners-benefit-grid,.partners-terms-grid{grid-template-columns:1fr}.partners-story-image img,.partners-expertise-grid>img{height:290px}.partners-hero{min-height:530px}.partners-hero-content{padding-top:70px;padding-bottom:70px}.partners-hero-content>p:not(.hero-label){font-size:18px}.partners-form{padding:22px}}

/* Уточнения страницы гостиничных партнёров */
@media(min-width:801px){.partners-expertise h2{font-size:clamp(35px,3vw,46px);line-height:1.16;max-width:620px}.partners-story h2{font-size:clamp(38px,3.2vw,49px)}}
.partners-form button{font-family:inherit;font-weight:600;line-height:1.35}.partners-form button:focus-visible,.partners-form input:focus-visible{outline:3px solid #d5a64f;outline-offset:2px}

/* Логотип ОРМАНД в шапке сайта */

.logo img {
    display: block;
    width: 175px;
    height: 82px;
    object-fit: contain;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

@media (max-width: 768px) {
    .logo img {
        width: 90px;
        height: 65px;
    }
}

/* Единое расположение шапки на всех страницах */

.header .container,
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header nav,
.site-header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-left: auto;
    margin-right: auto;
}

.logo {
    flex-shrink: 0;
}

/* Фиксируем положение меню на всех страницах */

.site-header .container,
.header .container {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 240px;
    align-items: center;
    gap: 20px;
}

.site-header nav,
.header nav {
    justify-self: center;
    margin: 0;
}

.site-header .header-cta,
.header .header-cta {
    justify-self: end;
}

@media (max-width: 1100px) {
    .site-header .container,
    .header .container {
        display: flex;
    }
}

/* Компактная кнопка в шапке */
.site-header .header-cta,
.header .header-cta {
    width: max-content;
    min-width: 0;
    padding: 14px 22px;
    white-space: nowrap;
    justify-self: end;
}

/* Компактные кнопки в шапке всех страниц */
.site-header .container > a.button,
.header .container > a.button,
.site-header .header-cta,
.header .header-cta {
    width: fit-content;
    min-width: 0;
    padding: 14px 22px;
    justify-self: end;
    white-space: nowrap;
}

/* Размер золотой кнопки в шапке */
.header .header-inner .header-button {
    width: auto;
    min-width: 0;
    max-width: max-content;
    padding: 14px 22px;
    justify-self: end;
    white-space: nowrap;
    box-sizing: border-box;
}

.government-hero::before,
.government-hero::after {
    display: none;
}

/* ===== МОБИЛЬНАЯ ШАПКА ===== */

@media (max-width: 999px) {

    .header .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        position: relative;
    }

    .header .logo img {
        max-width: 90px;
        height: auto;
    }

    /* Скрываем обычное меню */
    .header .nav {
        display: none;
    }

    /* Скрываем верхнюю кнопку на телефоне */
    .header .header-button {
        display: none;
    }

    /* Показываем кнопку мобильного меню */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 10px;
        background: transparent;
        border: 1px solid #d5a64f;
        border-radius: 8px;
        cursor: pointer;
    }

    .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #0a2d4c;
    }

    /* Открытое меню */
    .header .nav.mobile-open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 15px 20px;
        background: #ffffff;
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
        z-index: 1000;
    }

    .header .nav.mobile-open a {
        padding: 12px 0;
        width: 100%;
    }
}

/* Обычное меню показываем с 1000px */
@media (min-width: 1000px) {
    .menu-toggle {
        display: none;
    }
}

/* Исправление кнопки мобильного меню */
@media (max-width: 999px) {
    .header .header-inner .menu-toggle {
        display: flex;
        flex-shrink: 0;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        padding: 10px;
        margin-left: auto;
        background: #ffffff;
        border: 1px solid #d5a64f;
        border-radius: 8px;
        cursor: pointer;
        z-index: 1001;
    }

    .header .header-inner .menu-toggle span {
        display: block;
        width: 100%;
        height: 2px;
        background: #0a2d4c;
    }
}

/* Аккуратное мобильное меню */
@media (max-width: 768px) {

    .header .header-inner {
        position: relative;
    }

    .header .nav.mobile-open {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        padding: 12px 20px;
        background: #ffffff;
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
        z-index: 1000;
    }

    .header .nav.mobile-open a {
        display: block;
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid #eeeeee;
    }

    .header .nav.mobile-open a.active {
        border-bottom: 1px solid #eeeeee;
    }

    .header .nav.mobile-open a:last-child {
        border-bottom: none;
    }
}

/* Аккуратная золотая полоска в мобильном меню */
@media (max-width: 768px) {

    .header .nav.mobile-open a.active {
        position: relative;
        border-bottom: 1px solid #eeeeee;
    }

    .header .nav.mobile-open a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: #d5a64f;
}
    .header .nav.mobile-open a.active::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .header .nav.mobile-open a.active {
        background-image: none;
        box-shadow: none;
    }
}

/* Отступы на главной странице для телефонов */
@media (max-width: 768px) {

    /* Расстояние между двумя кнопками */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-bottom: 35px;
    }

    /* Кнопки должны помещаться в доступную ширину. */
    .hero-buttons a {
        flex-shrink: 1;
        min-width: 0;
    }
}

/* Положение фонового изображения на телефонах */
@media (max-width: 768px) {
    .hero {
        background-position: 78% center;
    }
}

/* Уменьшаем расстояние до фотографии на телефонах */
@media (max-width: 768px) {
    #about .about-grid {
        gap: 20px;
    }

    #about .about-image {
        margin-top: 0;
    }
}

/* Заголовок страницы государственных заказчиков на телефоне */
@media (max-width: 600px) {
    .government-hero h1 {
        font-size: 36px;
        line-height: 1.15;
        overflow-wrap: anywhere;
        max-width: 100%;
    }
}

/* Непрозрачная шапка в мобильной версии */
@media (max-width: 768px) {
    .header {
        background-color: #ffffff;
    }

    .header-inner {
        background-color: #ffffff;
    }
}

/* Компактный раздел преимуществ на телефонах */
@media (max-width: 768px) {

    .advantages {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .advantages-grid {
        gap: 0;
    }

    .advantage {
        padding: 25px 0;
    }

    .advantage:first-child {
        padding-left: 0;
    }

    .advantage:last-child {
        padding-bottom: 0;
    }
}

/* Уменьшаем расстояние от заголовка до цифр */
@media (max-width: 768px) {
    .advantages h2 {
        margin-bottom: 20px;
    }

    .advantages-grid {
        margin-top: 0;
    }

    .advantage {
        margin-top: 0;
    }
}

/* География работы — мобильная версия */
@media (max-width: 768px) {

    .geography {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .geography h2 {
        margin-bottom: 15px;
    }

    .geography-grid {
        gap: 15px;
    }
}

/* Компактная география на мобильных */
@media (max-width: 768px) {
    .geography {
        padding-bottom: 25px;
    }

    .geography .lead {
        margin-bottom: 22px;
    }
}

/* Уменьшаем верхний отступ подвала на телефонах */
@media (max-width: 768px) {
    .footer {
        padding-top: 30px;
    }
}

/* Уменьшаем пространство после фотографий городов */
@media (max-width: 768px) {
    .geography {
        padding-bottom: 10px;
    }
}

/* Уменьшаем расстояние после географии на телефонах */
@media (max-width: 768px) {
    .geography-section {
        padding-bottom: 20px;
    }
}

/* Компактный подвал на мобильных устройствах */
@media (max-width: 768px) {

    .footer {
        padding-top: 30px;
        padding-bottom: 25px;
    }

    .footer-grid {
        gap: 20px;
    }

    .footer h3 {
        margin-bottom: 8px;
    }

    .footer h4 {
        margin-bottom: 10px;
    }

    .footer p {
        margin-bottom: 8px;
    }
}

/* ==========================================
   ГОСУДАРСТВЕННЫМ ЗАКАЗЧИКАМ — МОБИЛЬНАЯ ВЕРСИЯ
========================================== */

@media (max-width: 700px) {

    /* Вводный раздел */
    .government-intro {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .government-intro h2 {
        font-size: 31px;
        line-height: 1.18;
    }

    .government-intro .lead {
        font-size: 19px;
        line-height: 1.4;
    }

    /* Подготовка закупки */
    .government-stage {
        padding-top: 45px;
        padding-bottom: 50px;
    }

    .stage-heading {
        gap: 12px;
        margin-bottom: 30px;
    }

    .stage-heading h2 {
        font-size: 32px;
        line-height: 1.2;
    }

    /* Тёмно-синий юридический блок */
    .legal-notice {
        padding: 25px 22px;
        gap: 18px;
        margin-bottom: 45px;
    }

    .legal-notice h3 {
        font-size: 26px;
        line-height: 1.2;
    }

    /* Нормативные документы */
    .documents-heading {
        margin-bottom: 25px;
    }

    .documents-heading h2 {
        font-size: 31px;
        line-height: 1.2;
    }

    .document-grid {
        gap: 18px;
    }

    .document-card {
        padding: 25px 22px;
        min-height: auto;
    }

    .document-card h3 {
        font-size: 24px;
    }

    /* Распространённые ошибки */
    .errors-section {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .errors-section > .container > h2 {
        font-size: 31px;
        margin-bottom: 30px;
    }

    .error-card {
        padding: 30px 0;
        gap: 12px;
    }

    .error-content h3 {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .error-highlight {
        padding: 20px;
        margin: 20px 0;
    }

    .error-highlight strong {
        font-size: 19px;
    }

    /* После публикации в ЕИС */
    .after-eis-section {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .after-eis-grid {
        gap: 30px;
    }

    .after-eis-grid h3 {
        font-size: 27px;
    }

    .situation-list {
        margin: 20px 0;
    }

    /* Форма отправки номера закупки */
    .purchase-box {
        padding: 25px 22px;
    }

    .purchase-box h3 {
        font-size: 27px;
    }

    /* Нижний раздел консультации */
    .consultation-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .consultation-inner {
        gap: 25px;
    }

    .consultation-inner h2 {
        font-size: 32px;
        line-height: 1.2;
    }
}


/* ==========================================
   ГОСТИНИЦАМ — МОБИЛЬНАЯ АДАПТАЦИЯ
   Только экраны до 700px
========================================== */

@media (max-width: 700px) {

    /* Общие отступы разделов */
    .partners-intro,
    .partners-timeline-section,
    .partners-expertise,
    .partners-benefits,
    .partners-terms,
    .partners-contact {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    /* Заголовки разделов */
    .partners-intro h2,
    .partners-timeline-section h2,
    .partners-expertise h2,
    .partners-benefits h2,
    .partners-terms h2,
    .partners-contact h2 {
        font-size: 31px;
        line-height: 1.18;
        margin-bottom: 18px;
    }

    /* Вводный текст */
    .partners-intro .lead {
        font-size: 19px;
        line-height: 1.45;
    }

    .partners-story p,
    .partners-expertise p {
        line-height: 1.65;
        margin-bottom: 14px;
    }

    /* Карточки истории и преимуществ */
    .partners-timeline,
    .partners-benefit-grid,
    .partners-terms-grid {
        gap: 16px;
        margin-top: 24px;
    }

    .partners-timeline article,
    .partners-benefit-grid article,
    .partners-terms-grid article {
        padding: 24px 22px;
    }

    .partners-timeline article > span,
    .partners-benefit-grid article > span,
    .partners-terms-grid article > span {
        font-size: 31px;
    }

    .partners-timeline h3,
    .partners-benefit-grid h3,
    .partners-terms-grid h3 {
        font-size: 20px;
        line-height: 1.3;
        margin-top: 14px;
        margin-bottom: 10px;
    }

    .partners-timeline p,
    .partners-benefit-grid p,
    .partners-terms-grid p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Итоговый текст под карточками */
    .partners-benefit-summary {
        margin-top: 24px;
        font-size: 17px;
        line-height: 1.6;
    }

    /* Фотографии */
    .partners-story-image img,
    .partners-expertise-grid > img {
        height: 250px;
    }

    /* Сотрудничество — тёмный блок */
    .partners-terms-grid article {
        padding: 25px 22px;
    }

    /* Заявка */
    .partners-contact-grid {
        gap: 22px;
    }

    .partners-contact-grid > div p {
        line-height: 1.6;
    }

    .partners-form {
        padding: 22px;
        gap: 8px;
    }

    .partners-form > input {
        margin-bottom: 8px;
        font-size: 16px;
    }

    .partners-consent {
        margin: 6px 0 10px;
    }

    .partners-form button {
        padding: 15px 12px;
        font-size: 14px;
        line-height: 1.4;
    }

    /* Убираем лишнее пространство перед подвалом */
    .partners-contact {
        padding-bottom: 28px;
    }

    body:has(.partners-contact) .footer {
    padding-top: 25px;
    }
}


/* ==========================================
   ГЛАВНАЯ СТРАНИЦА — ПЛАНШЕТЫ
   Ширина от 701 до 1000 px
========================================== */

@media (min-width: 701px) and (max-width: 1000px) {

    /* Наши преимущества */
    .advantages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .advantage {
        min-width: 0;
        padding: 20px 0;
    }

    .advantage:first-child {
        padding-right: 24px;
    }

    .advantage:last-child {
        padding-left: 24px;
    }

    .advantage h3 {
        font-size: 23px;
        line-height: 1.3;
    }

    .advantage p {
        font-size: 14px;
        line-height: 1.65;
        overflow-wrap: break-word;
    }

    /* Два направления сотрудничества */
    .service-grid {
        gap: 20px;
    }

    .service-card {
        min-width: 0;
        min-height: 390px;
        padding: 32px 28px;
    }

    .service-card h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    .service-card p {
        font-size: 15px;
        line-height: 1.6;
    }

    /* Подвал */
    .footer p,
    .footer a {
        font-size: 15px;
        line-height: 1.6;
    }
}



/* Увеличение маленьких заголовков на планшетах */
@media (min-width: 701px) and (max-width: 1000px) {

    .section-label {
        font-size: 16px;
        letter-spacing: 2px;
        line-height: 1.5;
    }

}


/* ==========================================
   ГОСУДАРСТВЕННЫМ ЗАКАЗЧИКАМ — ПЛАНШЕТЫ
   От 701 до 900 px
========================================== */

@media (min-width: 701px) and (max-width: 900px) {

    /* Вступление — меньше пустого пространства */
    .government-intro {
        padding-top: 65px;
        padding-bottom: 55px;
    }

    /* Этап подготовки закупки */
    .government-stage {
        padding-top: 65px;
        padding-bottom: 70px;
    }

    .stage-heading {
        grid-template-columns: 110px minmax(0, 1fr);
        margin-bottom: 40px;
    }

    .stage-number {
        font-size: 68px;
    }

    /* Юридическая карточка */
    .legal-notice {
        padding: 40px;
        gap: 22px;
        margin-bottom: 60px;
    }

    /* Документы остаются в двух колонках */
    .document-grid {
        gap: 20px;
    }

    .document-card {
        padding: 30px;
        min-width: 0;
    }

    .document-card h3 {
        font-size: 25px;
    }

    /* Раздел распространённых ошибок */
    .errors-section {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .errors-section > .container > h2 {
        margin-bottom: 35px;
    }

    /* Сближаем номера ошибок и текст */
    .error-card {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 25px;
        padding: 40px 0;
    }

    .error-number {
        font-size: 62px;
    }

    .error-content h3 {
        font-size: 32px;
        margin-bottom: 18px;
    }

    .error-content > p,
    .error-highlight p {
        font-size: 16px;
        line-height: 1.7;
    }

    .error-highlight {
        padding: 22px 25px;
        margin: 24px 0;
    }

    /* Кнопки консультации */
    .consult-button {
        min-height: 46px;
        padding: 13px 25px;
        font-size: 14px;
    }

    /* Раздел после публикации закупки */
    .after-eis-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .after-eis-grid {
        gap: 35px;
    }

    /* Нижний блок консультации */
    .consultation-section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .consultation-inner {
        gap: 30px;
    }

    .consultation-inner h2 {
        font-size: 38px;
    }

    .big-consult-button {
        min-width: 165px;
        padding: 16px 22px;
        line-height: 1.4;
    }
}


/* ==========================================
   СТРАНИЦА ГОСТИНИЦАМ — ПЛАНШЕТЫ
   Только ширина от 701 до 1000 px
========================================== */

@media (min-width: 701px) and (max-width: 1000px) {

    /* Общие отступы разделов */
    .partners-intro,
    .partners-timeline-section,
    .partners-expertise,
    .partners-benefits,
    .partners-terms,
    .partners-contact {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    /* Основной текст в карточках */
    .partners-timeline article p,
    .partners-benefit-grid article p,
    .partners-terms-grid article p {
        font-size: 16px;
        line-height: 1.7;
    }

    /* Заголовки карточек */
    .partners-timeline article h3,
    .partners-benefit-grid article h3,
    .partners-terms-grid article h3 {
        font-size: 21px;
        line-height: 1.35;
    }

    /* Отступы внутри карточек */
    .partners-timeline article,
    .partners-benefit-grid article,
    .partners-terms-grid article {
        padding: 32px;
    }

    /* Основной текст разделов */
    .partners-story p:not(.section-label),
    .partners-expertise p:not(.section-label),
    .partners-contact-grid > div p:not(.section-label) {
        font-size: 16px;
        line-height: 1.75;
    }

    /* Итоговый текст о возможностях партнёрства */
    .partners-benefit-summary {
        font-size: 19px;
        line-height: 1.7;
    }

    /* Пояснение под кнопкой заявки */
    .partners-form-note {
        font-size: 13px;
        line-height: 1.6;
    }

    /* Меньше пространства перед подвалом */
    .partners-contact {
        padding-bottom: 45px;
    }
}

/* Санкт-Петербург — положение фото в разделе «География работы» */
.geography-section .city-card:first-child img {
    object-position: 75% center;
}


/* ==========================================
   ШАПКА САЙТА — БОЛЬШИЕ ПЛАНШЕТЫ
   От 1001 до 1100 px
========================================== */

@media (min-width: 1001px) and (max-width: 1100px) {

    /* Уменьшаем расстояние между элементами шапки */
    .header .header-inner {
        gap: 12px;
    }

    /* Компактное меню */
    .header .nav {
        gap: 12px;
        font-size: 12px;
    }

    /* Все пункты меню в одну строку */
    .header .nav a {
        white-space: nowrap;
    }

    /* Немного уменьшаем логотип */
    .header .logo img {
        width: 145px;
        height: 75px;
    }

    /* Делаем кнопку компактнее */
    .header .header-button {
        padding: 12px 14px;
        font-size: 12px;
    }
}

/* ==========================================
   НЕПРОЗРАЧНАЯ ШАПКА НА ВСЕХ УСТРОЙСТВАХ
========================================== */

.header {
    background: #ffffff;
}



/* Меню на ширине 1000 px */
@media (min-width: 1000px) and (max-width: 1100px) {
    .header .nav a {
        white-space: nowrap;
    }

    .header .nav {
        gap: 10px;
        font-size: 12px;
    }

    .header .header-inner {
        gap: 10px;
    }
}


/* Мобильное меню: расположение справа */
@media (max-width: 999px) {
    .header .nav.mobile-open {
        position: absolute;
        top: 100%;
        left: auto;
        right: 0;
        width: 280px;
        max-width: calc(100vw - 30px);
        align-items: stretch;
        padding: 7px 20px;
    }

    /* Золотая полоска ближе к названию */
    .header .nav.mobile-open a {
        padding: 15px 0;
    }
}


/* Поднимаем золотую линию в мобильном меню */
@media (max-width: 999px) {
    .header .nav.mobile-open a {
        position: relative;
        padding: 8px 0;
    }

    .header .nav.mobile-open a.active {
        padding-bottom: 4px;
    }

    .header .nav.mobile-open a.active::after {
        bottom: 2px;
    }
}


/* Золотая полоска в мобильном меню до 768px */
@media (max-width: 768px) {
    .header .nav.mobile-open a.active::after {
        bottom: -2px;
    }
}

/* Мобильная версия страницы "Гостиницам" */
@media (max-width: 700px) {

    .partners-hero-content,
    .partners-story,
    .partners-expertise-grid,
    .partners-contact-grid {
        min-width: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .partners-hero h1 {
        font-size: 36px;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .partners-hero-content p {
        overflow-wrap: anywhere;
    }

    .partners-hero .button {
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        text-align: center;
    }

    .partners-story,
    .partners-expertise-grid,
    .partners-contact-grid {
        grid-template-columns: minmax(0, 1fr);
    }

}

/* Отступы золотых заголовков на странице гостиниц */
@media (max-width: 700px) {

    .partners-intro .section-label,
    .partners-timeline-section .section-label,
    .partners-expertise .section-label,
    .partners-benefits .section-label,
    .partners-terms .section-label,
    .partners-contact .section-label {
        padding-left: 20px;
        box-sizing: border-box;
    }

}


/* Отступы основного текста на странице гостиниц */
@media (max-width: 700px) {

    .partners-intro .partners-story > div:first-child,
    .partners-expertise-grid > div:first-child,
    .partners-contact-grid > div:first-child {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

}

/* Отступ текста на первом экране страницы гостиниц */
@media (max-width: 700px) {

    .partners-hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

}

.footer-documents {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
}

.footer-documents a {
  color: #173654;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.footer-documents a:hover {
  color: #c69b45;
  text-decoration: underline;
}

/* Галочка согласия в форме проверки закупки */
#purchaseForm .consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 16px;
  cursor: pointer;
}

#purchaseForm #purchaseConsent {
  appearance: auto;
  -webkit-appearance: checkbox;
  width: 16px;
  height: 16px;
  min-width: 16px;
  flex: 0 0 16px;
  margin: 3px 0 0;
  padding: 0;
  accent-color: #d6a84f;
}

#purchaseForm .consent-label span {
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
}

#purchaseForm .consent-label a {
  color: #173654;
  text-decoration: underline;
}

/* Кнопки cookie-баннера */

.cookie-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-actions button {
    padding: 11px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Принять */
#cookieButton {
    background: #c69b45;
    color: #ffffff;
    border: 1px solid #c69b45;
}

#cookieButton:hover {
    background: #ad8435;
    border-color: #ad8435;
}

/* Отклонить */
#cookieRejectButton {
    background: transparent;
    color: #173654;
    border: 1px solid #173654;
}

#cookieRejectButton:hover {
    background: #173654;
    color: #ffffff;
}

/* ================================================
   МОБИЛЬНЫЙ ГЛАВНЫЙ ЭКРАН — единые уточнения
   ================================================ */
@media (max-width: 700px) {
    .hero {
        width: 100%;
        min-width: 0;
    }

    /* Сохраняем поля контейнера: 5% слева и справа. */
    .hero .hero-content.container {
        width: 90%;
        max-width: 90%;
        min-width: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .hero h1 {
        font-size: clamp(38px, 10vw, 48px);
        line-height: 1.1;
        overflow-wrap: break-word;
    }

    .hero-description {
        font-size: 19px;
        line-height: 1.45;
        overflow-wrap: break-word;
    }

    .hero-buttons {
        width: 100%;
        align-items: stretch;
    }

    .hero-buttons a {
        min-width: 0;
        max-width: 100%;
        flex-shrink: 1;
        white-space: normal;
        overflow-wrap: anywhere;
        text-align: center;
    }

    /* Карточки преимуществ не должны растягивать первый экран. */
    .hero .hero-features.container {
        width: 90%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-features div,
    .hero-features span,
    .hero-features strong {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    /* Уведомление не выходит за границы небольшого экрана. */
    .cookie {
        max-height: 75dvh;
        overflow-y: auto;
        padding: 16px 5%;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-start;
    }
}
/* ================================================
   КОНТРОЛЬ ГОРИЗОНТАЛЬНОЙ ПРОКРУТКИ НА ТЕЛЕФОНАХ
   ================================================ */
@media (max-width: 700px) {
    html, body {
        max-width: 100%;
        overflow-x: clip;
    }

    .hero {
        width: 100%;
        max-width: 100%;
    }

    .hero .hero-content.container {
        box-sizing: border-box;
        width: 90%;
        max-width: 90%;
        margin-inline: auto;
        min-width: 0;
    }

    .hero .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        min-width: 0;
    }

    .hero .hero-buttons .button {
        display: flex;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        flex: 0 1 auto;
        padding: 12px 14px;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .hero .hero-features.container {
        width: 90%;
        max-width: 90%;
        min-width: 0;
        grid-template-columns: minmax(0, 1fr);
    }
}


/* Исправление расположения полей формы гостиниц */

.partners-form {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

.partners-form > label[for="partnerMessage"] {
    display: block !important;
    width: 100% !important;
    margin-bottom: 0 !important;
}

.partners-form > textarea#partnerMessage {
    display: block !important;
    width: 100% !important;
    min-height: 140px;
    box-sizing: border-box;
    margin-bottom: 12px;
}

.partners-form > .partners-consent {
    display: flex !important;
    width: 100% !important;
    align-items: flex-start !important;
    gap: 10px;
    margin-bottom: 12px;
}


/* Единый шрифт полей формы гостиниц */

.partners-form textarea#partnerMessage {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.partners-form textarea#partnerMessage::placeholder {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #777;
    opacity: 1;
}


/* Единое оформление поля сообщения */

.partners-form textarea#partnerMessage {
    border: 1px solid #d8dde3;
    border-radius: 2px;
    background-color: #ffffff;
    box-shadow: none;
    outline: none;
}

.partners-form textarea#partnerMessage:focus {
    border-color: #d8a64e;
    outline: none;
    box-shadow: none;
}


/* Внутренние отступы поля сообщения */

.partners-form textarea#partnerMessage {
    padding: 16px;
}

/* Увеличение фотографий при нажатии */

.geography-grid .city-card img {
    cursor: zoom-in;
}

.image-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    padding: 25px;
    box-sizing: border-box;
}

.image-lightbox.active {
    display: flex;
}

.image-lightbox img {
    display: block;
    max-width: 95%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
}

.image-lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    background: transparent;
    border: none;
    color: white;
    font-size: 42px;
    cursor: pointer;
    z-index: 2;
}

.image-lightbox-close:hover {
    color: #d5a64f;
}

/* Контакты в мессенджере MAX */

.max-contact {
    margin-top: 24px;
}

.max-contact-title {
    font-size: 16px;
    font-weight: 600;
    color: #173654;
    margin-bottom: 10px;
}

.max-contact a {
    display: inline-block;
    color: #b88935;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.max-contact a:hover {
    color: #173654;
    text-decoration: underline;
}

/* Кнопка настроек cookie в подвале */
.cookie-settings-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;

    padding: 0;
    border: none;
    background: transparent;

    color: #173654;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    text-align: left;

    cursor: pointer;
    transition: color 0.2s ease;
}


.cookie-settings-button:hover {
    color: #b88935;
    text-decoration: underline;
}

.cookie-settings-button:focus-visible {
    outline: 2px solid #b88935;
    outline-offset: 4px;
    border-radius: 2px;
}