/* Shared page rhythm: 8/12 within groups, 24 between groups, 32/40 between sections. */
:root{--page-group-gap:24px;--page-section-gap:32px}
.inner-page .breadcrumbs{margin:0 0 24px;gap:8px;line-height:1.5}
.page-heading{align-items:baseline;gap:16px;margin:0}
.page-heading h1,.info-page>h1,.contacts-page>h1{font-size:40px;line-height:1.2;margin:0;font-weight:700}
.info-page>.info-lead,.contacts-page>.contacts-lead{font-size:18px;line-height:1.6;margin:16px 0 32px;max-width:none}
.catalog-page .category-tabs{margin:24px 0 0;gap:24px}
.catalog-page .subcategory-options{margin:16px 0 0}
.catalog-page .catalog-toolbar{margin:0;padding:24px 0;gap:16px}
.catalog-page .category-scroll-hint{margin:8px 0 0}
.about-content{gap:40px;margin:0;padding:0}
.about-content h2,.contacts-grid h2{font-size:24px;line-height:1.3;margin:0 0 16px}
.about-content p{margin:0 0 16px;line-height:1.6}
.about-content p+h2{margin-top:32px}
.about-content .button{margin-top:8px}
.about-card,.contacts-location{padding:24px}
.about-card p:last-child{margin:16px 0 0}
.about-card .text-button{padding:0;min-height:44px}
.info-page{padding-bottom:32px}
.contacts-grid{gap:40px;padding-top:32px}
.contacts-hours{margin:24px 0}
.contacts-location p{margin:16px 0}
.contacts-map{margin-top:32px}
.home-page .section-heading{margin-bottom:24px}
.footer-grid{gap:32px;padding-bottom:32px}
.footer-grid h2{margin-bottom:16px}
.footer-catalog{gap:8px}
.footer-catalog h2{margin-bottom:8px}
.footer-brand p{margin:16px 0}
.footer-messengers{margin:16px 0}
@media(max-width:800px){
 .page-heading h1,.info-page>h1,.contacts-page>h1{font-size:32px}
 .about-content,.contacts-grid{gap:24px}
 .footer-grid{gap:24px}
}
@media(max-width:580px){
 .inner-page .breadcrumbs{margin-bottom:20px}
 .page-heading h1,.info-page>h1,.contacts-page>h1{font-size:28px}
 .info-page>.info-lead,.contacts-page>.contacts-lead{font-size:16px;margin:12px 0 24px}
 .about-content h2,.contacts-grid h2{font-size:20px;margin-bottom:12px}
 .about-content p+h2{margin-top:24px}
 .about-card,.contacts-location{padding:20px}
 .info-page,.contacts-page{padding-bottom:24px}
 .contacts-grid{padding-top:24px}
 .catalog-page .category-tabs{margin-top:20px;gap:20px}
 .catalog-page .catalog-toolbar{padding:20px 0;gap:12px}
 .home-page .section-heading{margin-bottom:20px}
 .footer-catalog{padding-top:20px;gap:0}
 .footer-catalog>a{min-height:44px;padding:10px 0;line-height:24px}
 .footer-grid h2{margin-bottom:12px}
 .footer-catalog h2{margin-bottom:4px}
 .footer-brand p{margin:12px 0}
 .footer-grid{padding-bottom:20px}
}

/* Matching information-page layout and typography. */
.about-content,.contacts-grid{grid-template-columns:1.1fr 1fr;gap:40px;align-items:start;border-top:1px solid var(--line);padding-top:32px}
.about-content p,.contacts-grid p{font-size:16px;line-height:1.6}
.about-card,.contacts-location{background:var(--soft);border-radius:18px;padding:24px}
.about-card h2,.contacts-location h2{font-size:24px;line-height:1.3;margin:0 0 16px}
.about-card p:first-of-type,.contacts-location address{font-size:18px;line-height:1.5;color:var(--ink);font-style:normal;margin:0 0 16px}
.about-card p,.contacts-location p{margin:0 0 16px}
.about-card .inline-link,.contacts-location .inline-link{font-size:15px;font-weight:600;line-height:1.5}
.about-card p:last-child{margin:8px 0 0}
.contacts-location .inline-link{min-height:44px}
.contacts-grid h3{font-size:16px;line-height:1.4;margin:0 0 8px}
@media(max-width:800px){.about-content,.contacts-grid{grid-template-columns:1fr;gap:24px}}
@media(max-width:580px){
 .about-content,.contacts-grid{padding-top:24px}
 .about-card,.contacts-location{padding:20px}
 .about-content h2,.contacts-grid h2{font-size:20px;line-height:1.3;margin-bottom:12px}
 .about-content p,.contacts-grid p{font-size:15px;line-height:1.6}
 .about-card p:first-of-type,.contacts-location address{font-size:18px;line-height:1.5}
}
