/* Meva Contact v2 — /contact-us/
   Visual language aligned with listings-v2 + locations-v2. */

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.mv-contact {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.mv-contact .mc-page img {
  max-width: 100%;
  height: auto;
  display: block;
}
body.mv-contact .mc-page a { color: inherit; text-decoration: none; }
body.mv-contact .mc-page ul,
body.mv-contact .mc-page ol { margin: 0; padding: 15px 0; list-style: none; }
body.mv-contact .mc-page p { margin: 0; }
body.mv-contact .mc-page button:not(.mv-btn) {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
body.mv-contact .mc-page input,
body.mv-contact .mc-page select,
body.mv-contact .mc-page textarea { font: inherit; }
body.mv-contact .mc-page input,
body.mv-contact .mc-page textarea { color: inherit; }
body.mv-contact :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

body.mv-contact .mc-page h1,
body.mv-contact .mc-page h2,
body.mv-contact .mc-page h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.012em;
  color: var(--charcoal);
  font-optical-sizing: auto;
}

body.mv-contact .mv-logo img {
  width: auto;
  height: 42px;
  max-height: 42px;
  object-fit: contain;
}
body.mv-contact .mv-logo--foot img {
  height: 80px;
  max-height: 80px;
}

/* Transparent white header over photo hero. */
body.mv-contact .mv-header:not(.is-stuck):not(.mv-header--solid) .mv-logo img {
  filter: brightness(0) invert(1);
}
body.mv-contact .mv-header:not(.is-stuck):not(.mv-header--solid) .mv-logo__word,
body.mv-contact .mv-header:not(.is-stuck):not(.mv-header--solid) .mv-logo__sub { color: #fff; }
body.mv-contact .mv-header:not(.is-stuck):not(.mv-header--solid):not(.is-open) .mv-nav a { color: #fff !important; }
body.mv-contact .mv-header:not(.is-stuck):not(.mv-header--solid) .mv-header__search {
  color: #fff !important;
  border-color: rgba(255, 255, 255, .4);
}
body.mv-contact .mv-header:not(.is-stuck):not(.mv-header--solid) .mv-lang__btn {
  color: rgba(255, 255, 255, .7) !important;
}
body.mv-contact .mv-header:not(.is-stuck):not(.mv-header--solid) .mv-lang__btn.is-active {
  color: #fff !important;
}
body.mv-contact .mv-header:not(.is-stuck):not(.mv-header--solid) .mv-burger span { background: #fff; }
body.mv-contact .mv-header:not(.is-stuck):not(.mv-header--solid) .mv-header__cta.mv-btn--gold {
  background: transparent !important;
  border-color: rgba(255, 255, 255, .5) !important;
  color: #fff !important;
}
body.mv-contact .mv-header:not(.is-stuck):not(.mv-header--solid) .mv-header__cta.mv-btn--gold:hover {
  background: rgba(255, 255, 255, .12) !important;
  border-color: #fff !important;
  color: #fff !important;
}

/* ------------------------------------------------------------------- hero */

.mc-hero {
  position: relative;
  min-height: min(70vh, 620px);
  padding: 150px 0 130px;
  overflow: hidden;
  background: #1f1d18;
}
.mc-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.mc-hero__bg img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: 55% 40%;
}
.mc-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20, 18, 14, .78) 0%, rgba(20, 18, 14, .48) 40%, rgba(20, 18, 14, .18) 68%, rgba(20, 18, 14, .35) 100%),
    linear-gradient(180deg, rgba(20, 18, 14, .4) 0%, transparent 34%, rgba(20, 18, 14, .45) 100%);
}
.mc-hero__inner {
  position: relative;
  z-index: 1;
}
.mc-hero__copy {
  max-width: 560px;
  color: #fff;
}
body.mv-contact .mc-hero .mv-eyebrow,
body.mv-contact .mc-hero__eyebrow {
  color: rgba(255, 255, 255, .72);
  margin: 0 0 18px !important;
}
body.mv-contact .mc-page .mc-hero__title {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.12;
  color: #fff !important;
  margin: 0 0 22px !important;
}
body.mv-contact .mc-page .mc-hero__text {
  max-width: 440px;
  font-size: 15.5px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .86) !important;
  margin: 0 !important;
}

/* ------------------------------------------------------------------- main */

.mc-main {
  padding: 88px 0 110px;
  background: var(--cream, #f8f6f0);
}
.mc-main__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 64px;
  align-items: start;
}

.mc-aside__title {
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.18;
  margin: 12px 0 18px;
  max-width: 16ch;
}
.mc-aside__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 38ch;
  margin: 0 0 36px !important;
}

.mc-details {
  display: grid;
  gap: 22px;
  padding: 28px 0;
  border-top: 1px solid var(--hair-soft, rgba(43, 41, 37, .08));
  border-bottom: 1px solid var(--hair-soft, rgba(43, 41, 37, .08));
  margin-bottom: 28px;
}
.mc-details li {
  display: grid;
  gap: 4px;
}
.mc-details__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.mc-details a,
.mc-details span:not(.mc-details__label) {
  font-size: 15.5px;
  color: var(--charcoal);
}
.mc-details a:hover { color: var(--forest); }

.mc-aside__links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 15px 0;
}
.mc-aside__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--hair-soft, rgba(43, 41, 37, .1));
  border-radius: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--charcoal);
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.mc-aside__link .mv-arrow {
  flex: none;
  color: var(--forest);
  transition: transform .3s var(--ease), color .25s var(--ease);
}
.mc-aside__link:hover {
  border-color: var(--gold);
  background: #fff;
  color: var(--forest);
  box-shadow: 0 10px 28px rgba(31, 29, 24, .07);
}
.mc-aside__link:hover .mv-arrow {
  color: var(--gold-dark, #a8893f);
  transform: translateX(4px);
}

/* ------------------------------------------------------------------- form */

.mc-form-wrap {
  background: #fff;
  border: 1px solid var(--hair-soft, rgba(43, 41, 37, .08));
  border-radius: 6px;
  padding: 40px 40px 36px;
}

.mc-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}
.mc-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.mc-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}
.mc-field > label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--muted);
}
.mc-field > label span { color: var(--gold-dark, #a8893f); }
.mc-field--wide,
.mc-field--submit { grid-column: 1 / -1; }

.mc-field input,
.mc-field textarea,
.mc-select select {
  width: 100%;
  padding: 12px 13px;
  background: #fff;
  border: 1px solid var(--hair, rgba(43, 41, 37, .14));
  border-radius: var(--radius, 6px);
  color: var(--charcoal);
}
.mc-field input { height: 46px; padding-block: 0; }
.mc-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}
.mc-field input::placeholder,
.mc-field textarea::placeholder { color: #a79d8e; }
/* Default / “Any …” selects match input placeholder colour */
body.mv-contact .mc-select select {
  color: #a79d8e !important;
}
body.mv-contact .mc-select select.has-value {
  color: var(--charcoal) !important;
}
body.mv-contact .mc-select select option {
  color: var(--charcoal);
}
body.mv-contact .mc-select select option[value=""] {
  color: #a79d8e;
}
.mc-field input:focus,
.mc-field textarea:focus,
.mc-select select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(194, 161, 90, .14);
  outline: none;
}

.mc-select {
  position: relative;
}
.mc-select select {
  appearance: none;
  height: 46px;
  padding-right: 40px;
  cursor: pointer;
}
.mc-select .mv-i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.mc-field--submit {
  display: grid;
  gap: 14px;
  justify-items: start;
  margin-top: 6px;
}
body.mv-contact .mc-form a.mv-btn--forest,
body.mv-contact .mc-form button.mv-btn--forest,
body.mv-contact .mc-thanks a.mv-btn--forest {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  background: var(--forest, #3f4a38) !important;
  border: 1px solid var(--forest, #3f4a38) !important;
  color: #fff !important;
}
body.mv-contact .mc-form a.mv-btn--forest:hover,
body.mv-contact .mc-form button.mv-btn--forest:hover,
body.mv-contact .mc-thanks a.mv-btn--forest:hover {
  background: var(--forest-dark, #2f382a) !important;
  border-color: var(--forest-dark, #2f382a) !important;
  color: #fff !important;
}
.mc-form__note {
  font-size: 12.5px;
  color: var(--muted);
  margin: 0 !important;
}

.mc-note {
  margin: 0 0 18px !important;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 14px;
}
.mc-note--err {
  background: rgba(160, 60, 50, .08);
  color: #8a3a32;
}

.mc-thanks {
  display: grid;
  gap: 14px;
  justify-items: start;
  padding: 12px 0;
}
.mc-thanks__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 !important;
}
.mc-thanks__title {
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.18;
}
.mc-thanks__text {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 40ch;
  margin: 0 0 10px !important;
}

/* ---------------------------------------------------------- visit / map */

.mc-visit {
  background: #fff;
}
.mc-visit__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: min(560px, 70vh);
}
.mc-visit__map {
  position: relative;
  min-height: 420px;
  background: #f3efe6;
  isolation: isolate;
  overflow: hidden;
}
.mc-visit__canvas {
  width: 100%;
  height: 100%;
  min-height: 420px;
}
.mc-visit__map .leaflet-container {
  width: 100%;
  height: 100%;
  min-height: 420px;
  font: inherit;
  background: #f3efe6;
  z-index: 0 !important;
}
.mc-visit__map .leaflet-pane,
.mc-visit__map .leaflet-top,
.mc-visit__map .leaflet-bottom {
  z-index: 1 !important;
}
.mc-visit__map .leaflet-control-zoom {
  z-index: 2 !important;
  border: 0 !important;
  box-shadow: 0 8px 22px rgba(31, 29, 24, .12) !important;
}
.mc-visit__map .leaflet-tile-pane {
  filter: grayscale(.45) sepia(.28) saturate(.55) hue-rotate(18deg) brightness(1.03) contrast(.92);
}
.mc-visit__map .leaflet-control-zoom a {
  color: var(--charcoal) !important;
  border-color: var(--hair) !important;
  width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;
  background: #fff !important;
}
.mc-visit__map .leaflet-marker-icon.mc-map__marker {
  border: 0 !important;
  background: transparent !important;
  box-shadow: 0 8px 22px rgba(31, 29, 24, .28);
  border-radius: 50%;
}
.mc-map__pin {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--forest);
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(31, 29, 24, .35);
  position: relative;
}
.mc-map__pin::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--gold);
}
.mc-map__halo {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(63, 74, 56, .14);
  border: 1px solid rgba(194, 161, 90, .35);
}
.mc-visit__caption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 3;
  margin: 0 !important;
  padding: 8px 12px;
  background: rgba(248, 246, 240, .92);
  border: 1px solid rgba(43, 41, 37, .08);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--charcoal);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.mc-visit__photo {
  margin: 0;
  min-height: 420px;
  overflow: hidden;
  background: var(--cream-deep, #efeae2);
}
.mc-visit__photo img {
  width: 100%;
  height: 100% !important;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

/* ------------------------------------------------------------ breakpoints */

@media (max-width: 980px) {
  .mc-main__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mc-aside__title { max-width: none; }
  .mc-form-wrap { padding: 32px 28px; }
  .mc-visit__grid { grid-template-columns: 1fr; min-height: 0; }
  .mc-visit__map,
  .mc-visit__photo,
  .mc-visit__canvas,
  .mc-visit__map .leaflet-container,
  .mc-visit__photo img {
    min-height: 360px;
  }
}

@media (max-width: 760px) {
  .mc-hero {
    padding: 118px 0 96px;
    min-height: 0;
  }
  .mc-main { padding: 56px 0 72px; }
  .mc-form { grid-template-columns: 1fr; }
  .mc-field--submit .mv-btn {
    width: 100%;
    justify-content: center;
  }
  .mc-form-wrap { padding: 28px 22px; }
  .mc-visit__map,
  .mc-visit__photo,
  .mc-visit__canvas,
  .mc-visit__map .leaflet-container,
  .mc-visit__photo img {
    min-height: 300px;
  }
}
