/* Shared alignment and responsive repairs, 2026-10-07. */
.header{gap:24px;background:transparent}
.brand>img{filter:none}
.hero.wrap:not(.landing-hero){width:min(1320px,calc(100% - 80px));max-width:1320px;margin-inline:auto;padding:48px 0;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:48px;align-items:center}
.hero-copy{padding:0;min-width:0}
.hero:not(.landing-hero) h1{font-size:clamp(38px,4vw,54px);line-height:1.12;max-width:520px;margin:20px 0}
.hero-sub{max-width:520px;margin-top:22px}
.hero-actions{gap:24px;flex-wrap:wrap}
.hero-photo{height:440px;border:1px solid #343a40;border-radius:18px}
.hero-photo:after{background:linear-gradient(0deg,#111315e8,transparent 48%)}
.hero-photo:before{display:none}
.hero-photo figcaption{left:26px;right:26px;bottom:24px}
.program-section{padding-top:24px}
.program-card>p{opacity:1}
.footer{flex-wrap:wrap;background:transparent}
.footer .section-links{flex-basis:100%}
@media(max-width:1150px){
  .hero.wrap:not(.landing-hero){width:calc(100% - 56px);gap:32px}
}
@media(max-width:1020px){
  .header .nav{display:none}
  .menu-toggle{display:block;flex:none}
  .header-phone{margin-left:auto}
}
@media(max-width:820px){
  .hero.wrap:not(.landing-hero){grid-template-columns:1fr;gap:28px;padding:36px 0}
  .hero:not(.landing-hero) h1{font-size:42px;max-width:600px}
  .hero-sub{max-width:600px}
  .hero-photo{height:340px}
  .program-grid{grid-template-columns:1fr}
  .program-card,.program-card+.program-card{min-height:0}
  .program-card h3 br{display:none}
  .prices-section{grid-template-columns:1fr;gap:30px}
}
@media(max-width:640px){
  .hero.wrap:not(.landing-hero){width:calc(100% - 36px);padding:28px 0;gap:26px}
  .hero:not(.landing-hero) h1{font-size:35px;line-height:1.15;margin:16px 0 20px}
  .hero-actions{gap:18px}
  .hero-photo{height:270px;border-radius:14px}
  .hero-photo figcaption{left:20px;right:20px;bottom:20px}
  .program-section{padding-top:18px}
  .card-bottom{gap:18px}
  .price-row{gap:16px}
  .footer .brand{flex:none}
}
@media(max-width:360px){
  .hero:not(.landing-hero) h1{font-size:31px}
  .hero-actions .button{padding:14px 20px}
  .hero-actions .text-link{font-size:12px}
  .price-row{align-items:flex-start;flex-wrap:wrap}
  .price-row:last-of-type>div{max-width:100%}
  .price-row strong small{text-align:left}
  .contact-address{align-items:flex-start;flex-wrap:wrap}
}
