/* GIST-блоки для страниц аренды автобусов (35 мест).
   Базовые секции: характеристики, сравнение, стоимость, сценарии,
   порядок заказа, ошибки, SLA, маршруты, документы. */

.gist-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    width: 100%;
    padding-inline: var(--page-gutter);
    box-sizing: border-box;
    font-family: Manrope, -apple-system, Roboto, Helvetica, sans-serif;
}

.rental-section .title-container {
	flex-direction: column;
	align-items: flex-start;
}

@media (max-width: 1200px) {
    .gist-section {
        gap: 30px;
    }
}

.gist-header {
    width: 100%;
}

.gist-title {
    color: #121212;
    letter-spacing: -1.2px;
    font: 600 40px/110% Manrope, sans-serif;
    margin: 0;
    text-align: left;
}

.gist-subtitle {
    color: #8c8c8c;
    font: 400 18px/150% Manrope, sans-serif;
    margin: 12px 0 0;
    max-width: 820px;
}

@media (max-width: 997px) {
    .gist-title {
        font-size: 24px;
        letter-spacing: -0.6px;
    }

    .gist-subtitle {
        font-size: 16px;
    }
}

.rental-section .gist-subtitle {
    flex-basis: 100%;
    width: 100%;
    margin-top: 4px;
}

/* UTP-блок под H1 */
.bus-usp {
    width: 100%;
    padding-inline: var(--page-gutter);
    box-sizing: border-box;
    font-family: Manrope, -apple-system, Roboto, Helvetica, sans-serif;
}

.bus-usp-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    padding: 32px 36px;
    box-sizing: border-box;
    border-radius: 20px;
    background: linear-gradient(135deg, #eefaf1 0%, #ffffff 60%);
    border: 1px solid #d8efe0;
}

.bus-usp-lead {
    margin: 0 0 16px;
    color: #121212;
    font: 600 24px/130% Manrope, sans-serif;
    letter-spacing: -0.6px;
}

.bus-usp-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bus-usp-facts li {
    color: #8c8c8c;
    font: 500 16px/140% Manrope, sans-serif;
}

.bus-usp-facts b {
    color: #31c55d;
    font-weight: 700;
}

.bus-usp-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.bus-usp-button {
    display: inline-flex;
    align-items: center;
    padding: 16px 28px;
    border-radius: 12px;
    background: #31c55d;
    color: #fff;
    font: 600 16px/1 Manrope, sans-serif;
    text-decoration: none;
    transition: background 0.2s ease;
}

.bus-usp-button:hover {
    background: #28a84d;
}

.bus-usp-phone {
    color: #121212;
    font: 700 20px/1 Manrope, sans-serif;
    text-decoration: none;
}

.bus-usp-phone:hover {
    color: #31c55d;
}

@media (max-width: 997px) {
    .bus-usp-inner {
        padding: 24px 20px;
    }

    .bus-usp-lead {
        font-size: 18px;
    }

    .bus-usp-phone {
        font-size: 18px;
    }
}

/* Таблицы */
.gist-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    -webkit-overflow-scrolling: touch;
}

.gist-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    background: #fff;
    font: 400 16px/150% Manrope, sans-serif;
}

.gist-table th,
.gist-table td {
    padding: 16px 20px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #e8eaf0;
}

.gist-table thead th {
    background: #eefaf1;
    color: #121212;
    font-weight: 600;
}

.gist-table tbody tr:nth-child(even) {
    background: #fafbfc;
}

.gist-table tbody tr:last-child td {
    border-bottom: 0;
}

.gist-table td:first-child {
    color: #121212;
    font-weight: 500;
    width: 34%;
}

.gist-table .is-accent {
    background: #eefaf1;
}

.gist-table .is-accent strong {
    color: #1c9c44;
}

/* Сетки-плитки */
.gist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

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

.gist-tile {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gist-tile h3 {
    margin: 0 0 10px;
    color: #121212;
    font: 600 20px/130% Manrope, sans-serif;
}

.gist-tile p {
    margin: 0;
    color: #8c8c8c;
    font: 400 16px/150% Manrope, sans-serif;
}

/* Списки документов в плитках */
.gist-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.gist-list li {
    position: relative;
    padding-left: 22px;
    color: #8c8c8c;
    font: 400 16px/150% Manrope, sans-serif;
}

.gist-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #31c55d;
}

@media (max-width: 997px) {
    .gist-grid,
    .gist-grid.two {
        grid-template-columns: 1fr;
    }
}

/* Порядок заказа */
.gist-steps {
    list-style: none;
    counter-reset: gist-step;
    display: grid;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.gist-steps li {
    counter-increment: gist-step;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-height: 44px;
    padding-left: 64px;
}

.gist-steps li::before {
    content: counter(gist-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #31c55d;
    color: #fff;
    font: 700 18px/44px Manrope, sans-serif;
    text-align: center;
}

.gist-steps b {
    color: #121212;
    font: 600 18px/140% Manrope, sans-serif;
}

.gist-steps span {
    color: #8c8c8c;
    font: 400 16px/150% Manrope, sans-serif;
}

/* Типовые ошибки */
.gist-errors {
    list-style: none;
    display: grid;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.gist-errors li {
    padding: 20px 24px;
    background: #fff;
    border-left: 4px solid #ff5a5f;
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gist-errors b {
    display: block;
    margin-bottom: 6px;
    color: #121212;
    font: 600 18px/140% Manrope, sans-serif;
}

.gist-errors span {
    color: #8c8c8c;
    font: 400 16px/150% Manrope, sans-serif;
}

.gist-errors em {
    color: #d3383d;
    font-style: normal;
    font-weight: 600;
}

/* Гарантии и SLA */
.gist-sla {
    list-style: none;
    display: grid;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.gist-sla li {
    position: relative;
    padding: 18px 24px 18px 56px;
    background: #fff;
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #8c8c8c;
    font: 400 16px/150% Manrope, sans-serif;
}

.gist-sla li::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 22px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #31c55d url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.gist-sla b {
    color: #121212;
    font-weight: 600;
}

/* Что входит в стоимость */
.gist-cost {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

.gist-cost .gist-tile h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gist-cost .gist-tile h3::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eefaf1;
    color: #31c55d;
    font-size: 15px;
}

.gist-cost .gist-tile.excluded h3::before {
    content: "✕";
    background: #fdecec;
    color: #ff5a5f;
}

.gist-cost ul {
    list-style: none;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.gist-cost li {
    position: relative;
    padding-left: 22px;
    color: #8c8c8c;
    font: 400 16px/150% Manrope, sans-serif;
}

.gist-cost li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #31c55d;
    font-weight: 700;
}

.gist-cost .excluded li::before {
    content: "✕";
    color: #ff5a5f;
}

@media (max-width: 997px) {
    .gist-cost {
        grid-template-columns: 1fr;
    }
}

/* Примечание под блоком */
.gist-note {
    width: 100%;
    margin: 0;
    padding: 18px 24px;
    background: #f5f7f9;
    border-radius: 12px;
    box-sizing: border-box;
    color: #8c8c8c;
    font: 400 15px/150% Manrope, sans-serif;
}

.gist-note a {
    color: #31c55d;
    text-decoration: none;
}

.gist-note a:hover {
    text-decoration: underline;
}
