/* ============================================================
   VOLUM TECHNOLOGIES — Contact Section & Map
   ============================================================ */

/* ── CONTACT ── */
.contact {
  background: #020507;
  position: relative;
}
.contact::before {
  content: ''; position: absolute;
  left: 50%; top: 0; transform: translateX(-50%);
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(0,152,253,0.35));
}

.contact-wrap {
  max-width: 980px; margin: 0 auto;
}

.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 4rem; align-items: stretch;
}

.contact-left {
  display: flex; flex-direction: column; gap: 1.5rem;
}

.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }

.c-item { display: flex; align-items: flex-start; gap: 1rem; }

.c-icon {
  width: 40px; height: 40px; border-radius: 5px;
  background: rgba(0,152,253,0.07);
  border: 1px solid rgba(0,152,253,0.15);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.c-icon svg {
  width: 17px; height: 17px; stroke: var(--primary);
  fill: none; stroke-width: 1.5; stroke-linecap: round;
}
.c-label {
  font-size: 0.68rem; font-weight: 400; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 0.3rem;
}
.c-val {
  font-size: 0.88rem; font-weight: 300;
  color: rgba(255,255,255,0.65);
}
.c-val a {
  color: inherit; text-decoration: none; transition: color 0.2s;
}
.c-val a:hover { color: var(--primary); }

/* ── CONTACT FORM ── */
.contact-form {
  display: flex; flex-direction: column; gap: 0.875rem;
  align-self: stretch;
}

.form-grow { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.form-grow textarea { flex: 1; height: auto; min-height: 118px; }

.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 3px; padding: 0.85rem 1rem;
  font-family: var(--font); font-size: 0.855rem; font-weight: 300;
  color: var(--white); outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
  resize: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.22); }
.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(0,152,253,0.38);
  background: rgba(0,152,253,0.025);
  box-shadow: 0 0 0 3px rgba(0,152,253,0.07);
}
.form-field input.error,
.form-field textarea.error {
  border-color: rgba(255,72,143,0.5);
  background: rgba(255,72,143,0.04);
  box-shadow: 0 0 0 3px rgba(255,72,143,0.07);
}
.form-field-error {
  display: none;
  font-size: 0.72rem; font-weight: 400;
  color: rgba(255,72,143,0.85);
  margin-top: 0.3rem; padding-left: 0.25rem;
}
.form-field-error.visible { display: block; }
.form-field textarea { height: 118px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; }

.form-submit {
  background: var(--primary); color: #000;
  border: none; padding: 0.875rem 1.75rem; border-radius: 3px;
  font-family: var(--font); font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.05em; cursor: pointer;
  transition: all 0.3s; align-self: flex-start;
}
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,152,253,0.38);
}

/* ── MAP ── */
.map-wrap {
  flex: 1;
  min-height: 0;
}

.map-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,152,253,0.15);
  box-shadow: 0 0 40px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(0,152,253,0.08);
}

.map-container iframe {
  width: 100%; height: 100%;
  border: none; display: block;
  filter: invert(90%) hue-rotate(180deg) saturate(0.55) brightness(0.88);
}

/* Brand-color overlay on top of the map */
.map-overlay {
  position: absolute; inset: 0;
  background: rgba(0,152,253,0.055);
  mix-blend-mode: color;
  pointer-events: none;
  z-index: 1;
}

/* "Open in Google Maps" button */
.map-open-btn {
  position: absolute; bottom: 1rem; right: 1rem; z-index: 2;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 0.9rem;
  background: rgba(2,4,7,0.82);
  border: 1px solid rgba(0,152,253,0.28);
  border-radius: 4px;
  color: var(--primary);
  font-family: var(--font); font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.04em; text-decoration: none;
  backdrop-filter: blur(12px);
  transition: background 0.22s, box-shadow 0.22s, border-color 0.22s;
}
.map-open-btn svg {
  width: 13px; height: 13px; stroke: var(--primary);
  fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}
.map-open-btn:hover {
  background: rgba(0,152,253,0.12);
  border-color: rgba(0,152,253,0.5);
  box-shadow: 0 4px 20px rgba(0,152,253,0.2);
}
