/* Contacts page: existing brand, original cinema photography and direct contact links. */
.contacts-page { --section-paper: #eef5f7; --section-muted: #626d77; }
.contacts-page [hidden] { display: none !important; }
.contacts-page :is(input,textarea) { font: inherit; }
.contacts-page .section-light :is(a,button):focus-visible { outline-color: #94672f; }
.contacts-page .section-title { font-size: clamp(1.85rem,3.7vw,3.8rem); }
.contacts-hero { padding-top: var(--header-h); background: #080e10; }
.contacts-hero__scene { position: relative; isolation: isolate; overflow: hidden; }
.contacts-hero__photo { position: absolute; z-index: -2; inset: 0 0 0 24%; margin: 0; }
.contacts-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.contacts-hero__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg,#080e10,#080e10db 14%,#080e1055 31%,transparent 57%); }
.contacts-hero__content { width: 51%; padding-block: clamp(32px,4vw,64px) clamp(54px,7vw,112px); }
.contacts-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: clamp(36px,4vw,62px); font-size: .875rem; color: #bac3c4; }
.contacts-breadcrumbs a:hover { color: #edca8a; }
.contacts-hero .eyebrow { color: #edce90; font-size: .875rem; letter-spacing: .09em; margin-bottom: 20px; }
.contacts-hero .eyebrow::before { display: none; }
.contacts-hero h1 { color: #f6f8f6; font-size: clamp(3rem,6vw,6.2rem); line-height: 1.15; letter-spacing: -.035em; font-weight: 400; text-transform: uppercase; }
.contacts-hero__lead { max-width: 580px; margin-top: 22px; color: #e4e8e5; font-size: clamp(1rem,1.6vw,1.5rem); line-height: 1.65; }
.contacts-hero__content > .section-button { margin-top: 34px; padding-inline: 30px; }
/* Contact details are actual links; the map card opens the supplied address. */
.contacts-details { padding-block: clamp(38px,4.8vw,74px); }
.contacts-details__layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px,4vw,64px); margin-top: 32px; align-items: stretch; }
.contacts-details__list { display: flex; flex-direction: column; font-style: normal; min-width: 0; }
.contacts-detail { display: flex; align-items: center; gap: clamp(20px,2.5vw,38px); padding-block: 24px; border-bottom: 1px solid #c9d7df; min-width: 0; }
.contacts-detail:first-child { padding-top: 14px; }
.contacts-detail:last-child { border-bottom: 0; padding-bottom: 14px; }
.contacts-detail__icon { width: 58px; height: 58px; flex: 0 0 58px; display: grid; place-items: center; color: #aa762f; border: 1px solid #aa762f; border-radius: 50%; }
.contacts-detail__icon svg { width: 29px; height: 29px; }
.contacts-detail__label { display: block; margin-bottom: 4px; color: var(--section-muted); font-size: .875rem; }
.contacts-detail__value { display: block; color: #172027; font-size: clamp(1rem,1.5vw,1.375rem); line-height: 1.55; overflow-wrap: anywhere; }
.contacts-detail:hover .contacts-detail__value { color: #966428; }
/* A live Yandex widget stays visible while its activation layer prevents accidental scrolling. */
.contacts-map { min-width: 0; overflow: hidden; border: 1px solid #a9b7c0; border-radius: 6px; background: #e8eff3; color: #18232a; align-self: stretch; }
.contacts-map__viewport { position: relative; height: clamp(340px,30vw,440px); min-height: 340px; }
.contacts-map__frame { width: 100%; height: 100%; display: block; border: 0; background: #e8eff3; }
.contacts-map.is-locked .contacts-map__frame { pointer-events: none; }
.contacts-map__activate { position: absolute; inset: 0; z-index: 1; display: flex; align-items: flex-end; justify-content: center; width: 100%; padding: 28px 20px 54px; background: transparent; touch-action: pan-y; }
.contacts-map__activate span { display: inline-flex; align-items: center; justify-content: center; gap: 12px; max-width: 100%; padding: 13px 18px; border: 1px solid #c5aa76; border-radius: 5px; background: #fffdf5f5; color: #46381e; box-shadow: 0 5px 24px #0a151b24; font-size: .875rem; line-height: 1.5; }
.contacts-map__activate svg { width: 24px; height: 24px; flex-shrink: 0; }
.contacts-map__activate:hover span { background: #fff7e4; }
.contacts-map__activate:focus-visible { outline-offset: -4px; }
.contacts-map__footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding: 8px 18px; border-top: 1px solid #c6d1d8; background: #f0f6f8; }
.contacts-map__action { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; color: #835923; font-size: .875rem; }
.contacts-map__action svg { width: 18px; height: 18px; flex-shrink: 0; }
.contacts-map__lock { min-height: 44px; padding: 7px 0; font-size: .875rem; color: #384851; text-decoration: underline; text-underline-offset: 4px; }
.contacts-map__lock:hover { color: #946428; }
/* Expanded project enquiry. The existing form handler preserves demo behavior. */
.contacts-consultation { padding-block: clamp(42px,5.8vw,90px); }
.contacts-page .consultation__layout { grid-template-columns: .86fr 1.14fr; gap: clamp(30px,4.8vw,72px); }
.contacts-page .consultation .section-title { color: #ebc887; font-size: clamp(1.9rem,3.25vw,3.4rem); }
.contacts-page .consultation__layout > div > p:last-child { font-size: clamp(1rem,1.3vw,1.2rem); line-height: 1.75; color: #d4d9d7; }
.contacts-page .contact-form { padding: clamp(22px,2.5vw,34px); border-color: #b3baaf26; background: #ffffff05; }
.contacts-page .contact-form__fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.contacts-page .contact-form__fields label { font-size: .875rem; min-width: 0; }
.contacts-form__wide { grid-column: 1/-1; }
.contacts-page .contact-form input:not([type=checkbox]), .contacts-page .contact-form textarea { width: 100%; min-width: 0; min-height: 52px; padding: 14px; border: 1px solid #b0b7b24d; background: #ffffff05; border-radius: 5px; color: #f1f4f2; font-size: 1rem; line-height: 1.6; }
.contacts-page .contact-form textarea { display: block; resize: vertical; min-height: 140px; max-height: 420px; }
.contacts-page .contact-form :is(input,textarea)::placeholder { color: #aeb7b8; opacity: 1; }
.contacts-page .contact-form :is(input,textarea):focus { outline: 2px solid #d0ab70; outline-offset: 2px; }
.contacts-page .consent { align-items: flex-start; font-size: .875rem; line-height: 1.6; margin-block: 20px; }
.contacts-page .consent input { margin-top: 2px; flex-shrink: 0; }
.contacts-page .contact-form > .section-button { width: 100%; font-size: .9375rem; }
.contacts-page .form-status:empty { display: none; }
/* Shared footer structure without introducing another page dependency. */
.contacts-footer { padding-block: 46px; }
.contacts-footer__grid { display: grid; grid-template-columns: 1.15fr .8fr 1.2fr 1.4fr; gap: 30px; }
.contacts-footer nav { display: flex; flex-direction: column; gap: 12px; padding-left: 25px; border-left: 1px solid #ffffff20; font-size: .875rem; }
.contacts-footer nav h2 { margin: 0 0 8px; font-size: 1rem; font-weight: 500; color: #e7bd77; }
.contacts-footer [aria-current=page] { color: #e7bd77; }
.contacts-footer__copyright { margin-top: 35px; margin-bottom: 12px; color: #a2abad; font-size: .75rem; line-height: 1.8; }
.contacts-footer .inline-link { font-size: .75rem; color: #a2abad; }
@media (max-width: 1200px) {
 .contacts-hero__content { width: 55%; }
 .contacts-hero__lead { max-width: 450px; }
 .contacts-details__layout { grid-template-columns: .95fr 1.05fr; gap: 32px; }
 .contacts-detail { gap: 22px; }
 .contacts-detail__icon { width: 52px; height: 52px; flex-basis: 52px; }

 .contacts-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px; }
 .contacts-footer nav { order: initial; width: auto; }
}
@media (max-width: 900px) {
 .contacts-hero__scene { display: flex; flex-direction: column; }
 .contacts-hero__content { width: 100%; padding-block: 28px 32px; }
 .contacts-breadcrumbs { margin-bottom: 30px; }
 .contacts-hero h1 { font-size: clamp(2.8rem,8vw,4.5rem); }
 .contacts-hero__lead { max-width: 610px; font-size: 1.125rem; }
 .contacts-hero__photo { position: relative; inset: auto; z-index: auto; order: 2; aspect-ratio: 2; }
 .contacts-hero__photo::after { background: linear-gradient(0deg,#080e1033,transparent 30%); }
 .contacts-details__layout { grid-template-columns: 1fr; gap: 30px; }
 .contacts-detail__value { font-size: 1.125rem; }
 .contacts-map__viewport { height: 400px; }
 .contacts-page .consultation__layout { grid-template-columns: 1fr; gap: 30px; }
 .contacts-page .consultation__layout > div > p:last-child { max-width: 650px; }
}
@media (max-width: 600px) {
 .contacts-page .section-title { font-size: clamp(1.75rem,7.3vw,2.35rem); }
 .contacts-hero__content { padding-top: 24px; }
 .contacts-breadcrumbs { font-size: .8125rem; margin-bottom: 28px; }
 .contacts-hero .eyebrow { font-size: .75rem; letter-spacing: .06em; margin-bottom: 16px; }
 .contacts-hero h1 { font-size: clamp(2.25rem,10.6vw,3.65rem); }
 .contacts-hero__lead { font-size: 1rem; line-height: 1.75; margin-top: 18px; }
 .contacts-hero__content > .section-button { width: 100%; margin-top: 25px; font-size: .9375rem; }
 .contacts-hero__photo { aspect-ratio: 1.5; }
 .contacts-details__layout { margin-top: 24px; }
 .contacts-detail { gap: 20px; padding-block: 22px; }
 .contacts-detail__icon { width: 48px; height: 48px; flex-basis: 48px; }
 .contacts-detail__icon svg { width: 26px; height: 26px; }
 .contacts-detail__value { font-size: 1rem; }
 .contacts-map__viewport { height: 350px; min-height: 350px; }
 .contacts-map__activate { padding: 24px 14px 54px; }
 .contacts-map__activate span { padding: 12px; gap: 8px; }
 .contacts-map__footer { padding-inline: 14px; gap: 0 16px; }
 .contacts-page .consultation .section-title { font-size: clamp(1.75rem,7.2vw,2.35rem); }
 .contacts-page .contact-form { padding: 20px 16px; }
 .contacts-page .contact-form__fields { grid-template-columns: 1fr; gap: 16px; }
 .contacts-page .contact-form textarea { min-height: 150px; }
 .contacts-footer__grid { grid-template-columns: 1fr; gap: 28px; }
 .contacts-footer nav { padding: 22px 0 0; border-left: 0; border-top: 1px solid #ffffff20; }
 .contacts-footer__copyright { margin-top: 24px; }
}
