﻿:root {
    --gd-text: #232323;
    --gd-muted: #696969;
    --gd-soft: #f5f2eb;
    --gd-soft-2: #fbfaf7;
    --gd-line: #e7ded1;
    --gd-gold: #cfbb8f;
    --gd-gold-dark: #8b7149;
    --gd-green: #5f983e;
    --gd-ink: #191714;
    --gd-shadow: 0 20px 46px rgba(37, 31, 22, 0.09);
    --gd-soft-shadow: 0 14px 32px rgba(37, 31, 22, 0.07);
}

body {
    color: var(--gd-text);
    background: #fff;
    /*font-size: 16px;*/
    /*line-height: 1.55;*/
}

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

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

button,
input,
textarea {
    font: inherit;
}

main,
main * {
    min-width: 0;
}


.site-top {
    background: #fff;
    border-bottom: 1px solid #eee8de;
}


.btn, a.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border: 0;
    border-radius: 30px;
    background: var(--gd-gold);
    color: #1d1d1d;
    font-size: 13px;
    letter-spacing: 0.03em;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
    background: #bea46f;
    box-shadow: 0 12px 22px rgba(140, 113, 72, 0.18);
}

.btn.medium {
    min-height: 42px;
    padding: 0 22px;
}

.btn.outline {
    background: #fff;
    border: 1px solid var(--gd-gold);
    color: var(--gd-gold-dark);
    box-shadow: none;
}


.catalog-page h1,
.catalog-page h2,
.catalog-page h3 {
    margin: 0;
    color: var(--gd-ink);
    font-family: "PT Sans Caption", "Montserrat", Arial, sans-serif;
    line-height: 1.18;
}

.catalog-page p {
    margin: 0;
}

.catalog-hero {
    padding: 62px 0 58px;
    background: linear-gradient(180deg, var(--gd-soft) 0%, #fff 92%);
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
    gap: 52px;
    align-items: center;
}

.kicker {
    margin-bottom: 16px;
    color: var(--gd-gold-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.catalog-hero h1 {
    max-width: 820px;
}

.lead {
    max-width: 760px;
    margin-top: 20px;
    color: #3f3f3f;
    font-size: 18px;
    line-height: 1.6;
}

.lead + .lead {
    margin-top: 12px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 30px;
}

.text-link {
    color: var(--gd-gold-dark);
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid currentColor;
}

.hero-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 34px;
    max-width: 760px;
}

.hero-fact {
    padding: 15px 16px;
    border: 1px solid var(--gd-line);
    background: rgba(255, 255, 255, 0.68);
}

.hero-fact strong {
    display: block;
    color: var(--gd-ink);
    font-size: 18px;
    line-height: 1.2;
}

.hero-fact span {
    display: block;
    margin-top: 5px;
    color: var(--gd-muted);
    font-size: 12px;
    line-height: 1.35;
}

.showcase {
    position: relative;
    min-height: 500px;
    padding: 28px 24px 0;
    border: 1px solid var(--gd-line);
    background: #fbfaf7;
    box-shadow: var(--gd-shadow);
    overflow: hidden;
}

.showcase:before {
    content: "";
    position: absolute;
    inset: auto 8% 0;
    height: 72%;
    background: #f0ece4;
    border: 1px solid var(--gd-line);
}

.showcase-doors {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: end;
    min-height: 430px;
}

.showcase-door {
    display: flex;
    align-items: end;
    justify-content: center;
    min-height: 390px;
}

.showcase-door img {
    width: 100%;
    max-height: 410px;
    object-fit: contain;
    filter: drop-shadow(0 20px 24px rgba(37, 31, 22, 0.14));
}

.showcase-door:nth-child(2) img {
    max-height: 475px;
}

.showcase-door:nth-child(4) img {
    max-height: 440px;
}

.showcase-caption {
    position: absolute;
    right: 20px;
    bottom: 20px;
    max-width: 245px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--gd-line);
    box-shadow: var(--gd-soft-shadow);
    font-size: 13px;
    line-height: 1.45;
}

.showcase-caption strong {
    display: block;
    margin-bottom: 4px;
    color: var(--gd-gold-dark);
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.advantage-strip {
    border-top: 1px solid var(--gd-line);
    border-bottom: 1px solid var(--gd-line);
    background: #fff;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 22px 0;
}

.advantage-item {
    padding: 20px;
    border: 1px solid var(--gd-line);
    background: var(--gd-soft-2);
}

.advantage-item strong {
    display: block;
    margin-bottom: 7px;
    color: var(--gd-ink);
    font-size: 15px;
    line-height: 1.35;
}

.advantage-item span {
    color: var(--gd-muted);
    font-size: 13px;
    line-height: 1.45;
}

main .section {
    padding: 68px 0;
}

.section.soft {
    background: var(--gd-soft-2);
}

.section.landing-preview {
    padding-top: 0;
}

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
    gap: 36px;
    align-items: end;
    margin-bottom: 34px;
}

.section-head.compact {
    display: block;
    max-width: 870px;
}

.section-head h2 {
    font-size: clamp(28px, 3vw, 40px);
}

.section-head p {
    color: var(--gd-muted);
    line-height: 1.58;
}

.direction-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(300px, 0.72fr);
    gap: 20px;
    align-items: stretch;
}

.direction-layout.mirror {
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 2fr);
}

.primary-directions,
.secondary-directions {
    display: grid;
    gap: 16px;
}

.primary-directions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.secondary-directions {
    grid-template-columns: 1fr;
}

.direction-layout.mirror .secondary-directions {
    order: 1;
}

.direction-layout.mirror .primary-directions {
    order: 2;
}

.direction-card {
    position: relative;
    display: grid;
    min-height: 360px;
    border: 1px solid var(--gd-line);
    background: #fff;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.direction-card:hover {
    transform: translateY(-2px);
    border-color: #d8c8ab;
    box-shadow: var(--gd-shadow);
}

.direction-card.small {
    min-height: 172px;
    grid-template-columns: minmax(0, 1fr) 122px;
}

.direction-photo {
    display: flex;
    align-items: end;
    justify-content: center;
    min-height: 220px;
    background: linear-gradient(180deg, #fff 0%, var(--gd-soft) 100%);
}

.direction-card.small .direction-photo {
    min-height: 100%;
    grid-column: 2;
    grid-row: 1;
    padding: 14px 8px 0;
}

.direction-photo img {
    width: min(70%, 230px);
    max-height: 300px;
    object-fit: contain;
    filter: drop-shadow(0 16px 20px rgba(37, 31, 22, 0.11));
}

.direction-card.small .direction-photo img {
    width: 100%;
    max-height: 158px;
}

.direction-body {
    padding: 24px;
}

.direction-card.small .direction-body {
    grid-column: 1;
    grid-row: 1;
    padding: 18px 18px 16px;
}

.direction-label {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 14px;
}

.pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 30px;
    background: var(--gd-soft);
    color: var(--gd-gold-dark);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

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

.direction-card.small h3 {
    font-size: 17px;
    line-height: 1.25;
}

.direction-body p {
    margin-top: 11px;
    color: var(--gd-muted);
    font-size: 14px;
    line-height: 1.55;
}

.direction-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 18px;
    color: var(--gd-green);
    font-size: 13px;
    font-weight: 700;
}

.direction-arrow {
    display: inline-flex;
    margin-top: 18px;
    color: var(--gd-gold-dark);
    font-size: 13px;
    font-weight: 700;
    border-bottom: 1px solid currentColor;
}

.selector-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.landing-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 22px;
    max-width: 1180px;
    margin-right: auto;
    margin-left: auto;
}

.landing-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid var(--gd-line);
    border-radius: 30px;
    background: #fff;
    color: var(--gd-gold-dark);
    font-size: 12px;
    font-weight: 700;
}

.selector-card {
    display: block;
    min-height: 158px;
    padding: 22px;
    border: 1px solid var(--gd-line);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.selector-card:hover {
    transform: translateY(-2px);
    border-color: #d8c8ab;
    box-shadow: var(--gd-soft-shadow);
}

.selector-card strong {
    display: block;
    color: var(--gd-ink);
    font-size: 16px;
    line-height: 1.35;
}

.selector-card span {
    display: block;
    margin-top: 10px;
    color: var(--gd-muted);
    font-size: 13px;
    line-height: 1.45;
}

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

.collection-card {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100%;
    border: 1px solid var(--gd-line);
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.collection-card:hover {
    transform: translateY(-2px);
    border-color: #d8c8ab;
    box-shadow: var(--gd-soft-shadow);
}

.collection-photo {
    display: flex;
    align-items: end;
    justify-content: center;
    min-height: 240px;
    padding: 22px 18px 0;
    background: linear-gradient(180deg, #fff 0%, var(--gd-soft) 100%);
}

.collection-photo img {
    width: min(70%, 180px);
    max-height: 230px;
    object-fit: contain;
    filter: drop-shadow(0 15px 18px rgba(37, 31, 22, 0.12));
}

.collection-body {
    display: grid;
    grid-template-rows: auto auto 1fr auto auto;
    padding: 20px;
}

.collection-card h3 {
    font-size: 20px;
    line-height: 1.25;
}

.collection-card p {
    margin-top: 10px;
    color: var(--gd-muted);
    font-size: 13px;
    line-height: 1.48;
}

.collection-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 13px;
}

.collection-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    background: var(--gd-soft);
    color: var(--gd-gold-dark);
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.collection-price {
    margin-top: 16px;
    color: var(--gd-green);
    font-size: 18px;
    font-weight: 700;
}

.collection-card .direction-arrow {
    margin-top: 12px;
}

.catalog-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 26px;
}

.catalog-pagination a,
.catalog-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid var(--gd-line);
    background: #fff;
    color: var(--gd-gold-dark);
    font-size: 13px;
    font-weight: 700;
}

.catalog-pagination .is-active {
    border-color: var(--gd-gold);
    background: var(--gd-gold);
    color: #1d1d1d;
}

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

.compare-card {
    padding: 26px;
    border: 1px solid var(--gd-line);
    background: #fff;
}

.compare-card h3 {
    font-size: 21px;
}

.compare-card ul {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 18px 0 0;
    list-style: none;
    color: var(--gd-muted);
    font-size: 14px;
    line-height: 1.45;
}

.compare-card li {
    position: relative;
    padding-left: 18px;
}

.compare-card li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gd-gold);
}

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

.step-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--gd-line);
    background: var(--gd-soft-2);
    counter-increment: step;
}

.step-card:before {
    content: counter(step, decimal-leading-zero);
    display: block;
    margin-bottom: 26px;
    color: var(--gd-gold-dark);
    font-family: "PT Sans Caption", "Montserrat", Arial, sans-serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.step-card h3 {
    font-size: 20px;
}

.step-card p {
    margin-top: 10px;
    color: var(--gd-muted);
    font-size: 14px;
    line-height: 1.55;
}

.request-box {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
    gap: 40px;
    align-items: start;
    padding: 42px;
    border: 1px solid var(--gd-line);
    background: #fff;
    box-shadow: var(--gd-shadow);
}

.request-box h2 {
    font-size: clamp(28px, 3vw, 40px);
}

.request-box p {
    margin-top: 16px;
    color: var(--gd-muted);
    line-height: 1.58;
}

.request-points {
    display: grid;
    gap: 10px;
    margin-top: 24px;
    color: var(--gd-muted);
    font-size: 14px;
}

.request-points span {
    padding: 12px 14px;
    border: 1px solid var(--gd-line);
    background: var(--gd-soft-2);
}

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

.field.full,
.field.b-privacy,
.field.b-send {
    grid-column: 1 / -1;
}

input,
textarea,
select {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid var(--gd-line);
    border-radius: 0;
    background: #fff;
    color: var(--gd-text);
    outline: none;
    transition: border-color 0.2s ease;
}

textarea {
    min-height: 110px;
    padding-top: 14px;
    resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--gd-gold-dark);
}

.b-privacy label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--gd-muted);
    font-size: 12px;
    line-height: 1.45;
}

.b-privacy input {
    width: 16px;
    height: 16px;
    min-height: 16px;
    margin-top: 2px;
    flex: 0 0 16px;
}

.b-privacy a {
    color: var(--gd-gold-dark);
    border-bottom: 1px solid currentColor;
}

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

details {
    border: 1px solid var(--gd-line);
    background: #fff;
}

summary {
    cursor: pointer;
    padding: 20px 24px;
    color: var(--gd-ink);
    font-weight: 700;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

details p {
    padding: 0 24px 22px;
    color: var(--gd-muted);
    line-height: 1.58;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(25, 23, 20, 0.58);
}

.modal-overlay.is-open {
    display: flex;
}

.calc-modal {
    position: relative;
    width: min(720px, 100%);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    padding: 36px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.calc-modal h3 {
    margin: 0;
    font-family: "PT Sans Caption", "Montserrat", Arial, sans-serif;
    font-size: 30px;
    line-height: 1.18;
}

.calc-modal p {
    margin: 14px 0 22px;
    color: var(--gd-muted);
    line-height: 1.55;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: 1px solid var(--gd-line);
    background: #fff;
    color: var(--gd-text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

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

.palette-row {
    grid-column: 1 / -1;
    padding: 16px;
    border: 1px solid var(--gd-line);
    background: var(--gd-soft-2);
}

.palette-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
}

.palette-head span {
    color: var(--gd-muted);
}

.swatches {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.swatch {
    display: grid;
    gap: 5px;
    justify-items: center;
    min-height: 82px;
    padding: 10px 8px;
    border: 1px solid var(--gd-line);
    background: #fff;
    color: var(--gd-text);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.swatch.is-active {
    border-color: var(--gd-gold-dark);
    box-shadow: inset 0 0 0 1px var(--gd-gold-dark);
}

.swatch-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.16);
    background: var(--swatch-color);
}

.swatch small {
    color: var(--gd-muted);
    font-size: 10px;
    font-weight: 500;
}



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

@media (max-width: 1200px) {
    .collection-model-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 968px) {
    .collection-model-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .collection-model-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.collection-model-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid #e4ddd1;
    background: #fff;
}

.collection-model-card .model-image {
    display: grid;
    place-items: center;
    min-height: 280px;
    padding: 18px;
    background: #f3f0e9;
    border-bottom: 1px solid #e4ddd1;
}

.collection-model-card .model-image img {
    display: block;
    max-width: 100%;
    height: 245px;
    object-fit: contain;
    filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .14));
}

.collection-model-card .model-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px;
}

.collection-model-card .model-tags,
.collection-model-card .model-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.collection-model-card .model-tag,
.collection-model-card .model-signal {
    display: inline-flex;
    align-items: center;
    min-height: 27px;
    padding: 4px 9px;
    border: 1px solid #e4ddd1;
    border-radius: 999px;
    color: #987a44;
    background: #fff;
    font-size: 12px;
    font-weight: 600;
}

.collection-model-card .model-signal {
    border-radius: 0;
    background: #f7f4ee;
    color: #4d463f;
}

.collection-model-card h3 {
    margin: 16px 0 8px;
    font-size: 24px;
}

.collection-model-card p {
    min-height: 66px;
    margin: 0 0 14px;
    color: #6f665c;
    font-size: 14px;
    line-height: 1.55;
}

.collection-model-card .model-price {
    margin-top: auto;
    padding-top: 18px;
    color: #4f9a39;
    font-size: 24px;
    font-weight: 700;
}

.collection-model-card .model-price-note {
    margin-top: 4px;
    color: #6f665c;
    font-size: 12px;
}

.collection-model-card .model-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 16px;
}

.collection-model-card .model-actions .btn {
    min-width: 0;
    padding: 10px 8px;
    text-align: center;
    font-size: 12px;
    line-height: 1.1;
}







@media (max-width: 1180px) {
    .header {
        grid-template-columns: 1fr auto;
    }

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

    .hero-grid,
    .direction-layout,
    .request-box {
        grid-template-columns: 1fr;
    }

    .showcase {
        min-height: 420px;
    }

    .showcase-doors {
        min-height: 360px;
    }

    .primary-directions,
    .secondary-directions,
    .compare-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .selector-grid,
    .collection-grid,
    .advantage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .container {
        width: min(100% - 28px, 1290px);
    }

    .header-top,
    .nav-top,
    .hero-facts,
    .advantage-grid,
    .primary-directions,
    .secondary-directions,
    .selector-grid,
    .collection-grid,
    .compare-grid,
    .steps-grid,
    .footer-contacts,
    .form-grid,
    .modal-form,
    .swatches {
        grid-template-columns: 1fr;
    }

    .header-top {
        gap: 10px;
    }

    .header {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px 0;
    }

    .header-logo img {
        width: 56px;
    }

    .header-order .btn {
        width: 100%;
    }

    .nav-top {
        justify-content: start;
        gap: 12px;
        padding: 12px 0;
        overflow-x: auto;
        display: flex;
    }

    .catalog-hero,
    .section {
        padding: 42px 0;
    }

    .hero-grid {
        gap: 30px;
    }

    .lead {
        font-size: 16px;
    }

    .hero-actions .btn,
    .hero-actions .text-link,
    .field.b-send .btn {
        width: 100%;
    }

    .showcase {
        min-height: 330px;
        padding: 18px 14px 0;
    }

    .showcase-doors {
        grid-template-columns: repeat(4, minmax(54px, 1fr));
        min-height: 280px;
        gap: 6px;
    }

    .showcase-door {
        min-height: 250px;
    }

    .showcase-door img,
    .showcase-door:nth-child(2) img,
    .showcase-door:nth-child(4) img {
        max-height: 270px;
    }

    .showcase-caption {
        position: relative;
        right: auto;
        bottom: auto;
        max-width: none;
        margin: -10px 0 14px;
    }

    .section-head {
        display: block;
        margin-bottom: 24px;
    }

    .section-head p {
        margin-top: 14px;
    }

    .direction-card,
    .direction-card.small {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .direction-card.small .direction-photo,
    .direction-card.small .direction-body {
        grid-column: auto;
        grid-row: auto;
    }

    .direction-card.small .direction-photo {
        min-height: 170px;
    }

    .direction-photo img,
    .direction-card.small .direction-photo img {
        max-height: 230px;
        width: min(62%, 180px);
    }

    .request-box {
        padding: 26px;
    }

    .calc-modal {
        padding: 28px 18px 22px;
    }

}
