/* Визуальные блоки — больше фото, меньше текста */

.hero-sales__grid--visual { align-items: stretch; }

.hero-photo {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    min-height: 380px; box-shadow: var(--shadow-lg);
}
.hero-photo__img {
    width: 100%; height: 100%; min-height: 380px; object-fit: cover; display: block;
}
.hero-photo__overlay {
    position: absolute; inset: auto 0 0 0; padding: 20px 22px;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.88) 0%, transparent 100%);
    color: #fff;
}
.hero-photo__tabs {
    position: absolute; top: 16px; left: 16px; right: 16px;
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; z-index: 2;
}
.hero-photo__tab {
    padding: 10px 14px; border-radius: 10px; border: none; cursor: pointer;
    font-weight: 700; font-size: 0.82rem; font-family: inherit;
    background: rgba(255, 255, 255, 0.92); color: var(--text-muted);
    backdrop-filter: blur(6px);
}
.hero-photo__tab.is-active {
    background: var(--cta); color: #fff;
    box-shadow: 0 4px 16px rgba(232, 93, 4, 0.4);
}
.hero-photo__price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.85rem; font-weight: 800; line-height: 1.1;
}
.hero-photo__price span { font-size: 0.85rem; font-weight: 500; opacity: 0.85; }
.hero-photo__note { font-size: 0.82rem; opacity: 0.9; margin: 6px 0 14px; }
.hero-photo__flags {
    display: flex; align-items: center; justify-content: center; gap: 28px;
    min-height: 380px; padding: 72px 24px 120px;
}
.hero-photo__flags[hidden] { display: none; }
.hero-photo__flag {
    font-size: clamp(3rem, 12vw, 4.5rem);
    line-height: 1;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.28));
    transition: transform 0.35s ease;
}
.hero-photo:hover .hero-photo__flag { transform: scale(1.06); }
.hero-photo__img[hidden] { display: none; }

.stock-card__img {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
}
.stock-card__img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.4s ease;
    min-height: 200px;
}
.hero-photo {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
}
.stock-card:hover .stock-card__img img { transform: scale(1.04); }

.section-head--compact h2 { margin-bottom: 4px; }
.section-head--compact p { font-size: 0.9rem; }

/* Мозаика фото — чистая сетка 3×2 */
.photo-mosaic {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.photo-mosaic__item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-soft);
    aspect-ratio: 4 / 3;
    margin: 0;
}
.photo-mosaic__item img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform 0.45s ease;
}
.photo-mosaic__item:hover img { transform: scale(1.04); }
.photo-mosaic__cap {
    position: absolute; left: 10px; bottom: 10px;
    background: rgba(15, 23, 42, 0.75); color: #fff;
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
    text-transform: uppercase; padding: 5px 9px; border-radius: 5px;
}

/* Гарантии — компактные плашки */
.trust-pills {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.trust-pill {
    display: flex; align-items: center; gap: 12px;
    padding: 16px; background: var(--bg-white);
    border: 1px solid var(--border); border-radius: var(--radius);
}
.trust-pill__icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: var(--trust-light); color: var(--trust);
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.trust-pill strong { display: block; font-size: 0.88rem; }
.trust-pill span { font-size: 0.75rem; color: var(--text-muted); }

/* Отзывы с аватаром */
.review-box--photo { display: flex; flex-direction: column; }
.review-box__head {
    display: flex; align-items: center; gap: 12px; margin-bottom: 12px;
}
.review-box__avatar {
    width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
    border: 2px solid var(--border);
}
.review-box__text { font-size: 0.88rem; margin-bottom: 0; }

/* CTA с фоном */
.cta-band--visual {
    position: relative; overflow: hidden; text-align: left;
    display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center;
    justify-content: space-between;
    padding: 32px 36px;
}
.cta-band--visual::before {
    content: ''; position: absolute; inset: 0;
    background: url('https://upload.wikimedia.org/wikipedia/commons/thumb/e/ef/Yang_Ming_container_ship.jpg/1280px-Yang_Ming_container_ship.jpg') center/cover;
    opacity: 0.18;
}
.cta-band--visual > * { position: relative; z-index: 1; }
.cta-band--visual > div:first-child { flex: 1 1 260px; min-width: 0; }
.cta-band--visual h2 { margin-bottom: 6px; }
.cta-band--visual p { margin: 0; max-width: 480px; }

@media (max-width: 900px) {
    .photo-mosaic { grid-template-columns: repeat(2, 1fr); }
    .trust-pills { grid-template-columns: 1fr 1fr; }
    .cta-band--visual { text-align: center; }
    .cta-band--visual .btn { width: 100%; }
}
/* Карточки моделей на страницах стран */
.model-cards {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px;
    margin-bottom: 28px;
}
.model-card {
    border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--border); background: var(--bg-white);
    transition: var(--transition);
}
.model-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.model-card img { width: 100%; height: 150px; object-fit: cover; display: block; }
.model-card__body { padding: 14px 16px; }
.model-card h3 { font-size: 1rem; margin: 0 0 4px; }
.model-card p { margin: 0; font-size: 0.8rem; color: var(--text-muted); }

.stock-banner {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    padding: 14px 18px; margin-bottom: 20px;
    background: var(--stock-soft); border: 1px solid rgba(4, 120, 87, 0.25);
    border-radius: var(--radius);
}
.stock-banner strong { color: var(--stock); }

/* Баннер на внутренних страницах */
.page-hero-banner {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    min-height: 220px; margin-bottom: 32px;
}
.page-hero-banner img {
    width: 100%; height: 220px; object-fit: cover; display: block;
}
.page-hero-banner__content {
    position: absolute; inset: 0; display: flex; flex-direction: column;
    justify-content: flex-end; padding: 24px 28px;
    background: linear-gradient(0deg, rgba(15, 23, 42, 0.85) 0%, transparent 70%);
    color: #fff;
}
.page-hero-banner__content h1 {
    color: #fff; font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 6px;
}
.page-hero-banner__content p {
    margin: 0; font-size: 0.9rem; opacity: 0.9; max-width: 480px;
}

@media (max-width: 520px) {
    .trust-pills { grid-template-columns: 1fr; }
    .photo-mosaic { grid-template-columns: 1fr; }
    .hero-photo { min-height: 300px; }
    .hero-photo__img { min-height: 300px; }
}
