/* Axencia.co — Short Form: World-Class Inquiry CTA */

.short-form-section {
  position: relative;
  overflow: hidden;
  padding: 100px 24px 120px;
}

.short-form-bg {
  position: absolute;
  inset: -15%;
  background: 
    radial-gradient(ellipse 70% 50% at 50% 20%, rgba(59, 130, 246, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 50% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 55%),
    radial-gradient(circle at 80% 50%, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.short-form-wrap {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 48px 40px 52px;
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.75), rgba(30, 58, 95, 0.4));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 24px;
  box-shadow: 
    0 24px 64px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 0 80px rgba(59, 130, 246, 0.06);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.short-form-wrap:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 
    0 28px 72px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 100px rgba(59, 130, 246, 0.1);
}

.short-form-header {
  text-align: center;
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.short-form-header .section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(6, 182, 212, 0.06));
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #60a5fa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.short-form-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.25;
}

.short-form-header p {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(148, 163, 184, 0.95);
  max-width: 480px;
  margin: 0 auto;
}

/* Form layout */
.short-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.short-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.short-form-input {
  width: 100%;
  padding: 16px 20px;
  font-size: 1rem;
  font-family: 'Outfit', system-ui, sans-serif;
  color: #e8e8ed;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  outline: none;
}

.short-form-input::placeholder {
  color: rgba(148, 163, 184, 0.6);
}

.short-form-input:hover {
  border-color: rgba(59, 130, 246, 0.35);
  background: rgba(15, 23, 42, 0.7);
}

.short-form-input:focus {
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
  background: rgba(15, 23, 42, 0.8);
}

.short-form-input-full {
  grid-column: 1 / -1;
}

.short-form-input.short-form-input-full {
  min-height: 120px;
  resize: vertical;
  padding-top: 16px;
}

textarea.short-form-input {
  line-height: 1.6;
  vertical-align: top;
}

/* Submit button */
.short-form-submit {
  margin-top: 8px;
  padding: 18px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 14px;
  width: 100%;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Mobile */
@media (max-width: 640px) {
  .short-form-section {
    padding: 80px 16px 100px;
  }

  .short-form-wrap {
    padding: 36px 24px 44px;
    border-radius: 20px;
  }

  .short-form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .short-form-header h2 {
    font-size: 1.5rem;
  }

  .short-form-header p {
    font-size: 0.95rem;
  }

  .short-form-input {
    padding: 14px 18px;
    font-size: 16px; /* prevents iOS zoom on focus */
  }

  .short-form-submit {
    width: 100%;
    max-width: none;
    padding: 16px 24px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .short-form-wrap {
    transition: none;
  }
  .short-form-input {
    transition: border-color 0.2s ease;
  }
}
