.site-logo-link,
.footer-brand-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.site-logo-image {
    display: block;
    width: 230px;
    max-width: 100%;
    height: auto;
}

.footer-brand-logo {
    display: block;
    width: 250px;
    max-width: 100%;
    height: auto;
}

.brand-fallback {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 900;
    letter-spacing: .04em;
    white-space: nowrap;
}

.brand-fallback-mark {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    color: #0b100f;
    background: linear-gradient(145deg, var(--green2), #5da913);
}

.brand-fallback-name {
    font-size: 28px;
}

.brand-fallback-name strong {
    color: var(--green2);
}

.brand-fallback-footer {
    margin-bottom: 12px;
}

.seo-dma-logo {
    display: block;
    width: 90px;
    max-width: 90px;
    height: auto;
    transition: transform .25s ease;
}

.footer-credit a:hover .seo-dma-logo,
.footer-credit a:focus-visible .seo-dma-logo {
    transform: scale(1.03);
}

.seo-dma-fallback {
    display: inline-flex;
    gap: 4px;
    align-items: center;
    font-weight: 900;
    letter-spacing: .03em;
    color: #35bdf2;
}

.seo-dma-fallback strong {
    color: #7ad126;
}

.footer-bottom {
    position: relative;
    align-items: center;
}

.footer-credit {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
    margin-left: auto;
    padding-right: 118px;
    white-space: nowrap;
}

.footer-credit a {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.contact-grid .actions a[href^="tel:"] {
    color: #ffffff;
    border-color: rgba(255, 255, 255, .42);
}

.contact-grid .actions a[href^="tel:"]:hover {
    color: #0b100f;
    background: var(--green2);
    border-color: var(--green2);
}

.gallery-rich {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    align-items: stretch;
}

.gallery-rich .gallery-item,
.gallery-rich .gallery-item:first-child {
    grid-column: auto;
    grid-row: auto;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    overflow: hidden;
    background: #111816;
}

.gallery-rich .gallery-item img,
.gallery-placeholder {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
}

.gallery-rich .gallery-item img {
    height: auto;
    object-fit: cover;
}

.gallery-placeholder {
    display: grid;
    place-items: center;
    align-content: center;
    gap: 10px;
    color: var(--green2);
    background: radial-gradient(circle at 70% 20%, rgba(122, 209, 38, .16), transparent 35%), linear-gradient(145deg, #14221d, #0c1210);
}

.gallery-placeholder span {
    font-size: 54px;
}

.gallery-placeholder small {
    color: var(--muted);
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gallery-rich .gallery-item figcaption {
    display: grid;
    gap: 5px;
    padding: 15px 16px 17px;
    text-align: left;
    font-size: 14px;
}

.gallery-rich .gallery-item figcaption strong {
    color: #ffffff;
    font-size: 16px;
}

.gallery-rich .gallery-item figcaption span {
    color: var(--muted);
    line-height: 1.45;
}

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

.price-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(20, 35, 30, .96), rgba(9, 16, 14, .98));
    overflow: hidden;
}

.price-card-label,
.price-card-price span {
    display: block;
    color: var(--green2);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.price-card h2 {
    margin: 8px 0 0;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.price-card-meta {
    display: grid;
    gap: 12px;
    margin: 0;
}

.price-card-meta > div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 11px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.price-card-meta dt {
    color: var(--muted);
}

.price-card-meta dd {
    margin: 0;
    color: #ffffff;
    font-weight: 700;
    text-align: right;
    overflow-wrap: anywhere;
}

.price-card-bottom {
    display: grid;
    gap: 16px;
    margin-top: auto;
}

.price-card-price strong {
    display: block;
    margin-top: 5px;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
}

.price-card-link {
    width: 100%;
    justify-content: center;
    text-align: center;
}

@media (max-width: 980px) {
    .site-logo-image { width: 210px; }
    .gallery-rich,
    .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .footer-credit {
        padding-right: 96px;
    }
}

@media (max-width: 640px) {
    .site-logo-image { width: 245px; max-width: calc(100vw - 105px); }
    .footer-brand-logo { width: 230px; margin-inline: auto; }
    .brand-fallback-name { font-size: 23px; }
    .brand-fallback-mark { width: 44px; height: 44px; }
    .gallery-rich,
    .price-grid { grid-template-columns: minmax(0, 1fr); }
    .price-card { padding: 20px; border-radius: 20px; }
    .price-card-meta > div { align-items: flex-start; }

    .footer-bottom {
        display: grid;
        justify-items: center;
        gap: 10px;
        text-align: center;
    }

    .footer-credit {
        justify-content: center;
        margin-left: 0;
        padding-right: 0;
        white-space: normal;
    }

    .seo-dma-logo {
        width: 90px;
        max-width: 90px;
    }
}
