/* ── PAGE SHELL ── */
.page-wrap {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 56px) 0 80px;
}

.git-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}

/* ── LEFT COLUMN ── */
.git-info .section-title {
  margin-bottom: 16px;
}

.git-desc {
  font-size: 15px;
  line-height: 1.8;
  color: var(--light-muted);
  margin-bottom: 32px;
}

/* Contact chips */
.contact-chips {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.contact-chip {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition:
    border-color var(--transition),
    transform var(--transition);
}
.contact-chip:hover {
  border-color: rgba(255, 107, 43, 0.35);
  transform: translateX(4px);
}
.chip-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--orange-pale);
  border: 1px solid rgba(255, 107, 43, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chip-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.6;
}
.chip-text {
}
.chip-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 2px;
}
.chip-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

/* Why hire me perks */
.perks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--light-muted);
}
.perk::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* ── RIGHT COLUMN — FORM CARD ── */
.form-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.form-card-header {
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form-card-header h3 {
  font-size: 17px;
  font-weight: 800;
}
.form-card-header p {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.open-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  background: var(--orange-pale);
  border: 1px solid rgba(255, 107, 43, 0.2);
  padding: 7px 14px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  flex-shrink: 0;
}
.open-tab-btn:hover {
  background: var(--orange);
  color: #fff;
}
.open-tab-btn svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
}

/* Iframe wrapper */
.iframe-wrap {
  position: relative;
  width: 100%;
  height: 680px;
  background: var(--dark3);
}

.iframe-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 1;
  background: var(--dark3);
  transition: opacity 0.4s ease;
}
.iframe-loading.hidden {
  opacity: 0;
  pointer-events: none;
}
.spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--orange);
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.iframe-loading p {
  font-size: 13px;
  color: var(--muted);
}

.form-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  position: relative;
  z-index: 2;
  background: transparent;
}

/* Fallback CTA — shown if iframe is blocked */
.form-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  text-align: center;
  gap: 16px;
}
.fallback-icon {
  font-size: 40px;
}
.fallback-title {
  font-size: 18px;
  font-weight: 800;
}
.fallback-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 260px;
}

/* ── MOBILE ── */
@media (max-width: 860px) {
  .git-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-card {
    position: static;
  }
  .iframe-wrap {
    height: 620px;
  }
}
@media (max-width: 520px) {
  .form-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .iframe-wrap {
    height: 560px;
  }
}
