/* Contact page. */

/* The page sits in a 15px frame, like the other inner pages of the original theme. */
.page-contact main { max-width: 1440px; margin-inline: auto; padding-inline: 15px; }

/* Title band. */
.contact-hero { margin-top: 20px; min-height: 400px; padding: 0; }
.contact-hero::before { content: none; }
.contact-hero .container { max-width: 1160px; padding-inline: 10px; }
.contact-hero .page-hero__title { font-size: 80px; line-height: 70px; }
.contact-hero .page-hero__lead { max-width: none; margin-top: 20px; font-family: var(--f-display); font-size: 24px; line-height: 30px; font-weight: 500; }

/* Offices: photo + details, two offices side by side. */
.offices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding-block: 50px; }
.office { display: contents; }
.office__image { width: 100%; height: 300px; object-fit: cover; }
.office__body { display: flex; flex-direction: column; gap: 20px; padding: 10px; }
.office__name { font-family: var(--f-body); font-size: var(--fs-ui); line-height: 1; font-weight: 600; color: var(--c-gold-soft); }
.office__address { font-family: var(--f-body); font-size: 28px; line-height: 1; font-weight: 500; font-style: normal; color: var(--c-ink); }
.office__phone { font-size: var(--fs-ui); line-height: 1.5; color: var(--c-muted); }
.office__phone a { display: flex; align-items: center; gap: 6px; }
.office__phone .icon { width: 24px; height: 24px; color: var(--c-ink); }

/* Contact form. */
.contact-form { background: var(--c-sand); padding-block: 85px; }
.contact-form .container { max-width: 1140px; padding: 10px; }
.contact-form .title { font-size: 56px; line-height: 1; margin-bottom: 20px; }
.contact-form__intro { margin-bottom: 20px; font-size: var(--fs-body); line-height: 27px; text-align: center; color: var(--c-muted); }

.page-contact .form { gap: 26px 10px; font-family: Roboto, var(--f-accent); }
.page-contact .form__input { min-height: 40px; padding: 5px 14px; border: 1px solid #69727d; border-radius: 3px; font-size: 15px; line-height: 21px; color: #7a7a7a; }
.page-contact .form__input::placeholder { color: #7a7a7a; }
.page-contact textarea.form__input { min-height: 96px; height: 96px; }
.page-contact .form__actions { justify-content: center; margin-top: -16px; }
.page-contact .form__captcha { justify-self: center; width: 100%; }
.page-contact .form__actions .btn { min-height: 40px; padding: 0 24px; border: 0; background: var(--c-gold-soft); font-family: Roboto, sans-serif; font-size: 15px; line-height: 1; font-weight: 500; text-transform: none; }
.page-contact .form__actions .btn:hover { background: var(--c-ink); }
.page-contact .form__status { text-align: center; }

@media (max-width: 767px) {
	.contact-hero .container { padding-inline: 10px; }
	.contact-hero .page-hero__title { font-size: 48px; line-height: 72px; }
	.contact-hero .page-hero__lead { font-size: var(--fs-ui); line-height: 1.5; }

	.offices { grid-template-columns: 1fr; }
	.office__image { height: 175px; }
	.office__body { gap: 10px; }
	.office__address { font-size: var(--fs-ui); }

	.contact-form .title { font-size: 32px; }
	.contact-form .container { padding-bottom: 28px; }
}
