/* =====================================================================
   ARTEZO — Contact page
   (banner, form fields and thank-you popup come from brands.css: .bhero, .field, .tmodal)
   ===================================================================== */

/* ---------- CONTACT US (photo + form) ---------- */
.cus { position: relative; min-height: 96.3rem; padding: 28.7rem 0 0; background: #fff; scroll-margin-top: 0; }
.cus__title { position: absolute; left: 4rem; top: 11.1rem; font-size: 12.8rem; line-height: 1.06; letter-spacing: -0.04em; color: var(--c-ink); }
.cus__title .line { height: 12rem; }
.cus__title .line__in { margin-top: -0.78rem; transition: transform var(--dur-intro) var(--ease-intro), opacity var(--dur-intro) var(--ease-intro); }
.cus__row { display: flex; align-items: flex-start; gap: 13.6rem; padding-left: 4rem; }
.cus__photo { position: relative; flex: none; width: 55.4rem; height: 56.9rem; overflow: hidden; }
.cus__img { position: absolute; left: 0; top: 0; width: 55.5rem; height: 57.3rem; background-size: cover; background-position: center; transition: transform var(--dur-intro) var(--ease-intro); }
.cus__col { display: flex; flex-direction: column; align-items: flex-start; gap: 4rem; width: 55.5rem; }
.cus__photo, .cus__col { transition: transform var(--dur-intro) var(--ease-intro), opacity var(--dur-intro) var(--ease-intro); }
.cus__text { width: 44.1rem; font-size: 2.4rem; line-height: 1.4; color: var(--c-muted); }

.cform { display: flex; flex-direction: column; align-items: flex-start; gap: 4rem; width: 100%; }
.cform__fields { display: flex; flex-direction: column; gap: 3.2rem; width: 100%; }
.cform .field { gap: 1.2rem; padding-bottom: 0.4rem; border-bottom: 0; box-shadow: inset 0 -1px 0 var(--c-line); transition: box-shadow var(--dur-slow) var(--ease-slow); }
.cform .field:focus-within { box-shadow: inset 0 -1px 0 var(--c-primary); }
.cform .field.has-error { box-shadow: inset 0 -1px 0 #c0392b; }
.cform .field__label, .cform .field__input { font-size: 1.6rem; line-height: 1.2; letter-spacing: -0.02em; }
.cform .field__input { height: 1.9rem; }
.cform .field--area .field__label, .cform .field--area .field__input { line-height: 1.4; letter-spacing: 0; }
.cform .field--area .field__input { height: 7.8rem; }
.cform__submit.is-busy { opacity: 0.4; pointer-events: none; }

/* intro (Figma "Start" -> "Default", 1.5s) */
.js .cus:not(.is-in) .cus__title .line__in { transform: translateY(12.5rem); }
.js .cus:not(.is-in) .cus__photo, .js .cus:not(.is-in) .cus__col { transform: translateY(3rem); opacity: 0; }

/* ---------- FIND OUR STORE ---------- */
.store { position: relative; height: 86.4rem; background: #fff; }
.store__title { position: absolute; left: 4rem; top: 6.7rem; font-size: 12.8rem; line-height: 1.06; letter-spacing: -0.04em; color: var(--c-ink); }
.store__title .line { height: 13.6rem; }
.store__title .line__in { transition: transform var(--dur-intro) var(--ease-intro); }
.store__info {
    position: absolute; left: 3.9rem; top: 28.8rem; width: 136.1rem;
    display: flex; justify-content: space-between; align-items: flex-start;
    transition: transform var(--dur-intro) var(--ease-intro), opacity var(--dur-intro) var(--ease-intro);
}
.store__group { display: flex; align-items: flex-start; gap: 6rem; }
.store__group--email { width: 31.4rem; }
.store__group--phone { width: 28.6rem; }
.store__label { font-size: 2.4rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--c-light); white-space: nowrap; }
.store__list { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; margin: 0; padding: 0; list-style: none; }
.store__link { font-size: 2rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--c-ink); transition: color var(--dur-slow) var(--ease-slow); }
.store__link:hover, .store__link:focus-visible { color: var(--c-primary); }
.store__address { display: block; width: 19.5rem; white-space: normal; }
.store__list li .store__link { white-space: nowrap; }
.store__group--email .store__link, .store__group--phone .store__link { line-height: 1.2; letter-spacing: -0.02em; }
.store__phone { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }

.store__map { position: absolute; left: 0; top: 46.8rem; display: block; width: 100%; height: 39.6rem; overflow: hidden; background: #e5e5e5; }
/* live Google Maps embed, shown in grey (the keyless embed has no colour styling of its own) */
.store__mapframe {
    position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
    filter: grayscale(1);
    transition: transform var(--dur-intro) var(--ease-intro), opacity var(--dur-intro) var(--ease-intro);
}
.js .store:not(.is-in) .store__title .line__in { transform: translateY(12.9rem); }
.js .store:not(.is-in) .store__info { transform: translateY(4rem); opacity: 0; }
.js .store:not(.is-in) .store__mapframe { transform: scale(1.05); opacity: 0; }


/* =====================================================================
   TABLET (700–1199)
   ===================================================================== */
@media (max-width: 1199.98px) {
    .cus { min-height: 0; padding: 17.2rem 4rem 4rem; }
    .cus__title { left: 4rem; top: 4rem; font-size: 8rem; line-height: 1; letter-spacing: -0.02em; }
    .cus__title .line { height: 8rem; }
    .cus__title .line__in { margin-top: 0; }
    .cus__row { gap: 5.2rem; padding-left: 0; }
    .cus__photo { width: 46.2rem; height: 47.4rem; }
    .cus__col { justify-content: space-between; gap: 1.6rem; width: 42.9rem; min-height: 47.5rem; }
    .cus__text { width: 40.2rem; font-size: 2rem; line-height: 1.35; }
    .cform { flex: 1; justify-content: space-between; gap: 4rem; }
    .cform__fields { gap: 1.6rem; margin-top: 4.55rem; }
    .cform .field { gap: 0.8rem; padding-bottom: 0; }
    .cform .field__label, .cform .field__input,
    .cform .field--area .field__label, .cform .field--area .field__input { font-size: 1.4rem; line-height: 1.45; letter-spacing: 0; }
    .cform .field__input, .cform .field--area .field__input { height: 2rem; }

    .js .cus:not(.is-in) .cus__title .line__in { transform: translateY(7.1rem); }
    .js .cus:not(.is-in) .cus__photo { transform: none; opacity: 0; }
    .js .cus:not(.is-in) .cus__img { transform: scale(1.33874); }   /* 743x767 -> 555x573 */
    .js .cus:not(.is-in) .cus__col { transform: translateY(5rem); opacity: 0; }

    .store { height: 81.6rem; }
    .store__title { left: 4rem; top: 4rem; font-size: 8rem; line-height: 1; letter-spacing: -0.02em; }
    .store__title .line { height: 8rem; }
    .store__info { left: 4rem; top: 18rem; width: 94.4rem; justify-content: flex-start; gap: 3.4rem; }
    .store__group { gap: 2.8rem; }
    .store__group--email, .store__group--phone { width: auto; }
    .store__label { font-size: 2rem; line-height: 1.35; letter-spacing: 0; }
    .store__list { gap: 0.8rem; }
    .store__link, .store__group--email .store__link, .store__group--phone .store__link { font-size: 1.6rem; line-height: 1.45; letter-spacing: 0; }
    .store__address { width: 12.3rem; }
    .store__phone { text-decoration: none; }
    .store__map { top: 36.6rem; height: 43rem; }
    .js .store:not(.is-in) .store__title .line__in { transform: translateY(7rem); }
}


/* =====================================================================
   MOBILE (<700)
   ===================================================================== */
@media (max-width: 699.98px) {
    .cus { display: flex; flex-direction: column; gap: 4rem; padding: 6.4rem 2rem 14.8rem; }
    .cus__title { position: static; font-size: 6.4rem; transition: opacity var(--dur-intro) var(--ease-intro); }
    .cus__title .line { height: 6.4rem; }
    .cus__row { flex-direction: column; gap: 4rem; }
    .cus__photo { width: 37.4rem; height: 38.4rem; }
    .cus__img { width: 37.4rem; height: 38.61rem; }
    .cus__col { justify-content: flex-start; gap: 3.2rem; width: 37.4rem; min-height: 0; }
    .cus__text { width: 32.7rem; font-size: 2.4rem; line-height: 1.3; }
    .cform { gap: 3.2rem; }
    .cform__fields { gap: 3.2rem; margin-top: 0; }
    .cform .field { gap: 1.2rem; padding-bottom: 0.4rem; }
    .cform .field__label, .cform .field__input { font-size: 1.6rem; line-height: 1.2; letter-spacing: -0.02em; }
    .cform .field__input { height: 1.9rem; }
    .cform .field--area .field__label, .cform .field--area .field__input { font-size: 1.6rem; line-height: 1.4; letter-spacing: 0; }
    .cform .field--area .field__input { height: 7.8rem; }

    .js .cus:not(.is-in) .cus__title { opacity: 0; }
    .js .cus:not(.is-in) .cus__title .line__in { transform: translateY(4.8rem); opacity: 0; }
    .js .cus:not(.is-in) .cus__img { transform: none; }
    .js .cus:not(.is-in) .cus__col { transform: none; }

    .store { height: auto; padding: 6.4rem 2rem; }
    .store__title { position: static; height: 13.4rem; font-size: 6.4rem; line-height: 1; }
    .store__title .line { height: 6.6rem; }
    .store__title .line:first-child { margin-top: -0.4rem; }
    .store__title .line + .line { margin-top: 1rem; }
    .store__info { position: static; flex-direction: column; gap: 2.8rem; width: 100%; margin-top: 5.2rem; }
    .store__group { gap: 0; width: 100%; }
    .store__label { flex: none; width: 13rem; font-size: 1.8rem; line-height: 1.38; }
    .store__group--socials { min-height: 12.8rem; }
    .store__group--address { min-height: 8.3rem; }
    .store__group--email, .store__group--phone { min-height: 6rem; }
    .store__group--socials .store__list { gap: 0; }
    .store__link, .store__group--email .store__link, .store__group--phone .store__link { font-size: 1.8rem; line-height: 1.38; }
    .store__address { width: 19.5rem; }
    .store__map { position: relative; top: auto; left: auto; width: auto; height: 28rem; margin: 4rem -2rem 0; }
    .js .store:not(.is-in) .store__title .line__in { transform: translateY(6.5rem); }
    .js .store:not(.is-in) .store__info { transform: none; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .cus__photo, .cus__col, .cus__img, .store__info, .store__mapframe { transition: none !important; }
}
