/* DEKK contact page styles */
.dekk-contact-hero {
  position: relative;
  min-height: clamp(560px, 76vh, 720px);
  display: grid;
  align-items: end;
  isolation: isolate;
  color: var(--dekk-white);
}

.dekk-contact-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--dekk-ink);
}

.dekk-contact-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  filter: saturate(0.82) contrast(1.04);
}

.dekk-contact-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 16, 13, 0.9), rgba(17, 16, 13, 0.6) 48%, rgba(17, 16, 13, 0.2)),
    linear-gradient(0deg, rgba(17, 16, 13, 0.7), transparent 44%);
}

.dekk-contact-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.5fr);
  gap: clamp(24px, 5vw, 68px);
  align-items: end;
  padding: clamp(86px, 12vw, 132px) 0 clamp(42px, 7vw, 78px);
}

.dekk-contact-hero h1 {
  max-width: 820px;
  margin: 0;
  color: var(--dekk-white);
  font-size: clamp(3.1rem, 7.5vw, 7.2rem);
  line-height: 0.9;
  font-weight: 950;
  letter-spacing: 0;
}

.dekk-contact-hero .dekk-kicker {
  color: var(--dekk-gold);
}

.dekk-contact-hero p:not(.dekk-kicker) {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--dekk-text-lg);
  line-height: 1.58;
}

.dekk-contact-panel {
  display: grid;
  gap: 12px;
}

.dekk-contact-panel-card {
  min-height: 122px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--dekk-radius);
  background: rgba(248, 246, 239, 0.12);
  backdrop-filter: blur(16px);
}

.dekk-contact-panel-card b,
.dekk-contact-panel-card a {
  color: var(--dekk-white);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.1;
  font-weight: 900;
  text-decoration: none;
}

.dekk-contact-panel-card span {
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--dekk-text-sm);
  line-height: 1.42;
}

.dekk-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.dekk-contact-info {
  position: sticky;
  top: 112px;
}

.dekk-contact-details {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.dekk-contact-detail {
  min-height: 118px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(43, 37, 38, 0.1);
  border-radius: var(--dekk-radius);
  background: var(--dekk-white);
}

.dekk-contact-detail:nth-child(1) {
  color: var(--dekk-white);
  background: var(--dekk-burgundy);
}

.dekk-contact-detail b,
.dekk-contact-detail a {
  color: inherit;
  font-size: var(--dekk-text-lg);
  line-height: 1.15;
  font-weight: 900;
  text-decoration: none;
}

.dekk-contact-detail span {
  color: inherit;
  opacity: 0.74;
  line-height: 1.45;
}

.dekk-contact-form-card {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(43, 37, 38, 0.1);
  border-radius: var(--dekk-radius);
  background: var(--dekk-white);
  box-shadow: 0 1px 0 rgba(17, 16, 13, 0.06);
}

.dekk-contact-form-card h2 {
  margin: 0 0 22px;
  color: var(--dekk-ink);
  font-size: clamp(1.55rem, 2.5vw, 2.4rem);
  line-height: 1.08;
  font-weight: 900;
}

.dekk-contact-form-card .gform_wrapper.gravity-theme input[type="text"],
.dekk-contact-form-card .gform_wrapper.gravity-theme input[type="email"],
.dekk-contact-form-card .gform_wrapper.gravity-theme input[type="tel"],
.dekk-contact-form-card .gform_wrapper.gravity-theme textarea {
  min-height: 48px;
  border: 1px solid rgba(43, 37, 38, 0.16);
  border-radius: var(--dekk-radius);
  background: var(--dekk-paper);
  color: var(--dekk-ink);
  font: inherit;
}

.dekk-contact-form-card .gform_wrapper.gravity-theme textarea {
  min-height: 150px;
}

.dekk-contact-form-card .gform_wrapper.gravity-theme .gfield_label,
.dekk-contact-form-card .gform_wrapper.gravity-theme .gform-field-label {
  color: var(--dekk-ink);
  font-size: var(--dekk-text-sm);
  font-weight: 850;
}

.dekk-contact-form-card .gform_wrapper.gravity-theme .gfield_required {
  color: var(--dekk-burgundy);
}

.dekk-contact-form-card .gfield_required_text {
  display: none !important;
}

.dekk-contact-form-card .gfield_contains_required > .gfield_label::after {
  content: " *";
  color: var(--dekk-burgundy);
}

.dekk-contact-form-card .gform_wrapper.gravity-theme .gform_button {
  min-height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--dekk-radius);
  color: var(--dekk-white);
  background: var(--dekk-burgundy);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.dekk-contact-form-card .gform_wrapper.gravity-theme .gform_button:hover,
.dekk-contact-form-card .gform_wrapper.gravity-theme .gform_button:focus-visible {
  background: #74112d;
}

.dekk-map-band {
  background: var(--dekk-ink);
  color: var(--dekk-white);
}

.dekk-map-band .dekk-section-title,
.dekk-map-band .dekk-kicker {
  color: var(--dekk-white);
}

.dekk-map-band .dekk-lead {
  color: rgba(255, 255, 255, 0.76);
}

.dekk-map-frame {
  height: clamp(360px, 48vw, 560px);
  margin-top: 34px;
  border-radius: var(--dekk-radius);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.dekk-map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

@media (max-width: 980px) {
  .dekk-contact-hero-inner,
  .dekk-contact-layout {
    grid-template-columns: 1fr;
  }

  .dekk-contact-info {
    position: static;
  }
}

@media (max-width: 620px) {
  .dekk-contact-hero {
    min-height: 720px;
  }

  .dekk-contact-form-card {
    padding: 20px;
  }
}
