/* =========================================================
   DEK Systems: minimal Contact page
   ========================================================= */

.contact-page {
  min-height: 100vh;
  /*padding: clamp(8.5rem, 13vw, 11rem) 0 clamp(4rem, 8vw, 7rem);*/
  background:
    radial-gradient(circle at 12% 8%, rgb(var(--color-gold-rgb) / 0.10), transparent 28rem),
    #f5f4f0;
}

.contact-page-container {
  padding-right: 2.5rem;
  padding-left: 2.5rem;
}

/*.contact-page-lead {*/
/*  max-width: 620px;*/
/*  margin: 1.5rem 0 0;*/
/*  color: rgb(var(--color-black-rgb) / 0.76);*/
/*  font-family: var(--font-info);*/
/*  font-size: clamp(0.95rem, 1.4vw, 1.08rem);*/
/*  line-height: 1.75;*/
/*}*/

.contact-panel {
  max-width: 1040px;
  margin: 0px auto 0;
  overflow: hidden;
  border: 1px solid rgb(var(--color-blue-rgb) / 0.13);
  border-radius: 20px;
  background: rgb(255 255 255 / 0.88);
  box-shadow:
    0 0 0 1px rgb(var(--color-gold-rgb) / 0.08),
    0 24px 70px rgb(var(--color-black-rgb) / 0.08);
  -webkit-backdrop-filter: blur(16px) saturate(115%);
  backdrop-filter: blur(16px) saturate(115%);
  position: relative;
  z-index: 10;
}

/* Hero contact details */
.contact-hero-details {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem !important;
    
    margin-top: 2rem !important;
    padding-top: 1.3rem;
    
    border-top: 1px solid rgb(var(--color-blue-rgb) / 0.15);
    
    font-size: 0.9rem !important;
    text-transform: lowercase !important;
}

.contact-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 0rem;

    border-radius: 999px;

    white-space: nowrap;

    color: var(--nav-black);
    text-decoration: none;

    transition: .2s ease;
}

.contact-hero-link:hover {
    transform: translateY(-2px);
    color: var(--nav-blue);
}

.contact-hero-link span {
    color: rgb(var(--color-gold-rgb) / .9);
}

.contact-hero-link span:first-of-type {
    margin-right: 10px;
}

.contact-hero-link span:last-of-type {
    margin-left: 5px;
}

/* Form card after removing contact-direct */
.contact-panel {
    max-width: 1040px;
    margin: 0px auto 0;
}

@media (max-width: 991px) {
    .contact-panel {
        margin-top: 0px;
    }
}

.contact-item-label,
.contact-field label {
  display: block;
  margin: 0 0 0.35rem;
  color: rgb(var(--color-black-rgb) / 0.58);
  font-family: var(--font-label);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.contact-form-area {
  padding: 1.5rem;
}

.contact-form-heading {
  margin-bottom: 1rem;
}

.contact-form-heading .product-section-label {
  margin-bottom: 0.6rem;
}

.contact-form-heading h2 {
  margin: 0;
  color: var(--nav-black);
  font-family: var(--font-representation);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-field {
  margin-bottom: 1rem;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgb(var(--color-blue-rgb) / 0.18);
  border-radius: 12px;
  outline: none;
  background: rgb(245 244 240 / 0.72);
  color: var(--nav-black);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-field input {
  min-height: 52px;
  padding: 0.8rem 1rem;
}

.contact-field textarea {
  min-height: 180px;
  padding: 1rem;
  resize: vertical;
  line-height: 1.7;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgb(var(--color-blue-rgb) / 0.85);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgb(var(--color-blue-rgb) / 0.10);
}

.contact-field textarea::placeholder {
  color: rgb(var(--color-black-rgb) / 0.42);
}

.contact-form-actions {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

.contact-form-actions p {
  /*max-width: 38ch;*/
  margin: 0;
  color: rgb(var(--color-black-rgb) / 0.54);
  font-size: 0.75rem;
  line-height: 1.65;
}

.contact-form-actions .homepage-button {
  flex: 0 0 auto;
  border: 0;
}

.contact-form-notice {
  margin-bottom: 1.5rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  font-size: 0.84rem;
  line-height: 1.6;
}

.contact-form-notice-success {
  border: 1px solid rgb(45 106 79 / 0.22);
  background: rgb(45 106 79 / 0.08);
  color: #2d6a4f;
}

.contact-form-notice-error {
  border: 1px solid rgb(200 81 26 / 0.22);
  background: rgb(200 81 26 / 0.08);
  color: #8a3a16;
}

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

@media (max-width: 767px) {
  /*.contact-page {
    padding-top: 7rem;
  }*/

  .contact-page-container {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .contact-form-actions .homepage-button {
    width: 100%;
  }
}
