/* EVA DIAM private enquiry — gold / black, same tokens as Collection. */

.edn-contact {
  --edn-bg: #070708;
  --edn-gold: #e4c66a;
  --edn-gold-2: #c9a227;
  --edn-text: #f4f1ea;
  --edn-muted: #9a9aa3;
  --edn-sans: Montserrat, system-ui, sans-serif;
  --edn-side: clamp(22px, 2.6vw, 40px);
  --edn-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --edn-line: rgba(201, 162, 39, 0.28);
  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  left: auto;
  right: auto;
  background: var(--edh-bg, var(--edn-bg)) !important;
  color: var(--edh-text, var(--edn-text)) !important;
  font-family: var(--edh-sans, var(--edn-sans));
  padding: clamp(22px, 3vw, 36px) var(--edn-side) clamp(24px, 3vw, 40px) !important;
  box-sizing: border-box !important;
  overflow: hidden;
}

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

.ed-jump {
  display: block;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

body:has(.edn-contact) .entry-header,
body:has(.edn-contact) .page-header,
body:has(.edn-contact) h1.entry-title {
  display: none;
}

.elementor-section:has(.edn-contact),
.elementor-container:has(.edn-contact),
.elementor-element:has(.edn-contact),
.elementor-widget:has(.edn-contact),
.elementor-widget-wrap:has(.edn-contact),
.elementor-widget-container:has(.edn-contact),
.elementor-shortcode:has(.edn-contact),
.e-con:has(.edn-contact),
.e-con-inner:has(.edn-contact),
body:has(.edn-contact) .site,
body:has(.edn-contact) .site-main,
body:has(.edn-contact) #content,
body:has(.edn-contact) .content-area,
body:has(.edn-contact) .page-content,
body:has(.edn-contact) article,
body:has(.edn-contact) .entry-content,
body:has(.edn-contact) .elementor,
body:has(.edn-contact) .elementor-section,
body:has(.edn-contact) .elementor-section-boxed > .elementor-container {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow: visible !important;
}

body.edh-site:has(.edn-contact) .site-main,
body.edh-site:has(.edn-contact) #content,
body.edh-site:has(.edn-contact) .page-content {
  padding-top: 0;
}

.elementor-widget:has(.edn-contact),
.elementor-widget-container:has(.edn-contact),
.elementor-widget-wrap:has(.edn-contact),
.elementor-shortcode:has(.edn-contact) {
  padding: 0 !important;
  margin: 0 !important;
}

.edn-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  padding: 0 0 clamp(22px, 3vw, 34px);
  max-width: 56rem;
}

.edn-head__kicker {
  margin: 0 0 10px;
  font-family: var(--edh-sans, var(--edn-sans));
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--edh-gold-t, var(--edn-gold)) !important;
}

.edn-head__title {
  margin: 0 0 12px;
  font-family: var(--edh-sans, var(--edn-sans));
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--edh-text, var(--edn-text)) !important;
}

.edn-head__text {
  margin: 0 auto;
  max-width: 52ch;
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--edh-muted, var(--edn-muted)) !important;
}

.edn-stage {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
}

.edn-points {
  display: grid;
  gap: 10px;
}

.edn-point {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  text-decoration: none;
  color: inherit;
  background: #101012;
  border: 1px solid var(--edn-line);
}

a.edn-point {
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

a.edn-point:hover,
a.edn-point:focus-visible {
  border-color: var(--edh-gold-t, var(--edn-gold));
  background: #141416;
}

a.edn-point:focus-visible {
  outline: 1px solid var(--edh-gold-t, var(--edn-gold));
  outline-offset: 4px;
}

.edn-point__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--edh-gold-t, var(--edn-gold)) !important;
}

.edn-point__value {
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 500;
  line-height: 1.45;
  color: var(--edh-text, var(--edn-text)) !important;
}

.edn-form {
  margin: 0;
  padding: 0;
  color-scheme: dark;
}

.edn-form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.edn-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 12px;
}

.edn-contact .edn-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 12px;
}

.edn-contact .edn-form__row .edn-field {
  margin: 0;
}

.edn-contact .edn-field > span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--edh-gold-t, var(--edn-gold)) !important;
}

.edn-contact .edn-field input,
.edn-contact .edn-field select,
.edn-contact .edn-field textarea {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  appearance: none;
  -webkit-appearance: none;
  background: #101012 !important;
  border: 1px solid var(--edn-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--edh-text, var(--edn-text)) !important;
  font-family: var(--edh-sans, var(--edn-sans));
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.edn-contact .edn-field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--edh-gold-t, var(--edn-gold)) 50%),
    linear-gradient(135deg, var(--edh-gold-t, var(--edn-gold)) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 36px;
}

.edn-contact .edn-field textarea {
  min-height: 120px;
  resize: vertical;
}

.edn-contact .edn-field input:focus,
.edn-contact .edn-field select:focus,
.edn-contact .edn-field textarea:focus {
  border-color: var(--edh-gold-t, var(--edn-gold)) !important;
  outline: none;
}

.edn-contact .edn-field input::placeholder,
.edn-contact .edn-field textarea::placeholder {
  color: var(--edh-muted, var(--edn-muted));
  opacity: 0.8;
}

.edn-form__end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 8px;
}

.edn-contact .edn-submit {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 12px 22px;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  font-family: var(--edh-sans, var(--edn-sans));
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #070708 !important;
  background: var(--edh-gold, linear-gradient(135deg, #8c6a1a 0%, #c9a227 28%, #f3d57a 52%, #c9a227 78%, #7a5a12 100%)) !important;
  transition: filter 0.25s, transform 0.25s;
}

.edn-contact .edn-submit:hover,
.edn-contact .edn-submit:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.edn-contact .edn-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.edn-form__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--edh-muted, var(--edn-muted)) !important;
}

.edn-form__note.is-ok {
  color: var(--edh-gold-t, var(--edn-gold)) !important;
}

.edn-form__note.is-err {
  color: #e8b4b4 !important;
}

.edn-head__kicker,
.edn-head__title,
.edn-head__text,
.edn-point,
.edn-form {
  opacity: 0;
  transform: translate3d(-42px, 0, 0);
  clip-path: inset(0 110% 0 -8px);
}

.edn-contact.is-in .edn-head__kicker,
.edn-contact.is-in .edn-head__title,
.edn-contact.is-in .edn-head__text,
.edn-contact.is-in .edn-point,
.edn-contact.is-in .edn-form {
  animation: edn-copy-in 900ms var(--edn-ease) forwards;
}

.edn-contact.is-in .edn-head__kicker { animation-delay: 80ms; }
.edn-contact.is-in .edn-head__title { animation-delay: 190ms; }
.edn-contact.is-in .edn-head__text { animation-delay: 320ms; }
.edn-contact.is-in .edn-point:nth-child(1) { animation-delay: 360ms; }
.edn-contact.is-in .edn-point:nth-child(2) { animation-delay: 420ms; }
.edn-contact.is-in .edn-point:nth-child(3) { animation-delay: 480ms; }
.edn-contact.is-in .edn-point:nth-child(n + 4) { animation-delay: 540ms; }
.edn-contact.is-in .edn-form { animation-delay: 480ms; }

@keyframes edn-copy-in {
  to {
    opacity: 1;
    transform: none;
    clip-path: inset(0 -8% 0 -8px);
  }
}

@media (max-width: 900px) {
  .edn-contact {
    padding: 20px 16px 24px !important;
  }

  .edn-head {
    padding: 0 0 16px;
  }

  .edn-head__kicker {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .edn-head__title {
    margin-bottom: 8px;
    font-size: clamp(1.55rem, 8vw, 2.05rem);
  }

  .edn-head__text,
  .edn-point__value,
  .edn-contact .edn-field input,
  .edn-contact .edn-field select,
  .edn-contact .edn-field textarea,
  .edn-form__note {
    font-size: 12px;
    line-height: 1.6;
  }

  .edn-stage {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .edn-form__row {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .edn-head__kicker,
  .edn-head__title,
  .edn-head__text,
  .edn-point,
  .edn-form {
    opacity: 1;
    transform: none;
    clip-path: none;
    animation: none;
  }

  .edn-contact .edn-submit {
    transition: none;
  }
}
