/* SITE02 V4.2.5 candidate. Original photographs and product geometry retained. */
.models.section { padding-block: 40px; }
.models .overline { margin-bottom: 10px; }
.models .section-heading { margin-bottom: 22px; gap: 32px; }
.models .section-heading h2 { font-size: 32px; line-height: 1.15; margin: 0; }
.models .section-heading p { padding: 16px 20px; font-size: 13px; line-height: 1.5; }
.product-grid { gap: 18px; }
.product-card {
  position: relative;
  border: 1px solid rgba(184,135,74,.24);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.product-media { aspect-ratio: 5 / 4; background: #ded6ca; }
.product-media[data-model] img {
  position: static;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  object-position: center;
  transform: none;
}
.product-content { padding: 16px; gap: 0; }
.product-kicker { min-height: 30px; height: auto; font-size: 9px; line-height: 1.5; }
.product-content h3 { min-height: 28px; margin: 6px 0 8px; font-size: 22px; line-height: 28px; }
.product-content p { height: auto; min-height: 40px; font-size: 13px; line-height: 20px; margin: 0 0 12px; }
.product-bottom { padding-top: 12px; gap: 8px; align-items: center; }
.product-bottom strong { font-size: clamp(23px,2.1vw,28px); line-height: 1.2; margin-top: 5px; }
.product-bottom small { font-size: 8px; }
.product-card .circle-btn { flex-shrink: 0; width: 36px; height: 36px; transition: background 180ms,color 180ms,transform 180ms; }
.product-card .read-more { display: flex; align-items: center; min-height: 32px; margin-top: 8px; font-size: 11px; }
.product-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; border-color: var(--gold); }
.product-card:active { transform: translateY(-1px); border-color: var(--wine); box-shadow: 0 3px 12px #0002; }
@media (hover:hover) and (pointer:fine) {
  .product-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 12px 28px #0003; }
  .product-card:hover .circle-btn { background: var(--wine); color: white; transform: translate(1px,-1px); }
  .product-card:hover .read-more { text-decoration: underline; text-underline-offset: 3px; }
}
.price-disclaimer { margin-top: 18px; margin-bottom: 0; }

/* A single frame rule applies to every gallery photograph, including after navigation. */
.model-page .detail-gallery-main { aspect-ratio: 4 / 3; background: #ded6ca; }
.model-page .detail-gallery-main img {
  position: static;
  width: 100%;
  max-width: 100%;
  height: 100%;
  padding: 0;
  transform: none;
  object-fit: contain;
  object-position: center;
}
.model-page .gallery-thumbs button { aspect-ratio: 4 / 3; padding: 0; background: #ded6ca; }
.model-page .gallery-thumbs img { width: 100%; height: 100%; padding: 0; object-fit: contain; }
.model-page .gallery-thumbs button:focus-visible { outline-offset: 2px; }
.model-page .gallery-thumbs button:hover { border-color: var(--gold); }
.hero-film video { cursor: pointer; }
.hero-film video:focus-visible { outline: 3px solid var(--gold); outline-offset: -4px; }

@media (min-width:1001px) and (max-height:850px) {
  .models.section { padding-block: 28px; }
  .models .section-heading { margin-bottom: 16px; }
  .models .section-heading h2 { font-size: 28px; }
  .product-media { aspect-ratio: 4 / 3; }
}
@media (min-width:561px) and (max-width:1000px) {
  .product-media { aspect-ratio: 4 / 3; }
}
@media (max-width:560px) {
  .models.section { padding-block: 40px; }
  .models .section-heading { gap: 16px; }
  .models .section-heading h2 { font-size: 30px; }
  .models .section-heading p { font-size: 14px; }
  .product-grid { gap: 20px; }
  .product-media { aspect-ratio: 4 / 3; }
  .product-content { padding: 20px; }
  .product-kicker { min-height: 0; font-size: 10px; }
  .product-content h3 { margin-top: 8px; }
  .product-content p { min-height: 0; font-size: 14px; }
  .product-bottom strong { font-size: 28px; }
  .product-card .read-more { min-height: 36px; font-size: 12px; }
  .model-page .detail-gallery-main { aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion:reduce) {
  .product-card, .product-card .circle-btn { transition: none; }
  .product-card:hover, .product-card:active, .product-card:hover .circle-btn { transform: none; }
}

/* ===== SITE02 R3 (GAC-SITE-REPAIR-R3-20261111-01) ===== */
/* Historical 3:2 layout; the V4.2.10 rules below use the original photos in portrait frames. */
.product-media, .model-page .detail-gallery-main, .model-page .gallery-thumbs button { aspect-ratio: 3 / 2; }
.product-media picture, .gallery-item picture { display: block; width: 100%; height: 100%; }
.product-media[data-model] picture img { position: static; display: block; width: 100%; height: 100%; padding: 0; object-fit: contain; transform: none; }
.model-page .detail-gallery-main img { position: static !important; width: 100% !important; height: 100% !important; top: auto; left: auto; transform: none !important; padding: 0; object-fit: contain; }
@media (min-width:1001px) and (max-height:850px) { .product-media { aspect-ratio: 3 / 2; } }
@media (min-width:561px) and (max-width:1000px) { .product-media { aspect-ratio: 3 / 2; } }
@media (max-width:560px) { .product-media, .model-page .detail-gallery-main { aspect-ratio: 3 / 2; } }

/* 5. Читаемость: подписи не меньше 12px, основной текст карточек 14px; плотность за счёт отступов. */
.preview-banner { font-size: 12px; padding: 5px 16px; }
.overline, .eyebrow, .hero .eyebrow { font-size: 12px; }
.product-kicker { min-height: 0; font-size: 12px; line-height: 1.4; letter-spacing: .04em; }
.product-bottom small { font-size: 12px; letter-spacing: .04em; }
.product-content { padding: 14px 16px 16px; }
.product-content h3 { min-height: 0; margin: 4px 0 4px; font-size: 22px; line-height: 28px; }
.product-content p { min-height: 0; font-size: 14px; line-height: 20px; margin: 0 0 8px; }
.product-bottom { padding-top: 8px; }
.product-bottom strong { font-size: clamp(22px,1.9vw,26px); margin-top: 2px; }
.product-card .read-more { min-height: 32px; margin-top: 4px; font-size: 13px; }
.models .section-heading p { font-size: 14px; }
.gallery-item figcaption, .custom-image span, .hero-poster span { font-size: 12px; }
.result-label, .detail-price small, .footer-bottom, .nav>.btn { font-size: 12px; }
.net-status { font-size: 13px; }
.net-status.is-error { color: #ffd2c9; font-weight: 700; }
@media (min-width:1001px) and (max-height:850px) {
  .models.section { padding-block: 20px 28px; }
  .models .overline { margin-bottom: 6px; }
  .models .section-heading { margin-bottom: 12px; }
  .models .section-heading h2 { font-size: 26px; }
  .models .section-heading p { padding: 10px 14px; font-size: 14px; line-height: 1.45; }
}
@media (max-width:560px) { .product-kicker { font-size: 12px; } .hero .eyebrow { font-size: 12px; } .nav>.btn { font-size: 12px; } }

/* 2. Калькулятор: ошибка рядом с полем. */
.calc-form input[aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 2px #b3261e33; }
.field-error { color: #b3261e; font-size: 13px; font-weight: 600; line-height: 1.4; }
.field-error[hidden] { display: none; }

/* 3. Сравнение комплектов и характеристики модели. */
.compare-section { padding-block: 56px; }
.compare-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.compare-scroll:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.compare-table th, .compare-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table thead th { background: var(--deep); color: var(--paper); font-size: 15px; }
.compare-table thead a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.compare-table tbody th { width: 17%; color: var(--muted); font-weight: 600; }
.compare-table small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.compare-common, .spec-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 24px; margin: 20px 0 0; }
.compare-common div, .spec-list div { padding: 10px 0; border-bottom: 1px solid var(--line); }
.compare-common dt, .spec-list dt { font-size: 13px; font-weight: 700; color: var(--muted); }
.compare-common dd, .spec-list dd { margin: 2px 0 0; font-size: 15px; line-height: 1.5; }
.spec-list small { display: block; color: var(--muted); font-size: 12px; }
.detail-specs { padding-bottom: 56px; }
.detail-specs h2 { font-size: 30px; line-height: 36px; margin: 0; }
.detail-specs .small-note { color: var(--muted); }
.detail-specs .small-note a { text-decoration: underline; }
@media (max-width:800px) { .compare-common, .spec-list { grid-template-columns: 1fr; } }

/* 7. Запрос менеджеру (без отправки с сайта). */
.lead-box { margin-top: 20px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); }
.lead-title { margin: 0 0 6px; font-size: 18px; line-height: 1.3; }
.lead-help { margin: 0 0 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.lead-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.lead-box textarea { width: 100%; box-sizing: border-box; min-height: 120px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; font: 14px/1.45 var(--sans); color: var(--ink); background: #fff; resize: vertical; }
.lead-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lead-actions .btn { min-height: 44px; font-size: 14px; }
.lead-box .btn-outline { color: var(--wine); border-color: var(--wine); }
.lead-status { min-height: 1.4em; margin: 8px 0 0; font-size: 13px; color: var(--wine); }

/* 6. Навигация: мобильное меню на страницах моделей, видео, увеличенный просмотр. */
.model-page .nav .menu-toggle { margin-left: 8px; }
@media (max-width:1000px) { .model-page .back-to-models { margin-left: auto; } }
@media (max-width:420px) { .model-page .back-to-models { display: none; } }
.mobile-nav a:focus-visible, .menu-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.video-toggle-btn { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--wine); font: 600 13px/1.2 var(--sans); cursor: pointer; }
.video-toggle-btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.lightbox-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.lightbox-bar span { margin-right: auto; font-size: 14px; }
.lightbox .lightbox-bar button { margin: 0; min-height: 44px; }
.lightbox button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto; } }
.contact-grid>div:first-child .lead-box p.lead-help, .lead-box p.lead-help { color: #5e5357; opacity: 1; }
.contact-grid>div:first-child .lead-box p.lead-status, .lead-box p.lead-status { color: var(--wine); opacity: 1; }
.lead-box .btn-primary { background: var(--wine); color: #fff; border-color: var(--wine); }
.lead-box .btn-primary:hover { background: var(--deep); }

/* SITE02 V4.2.9: one product summary, before the gallery on narrow screens.
   Desktop retains the gallery on the left and the existing copy order on the right. */
.model-page .detail-hero { row-gap: 0; }
.model-page .detail-heading { grid-column: 2; grid-row: 1; }
.model-page .detail-description { grid-column: 2; grid-row: 2; min-width: 0; }
.model-page .detail-summary { grid-column: 2; grid-row: 3; min-width: 0; }
.model-page .detail-hero > .lead-box { grid-column: 2; grid-row: 4; min-width: 0; }
.model-page .detail-gallery { grid-column: 1; grid-row: 1 / span 4; }
.model-page .detail-description > p { margin: 0; }
.model-page .detail-summary .detail-price { margin-top: 24px; }

.lightbox-bar > #lightbox-indicator { flex: 1 0 auto; margin-right: auto; white-space: nowrap; }
.lightbox .lightbox-bar button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 0 0 auto; min-width: 44px; min-height: 44px; white-space: nowrap; }
.lightbox .lightbox-bar button svg { flex: none; }
.lightbox .lightbox-bar .lightbox-button-text { margin: 0; font-size: inherit; }
@media (max-width:800px) {
  .model-page .detail-hero { row-gap: 0; }
  .model-page .detail-heading { grid-column: 1; grid-row: 1; }
  .model-page .detail-summary { grid-column: 1; grid-row: 2; margin-bottom: 24px; }
  .model-page .detail-gallery { grid-column: 1; grid-row: 3; }
  .model-page .detail-description { grid-column: 1; grid-row: 4; margin-top: 24px; }
  .model-page .detail-hero > .lead-box { grid-column: 1; grid-row: 5; }
  .model-page .detail-heading .overline { margin: 0 0 10px; }
  .model-page .detail-heading h1 { margin: 0 0 12px; }
  .model-page .detail-heading .lead { margin: 0; font-size: 18px; line-height: 1.45; }
  .model-page .detail-summary .detail-price { margin: 18px 0 14px; }
  .model-page .detail-summary .detail-fact { margin: 0; padding-top: 12px; }
  .model-page .detail-summary .detail-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 16px; }
  .model-page .detail-summary .detail-actions .btn { width: auto; min-height: 44px; padding-inline: 10px; font-size: 13px; }
  .model-page .detail-summary .detail-actions .btn:first-child { grid-column: 1 / -1; }
}
@media (max-width:560px) {
  .lightbox { padding: 12px; }
  .lightbox-bar { gap: 8px; margin-bottom: 10px; }
  .lightbox .lightbox-bar button { width: 44px; height: 44px; padding: 0; }
  .lightbox .lightbox-bar .lightbox-button-text { display: none; }
}

/* SITE02 V4.2.10: visible contacts, financing and consistent photo layouts.
   Only background edges are clipped; original media files remain unchanged. */
.header-contacts { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-contact { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 9px 12px; border: 1px solid #ffffff70; border-radius: 10px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.header-contact svg { flex: none; }
.header-contact:hover { background: #ffffff15; border-color: var(--gold); }
.header .nav { gap: 16px; }
.financing-callout { padding: 16px 18px; margin: 20px 0; border: 1px solid #9b6542; border-radius: 14px; background: #f2e2cc; color: var(--deep); }
.financing-callout p { margin: 0 0 8px; font-size: 12px; font-weight: 650; }
.financing-callout ul { display: flex; flex-wrap: wrap; gap: 6px 12px; list-style: none; margin: 0; padding: 0; }
.financing-callout li { font-size: 16px; line-height: 1.4; font-weight: 750; }
.financing-callout li:not(:last-child)::after { content: ' ·'; color: #946b3d; margin-left: 10px; }
.financing-callout a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 2px; font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.model-page .detail-summary .financing-callout { margin: 16px 0; padding: 12px 16px 8px; }
.product-media, .model-page .detail-gallery-main, .model-page .gallery-thumbs button { aspect-ratio: 4 / 5; }
.product-media[data-model] img, .product-media[data-model] picture img,
.model-page .detail-gallery-main img, .model-page .gallery-thumbs img { object-fit: cover; object-position: center; }
.model-page .detail-hero { grid-template-columns: 1fr 1fr; }
.model-page .gallery-thumbs { grid-template-columns: repeat(var(--gallery-count,6),minmax(0,1fr)); gap: 8px; }
.detail-closeup { margin: 20px 0 0; }
.detail-closeup img { width: 100%; height: auto; border-radius: 14px; }
.detail-closeup figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.gallery-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; }
.gallery-item { aspect-ratio: 2 / 3; }
.gallery-item img { object-fit: cover; }
.gallery-item img[data-media="work-03-coffee-break"] { object-position: 45% center; }
.gallery-item img[data-media="work-06-kiosk"] { object-position: 75% center; }
.custom-image { aspect-ratio: 829 / 817; }
.custom-image img { object-fit: cover; }
.delivery-route { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.delivery-route li { position: relative; padding: 24px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.delivery-step-top { display: flex; align-items: center; justify-content: space-between; color: var(--wine); margin-bottom: 24px; }
.delivery-step-top span { font-size: 13px; font-weight: 700; color: var(--muted); }
.delivery-route h3 { margin: 0 0 10px; font-size: 19px; line-height: 1.3; }
.delivery-route p { margin: 0; font-size: 14px; color: var(--muted); }
.delivery-route li:not(:last-child)::after { content: '→'; position: absolute; right: -14px; top: 34px; z-index: 1; color: var(--wine); background: var(--cream); font-size: 20px; line-height: 24px; }
.logistics-copy p:last-child { margin-bottom: 0; }
.lead-steps { padding-left: 20px; margin: 0 0 12px; font-size: 14px; }
.lead-steps li { margin-bottom: 4px; }
@media (max-width:1200px) {
  .header .nav-links { display: none; }
  .header .menu-toggle { display: grid; place-items: center; flex: 0 0 44px; }
}
@media (max-width:1000px) {
  .gallery-grid, .delivery-route { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .delivery-route li:nth-child(2)::after { content: none; }
}
@media (max-width:800px) {
  .model-page .detail-hero { grid-template-columns: minmax(0,1fr); }
  .model-page .detail-summary .financing-callout { margin: 12px 0; }
}
@media (max-width:560px) {
  .header .nav { gap: 8px; height: 64px; }
  .header .wordmark { font-size: 22px; }
  .header-contacts { gap: 6px; }
  .header-contact { width: 44px; padding: 8px; }
  .header-contact span { display: none; }
  .model-page .nav .menu-toggle { margin-left: 0; }
  .financing-callout { padding: 12px 14px 8px; }
  .financing-callout li { font-size: 15px; }
  .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
  .gallery-item { border-radius: 12px; }
  .delivery-route { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .delivery-route li { padding: 18px; }
  .delivery-step-top { margin-bottom: 14px; }
  .delivery-route li:not(:last-child)::after { content: '↓'; top: auto; bottom: -20px; left: 28px; right: auto; }
  .lead-actions .btn { width: 100%; }
}

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

/* Keep the right side of these offset Premium stands clear of the frame edge.
   The main src changes with navigation; its data-media attribute does not. */
.model-page .detail-gallery-main img[src*="model-premium-02-"],
.model-page .gallery-thumbs img[data-media="model-premium-02"] { object-position: 60% center; }
.model-page .detail-gallery-main img[src*="model-premium-04-"],
.model-page .gallery-thumbs img[data-media="model-premium-04"] { object-position: 65% center; }

/* V4.2.11: the custom product photo keeps its complete source frame. */
.custom-image { margin: 0; aspect-ratio: auto; overflow: visible; border-radius: 0; background: transparent; }
.custom-photo { position: relative; overflow: hidden; border-radius: 24px; }
.custom-photo img { display: block; width: 100%; height: auto; object-fit: contain; }
.custom-image figcaption { margin-top: 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.gallery-status { margin: 12px 0 0; font-size: 13px; color: var(--wine); }
.gallery-status:empty { display: none; }
.model-page .gallery-thumbs button[data-pending="true"] { border-color: var(--gold); }
.contact-fallback { margin-top: 12px; border-top: 1px solid var(--line); }
.contact-fallback summary { display: list-item; min-height: 44px; padding-block: 10px; cursor: pointer; font-size: 13px; font-weight: 600; }
.contact-fallback summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.contact-fallback-fields { display: grid; gap: 10px; padding-top: 6px; }
.contact-copy-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 8px; }
.contact-copy-row label { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.contact-copy-row input { min-width: 0; width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font: 16px/1.4 var(--sans); }
.contact-copy-row button { min-height: 44px; padding: 8px 10px; border: 1px solid var(--wine); border-radius: 8px; background: transparent; color: var(--wine); font-size: 12px; }
.contact-copy-status { margin: 0; font-size: 13px; color: var(--wine); }
.contact-copy-status:empty { display: none; }
@media (max-width:560px) { .custom-photo { border-radius: 18px; } }
.contact-grid>div:first-child .contact-fallback .contact-copy-status,
.contact-fallback .contact-copy-status { color: var(--wine); opacity: 1; }

/* V4.2.12: laptop density at 100% browser scale. No page zoom or image recropping.
   The second query also covers a wide desktop window with limited height. */
@media (min-width:1001px) and (max-width:1600px), (min-width:1001px) and (max-height:900px) {
  body { font-size: 16px; line-height: 1.5; }
  .wrap { width: min(1160px,calc(100% - 64px)); }
  .header .nav { height: 60px; gap: 14px; }
  .header .wordmark { font-size: 23px; }
  .header .nav-links { gap: 16px; }
  .header-contact { padding-inline: 10px; }
  .section { padding-block: 56px; }
  h2 { font-size: 34px; line-height: 1.15; }
  .overline { margin-bottom: 12px; }
  .section-heading { margin-bottom: 24px; }
  .section-heading.split { gap: 32px; }
  .section-heading p { padding: 18px 20px; font-size: 15px; }

  /* Display contents changes only this wide layout; mobile retains its reading order. */
  .hero-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    grid-template-rows: auto auto 1fr auto auto;
    grid-template-areas: "intro visual" "title visual" "description visual" "actions financing" "contacts financing";
    column-gap: 32px;
    row-gap: 12px;
    min-height: 0;
    padding-block: 32px;
    align-items: start;
  }
  .hero-copy { display: contents; }
  .hero-copy > .eyebrow { grid-area: intro; margin: 0; line-height: 18px; }
  .hero-copy h1 { grid-area: title; margin: 0; font-size: clamp(38px,3vw,44px); line-height: 1.12; }
  .hero-desc { grid-area: description; margin: 0; font-size: 16px; line-height: 1.5; }
  .hero .cta-group { grid-area: actions; gap: 8px; margin: 0; }
  .hero .direct-contacts { grid-area: contacts; gap: 8px; margin: 0; }
  .hero .btn { min-height: 44px; padding: 10px 14px; font-size: 13px; }
  .hero-visual { grid-area: visual; align-self: center; }
  .hero-film { border-radius: 18px; }
  .hero .financing-callout { grid-area: financing; align-self: stretch; margin: 0; padding: 12px 16px 8px; }
  .hero .financing-callout p { margin-bottom: 4px; }
  .hero .financing-callout li { font-size: 15px; }
  .hero .financing-callout a { margin-top: 0; }

  .value-grid { gap: 20px; }
  .value-grid article { padding: 22px; }
  .value-grid h3 { margin: 16px 0 10px; font-size: 22px; }
  .value-grid p { font-size: 15px; }
  .models.section { padding-block: 32px; }
  .models .section-heading { margin-bottom: 18px; }
  .models .section-heading h2 { font-size: 30px; }
  .models .section-heading p { padding: 12px 16px; }
  .product-grid { max-width: 1008px; margin-inline: auto; gap: 16px; }
  .product-content { padding: 12px 14px; }
  .product-content h3 { font-size: 20px; line-height: 24px; }
  .product-bottom strong { font-size: 24px; }
  .gallery-grid { max-width: 1008px; margin-inline: auto; gap: 16px; }
  .gallery-end { margin-top: 20px; }
  .custom-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
  .custom-grid > div:first-child { padding: 24px; }
  .custom-image { width: min(100%,460px); justify-self: center; }
  .custom-grid h2 { margin-bottom: 16px; }
  .custom-grid .chips { margin-bottom: 16px; }
  .calc-form, .calc-result, .contact-panel { padding: 24px; }
  .calc-form { gap: 18px; }
  .supplies-card { padding: 28px; }
  .logistics-grid, .contact-grid { gap: 32px; }
  .logistics-copy { padding: 24px; }
  .delivery-route li { padding: 20px 18px; }
  .delivery-step-top { margin-bottom: 18px; }
  .footer-main { padding-block: 28px; }

  .model-breadcrumb { margin-top: 18px; }
  .model-page .detail-hero { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); column-gap: 32px; padding-block: 24px 48px; }
  .model-page .detail-gallery { width: min(100%,clamp(320px,calc(64vh - 128px),400px)); margin-inline: auto; }
  .model-page .detail-heading .overline { margin: 0 0 8px; }
  .model-page .detail-heading h1 { margin: 0 0 10px; font-size: 40px; line-height: 1.1; }
  .model-page .detail-heading .lead { margin: 0; font-size: 17px; line-height: 1.45; }
  .model-page .detail-summary { grid-row: 2; }
  .model-page .detail-description { grid-row: 3; margin-top: 18px; font-size: 15px; }
  .model-page .detail-summary .detail-price { margin: 16px 0 12px; font-size: 34px; }
  .model-page .detail-summary .detail-fact { margin-bottom: 0; padding-top: 12px; }
  .model-page .detail-summary .financing-callout { margin: 12px 0; padding: 10px 14px 6px; }
  .model-page .detail-summary .financing-callout p { margin-bottom: 4px; }
  .model-page .detail-summary .detail-actions { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
  .model-page .detail-summary .detail-actions .btn { min-height: 44px; padding: 8px 10px; font-size: 13px; }
  .model-page .gallery-thumbs { margin-top: 12px; }
  .model-page .gallery-thumbs button { width: 100%; max-width: 64px; justify-self: center; }
  .model-page .detail-disclaimer { margin-top: 12px; }
  .model-page .detail-closeup { margin-top: 16px; }
  .detail-columns { gap: 20px; padding-bottom: 48px; }
  .detail-box { padding: 24px; }
  .detail-box h2 { font-size: 28px; line-height: 1.2; }
  .detail-box li { font-size: 15px; margin-bottom: 10px; }
  .detail-specs { padding-bottom: 48px; }
  .detail-recommend { padding-block: 48px; }
}
@media (min-width:1001px) and (max-height:700px) {
  .hero-grid { padding-block: 20px; row-gap: 10px; }
  .hero-copy h1 { font-size: 38px; }
  .section { padding-block: 44px; }
  .models.section { padding-block: 28px; }
  .model-page .detail-hero { padding-top: 18px; }
}

/* V4.2.13: short laptop windows need a different card layout, not page scaling. */
@media (min-width:1001px) and (max-height:700px) {
  .header .nav { height: 52px; }
  .section { padding-block: 28px; }
  .section-heading { margin-bottom: 16px; }
  .section-heading h2 { font-size: 28px; line-height: 1.15; }
  .section-heading p { padding: 10px 14px; font-size: 14px; line-height: 1.4; }
  .overline { margin-bottom: 6px; }
  .hero-grid { padding-block: 16px; row-gap: 8px; column-gap: 24px; }
  .hero-visual { width: min(100%,480px); justify-self: center; }
  .hero .financing-callout { padding: 10px 14px 6px; }
  .models.section { padding-block: 10px 18px; }
  .models .overline { margin-bottom: 2px; }
  .models .section-heading { margin-bottom: 10px; gap: 24px; }
  .models .section-heading h2 { margin: 0; font-size: 26px; line-height: 1.15; }
  .models .section-heading p { padding: 6px 10px; font-size: 14px; line-height: 1.35; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); max-width: none; gap: 12px; }
  .product-card { display: grid; grid-template-columns: 144px minmax(0,1fr); align-items: center; border-radius: 14px; }
  .product-media { width: 144px; aspect-ratio: 4 / 5; align-self: center; }
  .product-content { align-self: stretch; padding: 10px 12px; }
  .product-kicker { font-size: 12px; line-height: 1.3; }
  .product-content h3 { margin: 3px 0; font-size: 20px; line-height: 24px; }
  .product-content p { margin-bottom: 4px; font-size: 14px; line-height: 19px; }
  .product-bottom { padding-top: 5px; }
  .product-bottom > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
  .product-bottom small { font-size: 12px; line-height: 16px; letter-spacing: 0; }
  .product-bottom strong { margin: 0; font-size: 24px; line-height: 28px; }
  .product-card .circle-btn { display: none; }
  .product-card .read-more { margin-top: 2px; min-height: 24px; font-size: 13px; line-height: 18px; }
  .price-disclaimer { margin-top: 10px; }
  .gallery-grid { max-width: 864px; gap: 12px; }
  .gallery-end { margin-top: 12px; }
  .custom-grid { grid-template-columns: minmax(0,.68fr) minmax(0,1.32fr); gap: 24px; }
  .custom-image { width: min(100%,clamp(280px,calc(60vh - 20px),350px)); }
  .custom-image figcaption { margin-top: 8px; font-size: 13px; }
  .custom-grid > div:first-child { padding: 18px 20px; }
  .custom-grid h2 { margin-bottom: 12px; font-size: 28px; line-height: 1.15; }
  .custom-grid h2 br { display: none; }
  .custom-sub { margin-bottom: 12px; font-size: 15px; line-height: 1.45; }
  .custom-grid .chips { gap: 6px; margin-bottom: 12px; }
  .custom-grid .chips span { padding: 5px 7px; }
  .custom-grid .btn { min-height: 44px; padding: 9px 14px; font-size: 13px; }
  .custom-grid .direct-contacts { margin-top: 10px; gap: 8px; }
  .value-grid article, .supplies-card, .logistics-copy, .contact-panel { padding: 18px 20px; }
  .value-grid h3 { margin-top: 12px; }
  .calc-form, .calc-result { padding: 18px 20px; }
  .calc-form { gap: 12px 18px; }
  .calc-form label { gap: 5px; }
  .calc-form input { min-height: 44px; padding: 8px 10px; }
  .calc-result > strong { margin: 10px 0 6px; font-size: 36px; }
  .net-status { margin-bottom: 12px; }
  .result-line { padding-block: 8px; }
  .logistics-grid, .contact-grid { gap: 24px; }
  .delivery-route li { padding: 16px; }
  .delivery-step-top { margin-bottom: 12px; }
  .contact-link, .contact-address { padding-block: 12px; }
  .footer-main { padding-block: 20px; }
  .model-page .model-breadcrumb { margin-top: 8px; }
  .model-page .detail-hero { padding-top: 6px; }
  .model-page .detail-gallery { width: min(100%,288px); }
}

/* Decorative media: the still remains visible until playback is confirmed.
   Rejected video is detached in video.js, so no native Play surface remains. */
.hero-film video, .hero-media-fallback { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.hero-film video { opacity: 0; cursor: default; }
.hero-film[data-motion-state="video"] video { opacity: 1; }
.hero-film[data-motion-state="video"] .hero-media-fallback { visibility: hidden; }
@media (prefers-reduced-motion:reduce) { .hero-film video { display: none; } }

/* V4.2.14: model enquiry follows all product information. */
.model-lead-section { padding-block: clamp(24px,4vw,48px); }
.model-lead-section > .lead-box { width: min(100%,760px); margin: 0 auto; }

/* V4.2.15: a separate Cyrillic brand line before the hero actions. */
.hero-brand { margin: 0 0 12px; color: var(--wine); font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.045em; }
.hero-brand span { font-weight: 350; }
.hero-brand i { color: var(--gold); font-style: normal; }
@media (min-width:1001px) and (max-width:1600px), (min-width:1001px) and (max-height:900px) {
  .hero-grid { grid-template-rows: auto auto 1fr auto auto auto; grid-template-areas: "intro visual" "title visual" "description visual" "brand visual" "actions financing" "contacts financing"; }
  .hero-brand { grid-area: brand; margin: 0; font-size: 28px; }

  /* Only the homepage contact section is denser; model forms retain their layout. */
  #contact { padding-block: 28px; }
  #contact .contact-grid { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 24px; }
  #contact .contact-grid > div:first-child { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; align-items: start; }
  #contact .contact-grid > div:first-child > p,
  #contact .contact-grid > div:first-child > h2,
  #contact .contact-grid > div:first-child > .lead-box { grid-column: 1 / -1; }
  #contact .contact-grid > div:first-child > p { margin: 0; font-size: 15px; line-height: 1.45; }
  #contact .contact-grid > div:first-child > .overline { font-size: 12px; line-height: 18px; }
  #contact h2 { margin: 0; font-size: 28px; line-height: 1.15; }
  #contact h2 br { display: none; }
  #contact .contact-grid > div:first-child > .btn { grid-column: 1; }
  #contact .direct-contacts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); grid-column: 2 / -1; gap: 8px; margin: 0; }
  #contact .btn { min-height: 44px; padding: 8px 10px; font-size: 14px; line-height: 1.3; }
  #contact .lead-box { margin-top: 6px; padding: 16px; }
  #contact .lead-title { margin-bottom: 6px; font-size: 18px; line-height: 1.25; }
  #contact .lead-help { margin-bottom: 6px; font-size: 14px; line-height: 1.4; }
  #contact .lead-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px 18px; padding-left: 18px; margin: 0 0 8px; font-size: 14px; line-height: 1.4; }
  #contact .lead-steps li { margin: 0; }
  #contact .lead-steps li:last-child { grid-column: 1 / -1; }
  #contact .lead-label { gap: 4px; font-size: 14px; }
  #contact .lead-box textarea { height: 112px; min-height: 112px; padding: 8px 10px; font-size: 14px; line-height: 1.4; }
  #contact .lead-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 8px; }
  #contact .contact-fallback { margin-top: 8px; }
  #contact .lead-status:empty { display: none; }
  #contact .contact-panel { padding: 18px; }
  #contact .contact-panel h3 { margin-bottom: 10px; font-size: 20px; line-height: 1.2; }
  #contact .contact-link, #contact .contact-address { padding-block: 8px; }
  #contact .contact-link span, #contact .contact-address span { margin-bottom: 2px; font-size: 14px; line-height: 1.3; }
  #contact .contact-link strong { font-size: 15px; line-height: 1.4; }
  #contact .contact-address strong { font-size: 14px; line-height: 1.4; }
  #contact .contact-address small { margin-top: 8px; line-height: 1.4; }
}
