/* Meridian V3 visual refinements: scoped and reversible. */
/* Hero: restrained two-line headline and balanced vertical placement. */
body .hero .hero-layout{min-height: min(660px, calc(100svh - 92px));align-items:stretch;padding-block:clamp(52px,5vw,92px)}
body .hero .hero-copy{max-width:790px;align-self:flex-start;margin-inline:0}
body .hero .hero-copy h1{max-width:790px;font-size:clamp(40px,4.0vw,72px);line-height:1.09;letter-spacing:-.045em;text-wrap:balance}
body .hero .hero-copy .lead{max-width:660px}
/* Catalog: quiet secondary offer, not a huge card competing with products. */
body .shop-sidebar .shop-service-note--compact{background:#f3eee7;border:1px solid #e6dbcf;border-radius:14px;padding:20px;box-shadow:none;max-width:100%;}
body .shop-sidebar .shop-service-note--compact h3{font-size:clamp(18px,1.2vw,22px);line-height:1.24;margin:0 0 10px;letter-spacing:-.025em}
body .shop-sidebar .shop-service-note--compact p{font-size:14px;line-height:1.55;margin:0 0 16px}
body .shop-sidebar .shop-service-note--compact .btn{width:100%;min-height:46px;display:inline-flex;justify-content:center;align-items:center;text-align:center;padding:11px 12px;font-size:13px;white-space:normal}
/* Production: align the single catalog invite and avoid fake secondary buttons. */
body.production-page .catalog-invite{padding:clamp(28px,3vw,48px);gap:28px;min-height:0}
body.production-page .catalog-invite>div{max-width:720px}
body.production-page .catalog-invite .btn{flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding-inline:27px;text-decoration:none;border-radius:12px;background:#191d20;color:#fff;border:1px solid #191d20}
body.production-page .catalog-invite .btn:hover{background:#303638}
/* About: form a deliberate text / image split without narrow centered panoramic image. */
body .about-intro-redesign{display:grid;grid-template-columns:minmax(0, .82fr) minmax(0, 1.18fr);align-items:stretch;gap:clamp(28px,3.3vw,68px);max-width:calc(100% - clamp(32px,6vw,112px));margin:0 auto;padding:clamp(40px,5vw,76px) 0 clamp(56px,5vw,88px)}
body .about-intro-redesign .about-heading{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:clamp(18px,2vw,32px)}
body .about-intro-redesign .about-heading>div{width:100%}
body .about-intro-redesign .about-heading h1{font-size:clamp(43px,3.8vw,74px);line-height:1.1;letter-spacing:-.045em;margin:0 0 22px;text-wrap:balance}
body .about-intro-redesign .about-heading p{font-size:clamp(16px,1.15vw,20px);line-height:1.6;margin:0}
body .about-intro-redesign .about-panorama{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;min-width:0;overflow:hidden;border-radius:18px;align-self:stretch}
body .about-intro-redesign .about-panorama img{width:100%;height:100%;min-height:420px;max-height:690px;object-fit:cover;display:block}
@media(max-width:960px){body .about-intro-redesign{grid-template-columns:1fr;gap:30px}body .about-intro-redesign .about-panorama img{height:auto;min-height:0;max-height:none;aspect-ratio:16/10;object-fit:cover}body .hero .hero-layout{min-height:0}}
@media(max-width:640px){body .about-intro-redesign{max-width:calc(100% - 32px);padding:35px 0 56px}body .about-intro-redesign .about-heading h1{font-size:clamp(36px,10vw,52px)}body .hero .hero-copy h1{font-size:clamp(36px,10vw,50px)}body.production-page .catalog-invite{padding:26px}}

/* V3.1: Hero contrast. Keep the boat visible, while protecting white copy. */
.hero:has(> .hero-image) .hero-shade{
  background:linear-gradient(90deg,
    rgba(9,12,14,.88) 0%,
    rgba(9,12,14,.77) 29%,
    rgba(9,12,14,.60) 55%,
    rgba(9,12,14,.49) 100%);
}

/* V3.1: catalog intro should not push category choices below the fold. */
.shop-page .shop-hero{padding-block:2.5rem 3rem}
.shop-page .shop-breadcrumbs{margin-bottom:2.2rem}
.shop-page .shop-hero>div{gap:clamp(20px,3vw,54px);align-items:center}
.shop-page .shop-hero h1{font-size:clamp(36px,3.7vw,60px);line-height:1.08;max-width:760px}
.shop-page .shop-hero p{margin-bottom:1.6rem}
.shop-page .catalog-categories{max-width:none;width:100%;gap:2.4rem;padding-bottom:4rem}
.shop-page .catalog-categories .category-cover>img{
  width:100%;height:auto;aspect-ratio:16/8;max-height:310px;object-fit:cover;
}
.shop-page .catalog-categories .category-cover-copy{padding:clamp(20px,2vw,32px)}
@media(max-width:960px),(max-aspect-ratio:1/1){
  .shop-page .shop-hero h1{font-size:clamp(34px,5.4vw,54px)}
  .shop-page .catalog-categories .category-cover>img{aspect-ratio:16/9;max-height:none}
}
@media(max-width:640px){
  .shop-page .shop-hero{padding-block:2rem 2.2rem}
  .shop-page .catalog-categories{gap:2rem}
  .shop-page .catalog-categories .category-cover>img{aspect-ratio:16/9}
}
/* Preserve the intended sentence break on narrow screens (avoid "Стеклопластик.От"). */
@media(max-width:640px){
  body .hero .hero-copy h1 br{display:block}
}

/* V3.3: tighter Hero rhythm; retain existing typography and AutoScale. */
@media (min-width: 961px) and (min-aspect-ratio: 1/1) {
  body .hero,
  body .hero .hero-layout { min-height: 0; }
  body .hero .hero-layout {
    justify-content: flex-start;
    gap: 0;
    padding-top: clamp(62px, 5vw, 90px);
    padding-bottom: clamp(30px, 3vw, 48px);
  }
  body .hero .hero-benefits {
    margin-top: clamp(38px, 3.5vw, 58px);
    padding-top: clamp(22px, 2vw, 32px);
    padding-bottom: 0;
  }
}
/* Protect captions across variable photographic backgrounds. */
body .hero .hero-benefit h2 { color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
body .hero .hero-benefit p { color: #e4ded8; text-shadow: 0 1px 3px rgba(0,0,0,.4); }
