/* Quote brief: visual service picker, grouped fields, restrained polish */

.ehd-hero-rotate {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.ehd-hero-rotate__stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #0d0d0d;
}

.ehd-hero-rotate__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 1.1s ease;
  display: block;
}

.ehd-hero-rotate__img.is-active {
  opacity: 1;
}

.ehd-hero-rotate .sw-overlay {
  z-index: 1;
}

.ehd-hero-rotate .container.relative.z-2 {
  z-index: 2 !important;
}

.ehd-brief-section {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.ehd-brief-lead {
  max-width: 34rem;
  color: rgba(13, 13, 13, 0.78);
  margin-bottom: 1.75rem;
}

.ehd-brief-form .form-control {
  border-radius: 2px;
}

.ehd-brief-group {
  margin-bottom: 1.75rem;
  padding-bottom: 0.25rem;
}

.ehd-brief-group__label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ehd-champagne, #c4a574);
  margin-bottom: 1rem;
}

.ehd-brief-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.ehd-brief-fieldset legend {
  float: none;
  width: auto;
  margin-bottom: 0.65rem;
  padding: 0;
  font-size: inherit;
}

.ehd-svc-picker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.ehd-svc-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 1px solid rgba(13, 13, 13, 0.14);
  background: #fff;
  border-radius: 2px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  color: inherit;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ehd-svc-card:hover,
.ehd-svc-card:focus-visible {
  border-color: rgba(196, 165, 116, 0.7);
  outline: none;
}

.ehd-svc-card.is-selected {
  border-color: var(--ehd-champagne, #c4a574);
  background: rgba(196, 165, 116, 0.08);
  box-shadow: inset 0 0 0 1px var(--ehd-champagne, #c4a574);
}

.ehd-svc-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ebe6df;
}

.ehd-svc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ehd-svc-card__copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 0.8rem 0.85rem;
}

.ehd-svc-card__copy strong {
  font-family: var(--ehd-display);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #0d0d0d;
}

.ehd-svc-card__copy em {
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1.35;
  color: rgba(13, 13, 13, 0.62);
}

.ehd-brief-details-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.45rem;
  flex-wrap: wrap;
}

.ehd-brief-polish {
  display: flex;
  gap: 0.4rem;
}

.ehd-brief-polish__btn {
  appearance: none;
  border: 1px solid rgba(13, 13, 13, 0.18);
  background: transparent;
  color: #0d0d0d;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 2px;
  cursor: pointer;
  line-height: 1.2;
}

.ehd-brief-polish__btn:hover,
.ehd-brief-polish__btn:focus-visible {
  border-color: var(--ehd-champagne, #c4a574);
  outline: none;
}

.ehd-brief-polish__btn--ghost {
  opacity: 0.75;
}

.ehd-polish-status {
  margin: 0 0 0.55rem;
}

.ehd-brief-hint {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: rgba(13, 13, 13, 0.58);
}

.ehd-brief-hint.is-error {
  color: #8a2f2f;
}

.ehd-brief-submit {
  width: 100%;
  margin-top: 0.35rem;
}

.ehd-brief-foot {
  margin-top: 0.75rem;
  font-size: 0.82rem;
  color: rgba(13, 13, 13, 0.58);
}

/* Full service picker modal (Something else) */
.ehd-svc-modal[hidden] {
  display: none !important;
}

.ehd-svc-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.ehd-svc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 13, 13, 0.62);
  border: 0;
  cursor: pointer;
}

.ehd-svc-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  background: #f7f4ef;
  color: #0d0d0d;
  border-radius: 2px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  padding: 1.35rem 1.35rem 1.5rem;
}

.ehd-svc-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: transparent;
  color: #0d0d0d;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
}

.ehd-svc-modal__close:hover,
.ehd-svc-modal__close:focus-visible {
  opacity: 1;
  outline: none;
  color: var(--ehd-champagne, #c4a574);
}

.ehd-svc-modal__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ehd-champagne, #c4a574);
}

.ehd-svc-modal__dialog h3 {
  margin: 0 0 0.4rem;
  font-family: var(--ehd-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 600;
  color: #0d0d0d;
}

.ehd-svc-modal__lead {
  margin: 0 0 1.15rem;
  max-width: 36rem;
  color: rgba(13, 13, 13, 0.72);
  font-size: 0.95rem;
}

.ehd-svc-modal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.ehd-svc-modal__option {
  display: flex;
  flex-direction: column;
  text-align: left;
  border: 1px solid rgba(13, 13, 13, 0.14);
  background: #fff;
  border-radius: 2px;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  color: inherit;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.ehd-svc-modal__option:hover,
.ehd-svc-modal__option:focus-visible {
  border-color: rgba(196, 165, 116, 0.75);
  outline: none;
}

.ehd-svc-modal__option.is-active {
  border-color: var(--ehd-champagne, #c4a574);
  box-shadow: inset 0 0 0 1px var(--ehd-champagne, #c4a574);
  background: rgba(196, 165, 116, 0.08);
}

.ehd-svc-modal__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ebe6df;
}

.ehd-svc-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ehd-svc-modal__copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.7rem 0.8rem 0.85rem;
}

.ehd-svc-modal__copy strong {
  font-family: var(--ehd-serif, "Cormorant Garamond", Georgia, serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: #0d0d0d;
}

.ehd-svc-modal__copy em {
  font-style: normal;
  font-size: 0.84rem;
  line-height: 1.35;
  color: rgba(13, 13, 13, 0.68);
}

body.ehd-svc-modal-open {
  overflow: hidden;
}

@media (max-width: 575px) {
  .ehd-svc-picker {
    grid-template-columns: 1fr;
  }

  .ehd-svc-modal {
    padding: 0.65rem;
    align-items: flex-end;
  }

  .ehd-svc-modal__dialog {
    max-height: 92vh;
    padding: 1.1rem 1rem 1.25rem;
  }

  .ehd-svc-modal__grid {
    grid-template-columns: 1fr;
  }
}

/* Current address suggestions */
.ehd-address-suggest {
  position: relative;
}

.ehd-address-suggest__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 30;
  margin: 0;
  padding: 0.35rem 0;
  list-style: none;
  max-height: 240px;
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(13, 13, 13, 0.16);
  border-radius: 2px;
  box-shadow: 0 14px 32px rgba(13, 13, 13, 0.12);
}

.ehd-address-suggest__list[hidden] {
  display: none !important;
}

.ehd-address-suggest__item {
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
  color: #0d0d0d;
  cursor: pointer;
}

.ehd-address-suggest__item:hover,
.ehd-address-suggest__item:focus {
  background: rgba(196, 165, 116, 0.14);
  outline: none;
}

/* Pac container when Google Places is active */
.pac-container {
  z-index: 10060 !important;
  border-radius: 2px;
  border-color: rgba(13, 13, 13, 0.16);
  font-family: inherit;
}
