/* ==========================================================================
   MODERN BRUTALIST CONTACT SECTION — EXCELIUM
   Sharp aesthetic with footer-like grid lines, crosshairs (+), and black shadows
   ========================================================================== */

.ek-contact-section {
  position: relative;
  background-color: #09090b;
  color: #ffffff;
  padding: 100px 0 115px 0;
  font-family: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: inset 0 25px 50px -20px rgba(0, 0, 0, 0.9), inset 0 -25px 50px -20px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

/* Subtle architectural grid pattern matching brutalist theme */
.ek-contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center center;
  pointer-events: none;
  z-index: 1;
}

.ek-contact-container {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Outer Box with Sharp Borders and Corner Crosshairs (+) ─── */
.ek-contact-frame {
  position: relative;
  background-color: #111114;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1px; /* Sharp corners */
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 30px rgba(0, 0, 0, 0.5);
}

/* Crosshair '+' marks on the 4 corners */
.ek-crosshair {
  position: absolute;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 5;
}

.ek-crosshair-tl {
  top: -9px;
  left: -9px;
}

.ek-crosshair-tr {
  top: -9px;
  right: -9px;
}

.ek-crosshair-bl {
  bottom: -9px;
  left: -9px;
}

.ek-crosshair-br {
  bottom: -9px;
  right: -9px;
}

/* ─── Split Grid: Left Info & Right Form ─── */
.ek-contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
}

/* ─── Left Column: Info ─── */
.ek-contact-left {
  padding: 56px 48px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
}

.ek-contact-heading {
  font-size: clamp(34px, 3.8vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.025em;
  margin: 0 0 16px 0;
}

.ek-contact-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #a1a1aa;
  margin: 0 0 36px 0;
  max-width: 520px;
}

/* Info Cards Subgrid */
.ek-contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: auto;
}

.ek-contact-card {
  background-color: #16161a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1px; /* Sharp */
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
  color: inherit !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.ek-contact-card:hover {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.ek-contact-card-wide {
  grid-column: 1 / -1;
}

.ek-contact-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 1px; /* Sharp */
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  flex-shrink: 0;
}

.ek-contact-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ek-contact-meta-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.25;
}

.ek-contact-meta-val {
  font-size: 12.5px;
  color: #a1a1aa;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ─── Right Column: Form ─── */
.ek-contact-right {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ek-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.ek-contact-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ek-contact-group label {
  font-size: 13.5px;
  font-weight: 500;
  color: #f4f4f5;
  margin: 0;
}

.ek-contact-input,
.ek-contact-textarea {
  width: 100%;
  background-color: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1px; /* Sharp */
  padding: 12px 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.2s ease;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.ek-contact-input:focus,
.ek-contact-textarea:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 0 1px #ffffff, inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

.ek-contact-input::placeholder,
.ek-contact-textarea::placeholder {
  color: #52525b;
}

.ek-contact-textarea {
  resize: vertical;
  min-height: 100px;
}

.ek-contact-btn {
  width: 100%;
  padding: 13px 24px;
  background-color: #e4e4e7;
  color: #09090b !important;
  border: 1px solid #e4e4e7;
  border-radius: 1px; /* Sharp */
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 4px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.ek-contact-btn:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.ek-contact-btn:active {
  transform: translateY(0);
}

.ek-contact-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ─── Feedback Alert ─── */
.ek-contact-alert {
  padding: 12px 14px;
  border-radius: 1px;
  font-size: 13.5px;
  line-height: 1.5;
  border: 1px solid transparent;
}

.ek-contact-alert-success {
  background-color: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.ek-contact-alert-error {
  background-color: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* ─── Responsive ─── */
@media (max-width: 991px) {
  .ek-contact-grid {
    grid-template-columns: 1fr;
  }

  .ek-contact-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 44px 32px;
  }

  .ek-contact-right {
    padding: 44px 32px;
  }
}

@media (max-width: 600px) {
  .ek-contact-cards {
    grid-template-columns: 1fr;
  }

  .ek-contact-card-wide {
    grid-column: auto;
  }

  .ek-contact-left {
    padding: 36px 20px;
  }

  .ek-contact-right {
    padding: 36px 20px;
  }
}
