/* ══════════════════════════════════════════════════════════════
   CONTACT PAGE — Premium Styles v2
   Executive-grade contact interface with embedded form
   ══════════════════════════════════════════════════════════════ */

/* ─── CONTACT HERO ─── */
.contact-hero {
  position: relative;
  min-height: 44vh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 72px) 0 64px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-card) 100%);
}
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(56,189,248,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56,189,248,.03) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridDrift 40s linear infinite;
}
.contact-hero::after {
  content: '';
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,.05), transparent 55%);
  pointer-events: none;
}
.contact-hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}
.contact-hero-title {
  font: 800 clamp(32px, 4.5vw, 52px)/1.08 var(--ff);
  color: var(--white);
  letter-spacing: -.03em;
  margin-bottom: 16px;
}
.contact-hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan) 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-hero-sub {
  font: 400 15px/1.8 var(--ff);
  color: var(--text);
  max-width: 520px;
  border-left: 2px solid rgba(56,189,248,.3);
  padding-left: 18px;
}

/* ─── Hero stats row ─── */
.contact-hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.contact-hero-stat {
  text-align: left;
}
.contact-hero-stat-value {
  font: 700 22px/1 var(--mono);
  color: var(--cyan);
  letter-spacing: -0.5px;
}
.contact-hero-stat-label {
  font: 500 9px/1.3 var(--mono);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 6px;
}

/* ─── CONTACT SECTION ─── */
.contact-section {
  padding: 72px 0 120px;
  background: var(--bg);
  position: relative;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: 10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(129,140,248,.025), transparent 60%);
  pointer-events: none;
}

/* ─── CONTACT GRID ─── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: start;
}

/* ─── INFO SIDE ─── */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Section sub-header */
.contact-info-header {
  margin-bottom: 8px;
}
.contact-info-header-label {
  font: 600 9px/1 var(--mono);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: .7;
}
.contact-info-header-title {
  font: 600 16px/1.3 var(--ff);
  color: var(--white);
  margin-top: 6px;
}

.contact-info-card {
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 20px;
  backdrop-filter: blur(12px);
  transition: all .35s cubic-bezier(.25,.46,.45,.94);
  position: relative;
  cursor: pointer;
}
.contact-info-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: radial-gradient(circle at 80% 50%, rgba(56,189,248,.04), transparent 50%);
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.contact-info-card:hover::after { opacity: 1 }
.contact-info-card:hover {
  border-color: rgba(56,189,248,.2);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,0,0,.25), 0 0 20px rgba(56,189,248,.03);
}

/* Card top row — icon + action */
.contact-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.contact-info-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
  position: relative;
}
.contact-info-card:hover .contact-info-icon {
  background: rgba(56,189,248,.15);
  box-shadow: 0 0 16px rgba(56,189,248,.12);
}
.contact-info-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Action arrow */
.contact-card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
  opacity: 0;
}
.contact-info-card:hover .contact-card-arrow {
  opacity: 1;
  border-color: rgba(56,189,248,.3);
  background: rgba(56,189,248,.06);
}
.contact-card-arrow svg {
  width: 12px;
  height: 12px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-info-label {
  font: 600 9px/1 var(--mono);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 5px;
  transition: letter-spacing .3s;
}
.contact-info-card:hover .contact-info-label { letter-spacing: 3px }
.contact-info-value {
  font: 600 15px/1.4 var(--ff);
  color: var(--white);
}
.contact-info-desc {
  font: 400 11.5px/1.6 var(--ff);
  color: var(--text-dim);
  margin-top: 4px;
}

/* ─── Divider ─── */
.contact-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 4px 0;
}

/* ─── Quick links ─── */
.contact-quick-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-quick-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 12px/1 var(--ff);
  color: var(--text-dim);
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all .3s cubic-bezier(.25,.46,.45,.94);
  position: relative;
  overflow: hidden;
}
.contact-quick-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--cyan);
  opacity: 0;
  transition: opacity .3s;
}
.contact-quick-link:hover::before { opacity: 1 }
.contact-quick-link:hover {
  color: var(--white);
  border-color: rgba(56,189,248,.2);
  background: rgba(56,189,248,.04);
  transform: translateX(4px);
}
.contact-quick-link svg {
  width: 14px;
  height: 14px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ─── FORM SIDE — MONDAY.COM EMBED ─── */
.contact-form-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}

/* Secure portal header */
.contact-form-header {
  padding: 0 0 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.contact-form-title {
  font: 700 20px/1.3 var(--ff);
  color: var(--white);
  margin: 0;
}
.contact-form-desc {
  font: 400 12.5px/1.6 var(--ff);
  color: var(--text-dim);
  margin-top: 4px;
}

/* Response time badge */
.contact-response-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(56,189,248,.15);
  border-radius: 20px;
  background: rgba(56,189,248,.04);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-response-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(52,211,153,.4); }
  50% { opacity: .7; box-shadow: 0 0 0 4px rgba(52,211,153,0); }
}
.contact-response-text {
  font: 500 9px/1 var(--mono);
  color: var(--cyan);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Monday.com iframe wrapper */
.monday-form-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  background: #060a10;
}
.monday-form-wrap iframe {
  display: block;
  width: 100%;
  height: 750px;
  border: 0;
  filter: invert(1) hue-rotate(180deg);
  mix-blend-mode: lighten;
}

/* Bottom frame */
.contact-form-footer {
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-form-footer-icon {
  width: 14px;
  height: 14px;
  stroke: var(--text-dim);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  opacity: .6;
}
.contact-form-footer-text {
  font: 400 11px/1.4 var(--mono);
  color: var(--text-dim);
  letter-spacing: .3px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-hero-stats {
    gap: 28px;
  }
}
@media (max-width: 640px) {
  .contact-hero {
    min-height: 32vh;
    padding-bottom: 40px;
  }
  .contact-hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  .contact-form-header {
    flex-direction: column;
    gap: 10px;
  }
  .monday-form-wrap,
  .monday-form-wrap iframe {
    min-height: 480px;
  }
  .contact-form-footer {
    padding: 12px 0;
  }
}
