/* Контакты, «Под заказ», текстовые страницы */


.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-l); background: var(--bg-secondary); border: 1px solid var(--card-border); }
.contact-card h2 { font-size: 22px; }
.contact-list { display: flex; flex-direction: column; gap: 20px; width: 100%; margin: 0; }
.contact-item dt { margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.contact-item dd { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.45; }
.contact-item a:hover { color: var(--accent-orange); }
.contact-phone { font-size: clamp(22px, 2.4vw, 28px); }
.contact-links { display: flex; flex-wrap: wrap; gap: 10px 20px; }

.map-card { position: relative; height: 100%; min-height: 380px; border-radius: var(--radius-l); overflow: hidden; background: var(--bg-tertiary); border: 1px solid var(--card-border); }
.map-card iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
.map-link { position: absolute; left: 16px; bottom: 16px; padding: 10px 18px; border-radius: 999px; background: var(--bg-primary); color: var(--text-primary); font-size: 13px; font-weight: 600; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2); }
.map-link:hover { color: var(--accent-orange); }

/* Под заказ */
.custom-hero { padding: clamp(32px, 5vw, 64px); margin-bottom: clamp(20px, 3vw, 40px); border-radius: var(--radius-l); background: var(--header-bg); color: var(--header-text); background-image: radial-gradient(90% 120% at 100% 0%, rgba(251, 192, 45, 0.28), transparent 60%); }
.custom-hero h1 { max-width: 18ch; font-size: clamp(28px, 4.4vw, 52px); line-height: 1.08; }
.custom-hero .eyebrow { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.custom-hero .lead { max-width: 50ch; margin-top: 18px; opacity: 0.8; }
.custom-phone { display: inline-block; margin-top: 28px; padding: 12px 28px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: clamp(22px, 3vw, 32px); font-weight: 700; transition: transform var(--speed) var(--ease), background-color var(--speed); }
.custom-phone:hover { background: var(--accent-hover); transform: translateY(-2px); }
.custom-hours { margin-top: 18px; font-size: 14px; opacity: 0.75; }

.contacts-extra { max-width: none; margin-top: clamp(24px, 3vw, 40px); }

/* Юридическая информация на странице «Контакты» */
.legal { margin-top: clamp(28px, 4vw, 48px); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-l); border: 1px solid var(--card-border); background: var(--bg-secondary); }
.legal h2 { margin-bottom: 16px; font-size: 22px; }
.legal .prose { max-width: none; font-size: 14px; }
.page > .hint { margin-top: 28px; }

/* Текстовые страницы */
.prose { max-width: 760px; font-size: 16px; line-height: 1.7; color: var(--text-secondary); }
.prose p + p { margin-top: 1em; }
.prose .muted, .muted { color: var(--text-muted); }

@media (max-width: 900px) {
    .contacts-grid { grid-template-columns: 1fr; }
    .map-card, .map-card iframe { min-height: 300px; }
}
