/* Dedicated portrait/landscape tablet composition; phone and desktop stay independent. */
@media (min-width: 761px) and (max-width: 1080px) {
 .compact { --gutter: 32px; --section: 44px; --header-h: 66px; }
 .compact .section-title { font-size: clamp(30px, 3.5vw, 38px); line-height: 1.12; margin-bottom: 24px; }
 .compact .header__inner { gap: 16px; }
 .compact .brand { gap: 10px; padding-inline-start: 0; }
 .compact-mark { width: 34px; height: 34px; flex-basis: 34px; }
 .compact .brand__word { font-size: 14px; }
 .compact .header__actions { gap: 12px; }
 .compact .header__phone { font-size: 13px; padding-inline: 0; }
 .compact .header__book { min-height: 42px; padding: 10px 20px; font-size: 13px; }

 .compact .hero { padding-block: 44px 48px; }
 .compact .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: center; }
 .compact .hero__place { font-size: 12px; letter-spacing: 0; }
 .compact .hero h1 { font-size: clamp(34px, 4.1vw, 46px); line-height: 1.07; margin-top: 14px; max-width: 15ch; }
 .compact .hero__lead { font-size: 14px; line-height: 1.65; margin-top: 18px; }
 .compact .hero__proof { font-size: 12px; padding: 7px 9px; min-height: 36px; margin-top: 14px; }
 .compact .hero__actions { flex-wrap: nowrap; gap: 12px; margin-top: 22px; }
 .compact .hero__actions .btn--scissor { width: 160px; min-width: 0; height: 48px; min-height: 48px; padding: 12px 16px; flex-shrink: 0; }
 .compact .hero__actions .btn__label { font-size: 14px; }
 .compact .hero__price-link { font-size: 12px; gap: 6px; min-height: 48px; padding-inline: 0; white-space: nowrap; }
 .compact .hero__figure img { height: clamp(340px, 43vw, 435px); object-position: center 58%; }

 /* The only tablet ornament occupies the gap above the two hero columns. */
 .maestro-hero-bg { z-index: 3; --maestro-shears-left: calc(50% - 60px); --maestro-shears-top: calc(7.8125vw + 25px); }
 .maestro-pivot-shears { rotate: 142deg; scale: .75; }
 .maestro-pivot-razor { display: none; }
 .maestro-tool-stage { bottom: 0; }
 .maestro-hero-bg::after { display: none; }

 .compact-prices .price-item { grid-template-columns: minmax(0, 1fr) 76px 180px; gap: 0 18px; min-height: 64px; padding-block: 9px; }
 .compact-prices .price-item h3 { font-size: 14px; }
 .compact-prices .price-item__price { font-size: 14px; }
 .compact-prices .price-item__actions { gap: 12px; }
 .compact-prices .price-detail { min-height: 44px; font-size: 12px; }
 .compact-prices .price-book { min-height: 44px; padding: 8px 12px; font-size: 12px; }
 .price-end { margin-top: 20px; gap: 20px; }
 .price-end p { font-size: 12px; }

 .compact .team { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
 .compact .master { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
 .compact .master__photo { width: 72px; }
 .compact .master h3 { font-size: 21px; }
 .compact .master__role { font-size: 12px; margin-top: 3px; }
 .compact .master__link { min-height: 44px; font-size: 12px; margin-top: 4px; }
 .compact-interior { gap: 12px; }
 .compact-interior .atmosphere__item figcaption { font-size: 11px; padding: 12px; }
 .compact-works { height: clamp(300px, 36vw, 390px); }

 .compact-contacts { grid-template-columns: minmax(0, 1fr); gap: 26px; }
 .compact-contacts > div:first-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
 .compact-contacts .section-title { margin-bottom: 0; }
 .compact-contacts address { font-size: 14px; line-height: 1.6; }
 .compact-contacts address p + p { margin-top: 6px; }
 .contact-map iframe { height: 260px; min-height: 260px; }
 .contact-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
 .contact-actions .btn { min-height: 48px; font-size: 13px; }
 .compact .footer__nav { gap: 10px 24px; padding-top: 20px; font-size: 11px; }
 .footer__links { gap: 0 18px; }
 .compact .footer__bottom { font-size: 11px; gap: 16px; padding-bottom: 20px; }
}
@media (min-width: 960px) and (max-width: 1080px) {
 .compact-contacts { grid-template-columns: minmax(0, .85fr) minmax(0, 1.45fr); gap: 32px; }
 .compact-contacts > div:first-child { display: block; }
 .compact-contacts .section-title { margin-bottom: 22px; }
}
