/* ═══════════════════════════════════════════════════════════════
   ABC REPAIR — contact.css
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────────── */
.contact-hero {
  padding: 140px 56px 60px;
  position: relative;
  z-index: 2;
}

.contact-hero-inner {
  max-width: 860px;
  margin: 0 auto;
}

.contact-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(44px, 5.8vw, 72px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -2.5px;
  color: #fff;
  margin: 16px 0 28px;
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 5px 14px;
  background: rgba(255,255,255,0.03);
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0D8A68;
  box-shadow: 0 0 8px rgba(13,138,104,0.8);
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(13,138,104,0.8); }
  50%       { box-shadow: 0 0 16px rgba(13,138,104,1), 0 0 28px rgba(115,190,158,0.4); }
}

/* ── Layout ────────────────────────────────────────────────────── */
.contact-layout-section {
  padding: 0 56px 100px;
  position: relative;
  z-index: 2;
}

.contact-layout-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

/* ── Form Card ─────────────────────────────────────────────────── */
.contact-form-card {
  padding: 40px 44px;
}

/* Success state */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success svg {
  margin-bottom: 20px;
}

.form-success h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.form-success p {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
}

/* Form rows */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
}

.required {
  color: rgba(200,80,80,0.8);
}

.form-optional {
  color: rgba(255,255,255,0.25);
  font-size: 10px;
}

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: rgba(255,255,255,0.2);
}

.form-input:focus {
  outline: none;
  border-color: rgba(115,190,158,0.5);
  box-shadow: 0 0 0 2px rgba(13,138,104,0.15);
}

.form-input.input-error {
  border-color: rgba(200,60,60,0.6);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='rgba(255,255,255,0.3)' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  background: #0D1B2A;
  color: rgba(255,255,255,0.85);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-error {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(200,70,70,0.9);
  margin-top: 5px;
  min-height: 16px;
}

.form-error-global {
  margin-bottom: 16px;
  font-size: 12px;
}

.form-submit {
  width: 100%;
  padding: 14px 24px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.submit-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* hCaptcha dark override */
.h-captcha {
  margin-top: 4px;
}

/* ── Sidebar ───────────────────────────────────────────────────── */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  padding: 0;
  overflow: hidden;
}

.sidebar-contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  text-decoration: none;
  transition: border-color 150ms ease, background 150ms ease;
}

.sidebar-contact-card:hover {
  background: rgba(115,190,158,0.04);
}

.sidebar-contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(13,138,104,0.1);
  border: 1px solid rgba(13,138,104,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #73BE9E;
  flex-shrink: 0;
}

.sidebar-contact-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.sidebar-contact-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.sidebar-area-card {
  padding: 20px 24px;
}

.sidebar-area-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.sidebar-area-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #73BE9E;
  letter-spacing: 0.5px;
}

.sidebar-area-copy {
  font-size: 14px;
  color: rgba(255,255,255,0.42);
  line-height: 1.7;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .contact-layout-inner {
    grid-template-columns: 1fr;
  }
  .contact-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .sidebar-card:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .contact-hero, .contact-layout-section {
    padding-left: 24px;
    padding-right: 24px;
  }
  .contact-hero { padding-top: 100px; }
  .contact-form-card { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-hero-title { letter-spacing: -1px; }
  .contact-sidebar { grid-template-columns: 1fr; }
}
